Merge "NSXv3: Fix MAC Learning Profile POST API"

This commit is contained in:
Jenkins 2016-10-06 06:55:48 +00:00 committed by Gerrit Code Review
commit 97916ebf85
2 changed files with 1 additions and 3 deletions

View File

@ -160,8 +160,7 @@ class SwitchingProfile(AbstractRESTResource):
display_name=display_name,
description=description,
tags=tags or [],
mac_learning=mac_learning,
source_mac_change_allowed=True)
mac_learning=mac_learning)
def create_port_mirror_profile(self, display_name, description,
direction, destinations, tags=None):

View File

@ -182,7 +182,6 @@ class TestSwitchingProfileTestCase(nsxlib_testcase.NsxClientTestCase):
'display_name': 'plugin-mac-learning',
'description': 'mac-learning-for-plugin',
'tags': tags,
'source_mac_change_allowed': True,
}, sort_keys=True))
def test_find_by_display_name(self):