Skip to content

Commit

Permalink
during bgp router creation use mgmt ip instead of tunnel ip in case o…
Browse files Browse the repository at this point in the history
…f single interface

enable firewall testcase to vcenter sanity

Change-Id: I0d074c5542be72442e138b304b177c40f1828f72
Closes-Bug: #1786221
  • Loading branch information
aswanikumar90 committed Aug 10, 2018
1 parent a47faa4 commit f546e57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fixtures/physical_router_fixture.py
Expand Up @@ -58,7 +58,7 @@ def __init__(self, *args, **kwargs):
def create_bgp_router(self):
bgp_router = vnc_api_test.BgpRouter(self.name, parent_obj=self._get_ip_fabric_ri_obj())
params = vnc_api_test.BgpRouterParams()
params.address = self.tunnel_ip
params.address = self.tunnel_ip or self.mgmt_ip
params.address_families = vnc_api_test.AddressFamilies(['route-target',
'inet-vpn', 'e-vpn', 'inet6-vpn'])
params.autonomous_system = int(self.asn)
Expand Down
2 changes: 1 addition & 1 deletion serial_scripts/firewall/test_fw.py
Expand Up @@ -128,7 +128,7 @@ def _create_objects(self, SCOPE1='local', SCOPE2='global'):

assert self.check_vms_booted(self.vms.itervalues(), do_assert=False)

@test.attr(type=['sanity'])
@test.attr(type=['sanity', 'vcenter'])
@preposttest_wrapper
def test_global_scope(self):
'''
Expand Down

0 comments on commit f546e57

Please sign in to comment.