Skip to content

Commit

Permalink
ST: Configure Service Instances routes in primary RI of left vn/SC
Browse files Browse the repository at this point in the history
This enhancement will eliminate the case of duplicate routes getting populated in routers.

Change-Id: Ib79032841004444160c9e4766588ae749a05147a
Closes-Bug: #1554175
  • Loading branch information
sbalineni committed Mar 17, 2016
1 parent fa4dc42 commit 4c1fe2a
Show file tree
Hide file tree
Showing 5 changed files with 169 additions and 212 deletions.
2 changes: 1 addition & 1 deletion src/config/common/tests/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ def _create_service(self, vn_list, si_name, auto_policy, **kwargs):
service_template.add_service_appliance_set(sa_set)
self._vnc_lib.service_template_create(service_template)
scale_out = ServiceScaleOutType()
if kwargs.get('service_mode') == 'in-network':
if kwargs.get('service_mode') in ['in-network', 'in-network-nat']:
if_list = [ServiceInstanceInterfaceType(virtual_network=vn)
for _, vn in vn_list]
si_props = ServiceInstanceType(auto_policy=auto_policy,
Expand Down

0 comments on commit 4c1fe2a

Please sign in to comment.