creating instance ip using a subnet-uuid

Bug #1369841 reported by Babu Shanmugam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenContrail
Fix Committed
Undecided
Babu Shanmugam

Bug Description

Right now, the instance IP can not be created using a subnet uuid.
When port-create is requested with '--fixed-ip subnet-id=' option, the vnc_openstack module allocates an IP from the subnet and creates an instance IP with that object. So, if port-create with '--fixed-ip, subnet-id=<subnet-uuid>,ip_address=<ip-address>' where 'ip-address' does not belong to 'subnet-uuid' instead of throwing an error it allocates an instance IP object with instance-ip-addres='ip-address'.

Tags: config
Babu Shanmugam (anbu-p)
Changed in opencontrail:
assignee: nobody → Babu Shanmugam (anbu-p)
status: New → In Progress
Revision history for this message
Babu Shanmugam (anbu-p) wrote :
Changed in opencontrail:
status: In Progress → Fix Committed
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/3606
Committed: http://github.org/Juniper/contrail-controller/commit/a269b011d91415a60deb19146e6c7f76f4ea5782
Submitter: Zuul
Branch: R1.10

commit a269b011d91415a60deb19146e6c7f76f4ea5782
Author: anbu <email address hidden>
Date: Mon Sep 15 12:56:38 2014 +0000

Fix to create instance ip from subnet-uuid.
Also modified the port_create function in vnc_opentstack to use this fix

Backported from the master branch

Closes-bug: #1369841

Change-Id: Id19efca8e0061a7564673b9e27ec3ba48172b00f

tags: added: config
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.