Skip to content

Commit

Permalink
Merge "Specify v4 as family if v4 address is requested" into R3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Oct 31, 2016
2 parents a5590ff + 4ffe36a commit d414e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/schema-transformer/config_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,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 d414e34

Please sign in to comment.