Skip to content

Commit

Permalink
Merge "Specify v4 as family if v4 address is requested"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Oct 28, 2016
2 parents 771bc0f + cee874e commit a638f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/schema-transformer/config_db.py
Expand Up @@ -567,7 +567,7 @@ def allocate_service_chain_ip(self, sc_fq_name):
return v4_address, v6_address
try:
v4_address = self._vnc_lib.virtual_network_ip_alloc(
self.obj, count=1)[0]
self.obj, count=1, family='v4')[0]
except (NoIdError, RefsExistError) as e:
self._logger.error(
"Error while allocating ipv4 in network %s: %s" % (self.name,
Expand Down

0 comments on commit a638f7c

Please sign in to comment.