Merge "NSXv3: Fix allowed address pairs switching profile"
This commit is contained in:
commit
a1e38ed7cc
|
@ -183,6 +183,7 @@ class TestSwitchingProfileTestCase(nsxlib_testcase.NsxClientTestCase):
|
||||||
'display_name': 'plugin-mac-learning',
|
'display_name': 'plugin-mac-learning',
|
||||||
'description': 'mac-learning-for-plugin',
|
'description': 'mac-learning-for-plugin',
|
||||||
'tags': tags,
|
'tags': tags,
|
||||||
|
'mac_change_allowed': True,
|
||||||
}, sort_keys=True))
|
}, sort_keys=True))
|
||||||
|
|
||||||
def test_find_by_display_name(self):
|
def test_find_by_display_name(self):
|
||||||
|
|
|
@ -160,7 +160,8 @@ class SwitchingProfile(AbstractRESTResource):
|
||||||
display_name=display_name,
|
display_name=display_name,
|
||||||
description=description,
|
description=description,
|
||||||
tags=tags or [],
|
tags=tags or [],
|
||||||
mac_learning=mac_learning)
|
mac_learning=mac_learning,
|
||||||
|
mac_change_allowed=True)
|
||||||
|
|
||||||
def create_port_mirror_profile(self, display_name, description,
|
def create_port_mirror_profile(self, display_name, description,
|
||||||
direction, destinations, tags=None):
|
direction, destinations, tags=None):
|
||||||
|
|
Loading…
Reference in New Issue