Merge "Fixes symmetrical for vnffg update"
This commit is contained in:
commit
3e31720ed6
tackerclient
@ -170,7 +170,9 @@ class UpdateVNFFG(tackerV10.UpdateCommand):
|
||||
help=_('List of logical VNFD name to VNF instance name mapping. '
|
||||
'Example: VNF1:my_vnf1,VNF2:my_vnf2'))
|
||||
parser.add_argument(
|
||||
'--symmetrical', metavar='{True,False}',
|
||||
'--symmetrical',
|
||||
action='store_true',
|
||||
default=False,
|
||||
help=_('Should a reverse path be created for the NFP'))
|
||||
|
||||
def args2body(self, parsed_args):
|
||||
|
@ -98,7 +98,8 @@ class CLITestV10VmVNFFGJSON(test_cli10.CLITestV10Base):
|
||||
value = 'new-value'
|
||||
self._test_update_resource(self._RESOURCE, cmd, my_id,
|
||||
[my_id, '--%s' % key, value],
|
||||
{key: value}, get_client_called_count=2)
|
||||
{'symmetrical': False, key: value},
|
||||
get_client_called_count=2)
|
||||
|
||||
def test_delete_vnffg(self):
|
||||
cmd = vnffg.DeleteVNFFG(test_cli10.MyApp(sys.stdout), None)
|
||||
|
Loading…
x
Reference in New Issue
Block a user