Update CIF creation request body
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vmware-nsx |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
https:/
Dear bug triager. This bug was created since a commit was marked with DOCIMPACT.
Your project "openstack/
commit 47bb0a8a6c56f6c
Author: Akash Gangil <email address hidden>
Date: Fri Jul 22 07:50:15 2016 -0700
Update CIF creation request body
The CIF API got updated in new v3 builds. Here is what changed:
1. The information like ip, mac, vlan, host_cif_id which was
intially opaque and just provided as a key value pair inside the
context body, now have explicit properties.
2. The context now contains container_
explicit properties. It still has a key_values array but no information
is needed to be passed in that. That's more reserved for future use
cases.
3. The host_vif_id property name is updated to container_
4. The vlan_id property name is updated to vlan_tag.
5. The IP and mac address of the port are moved out of the context.
This was previously being duplicated as we pass that information in
address bindings already.
Here is the sample request body.
{
"
"attachment": {
"id": "test-2",
"context": {
}
},
"
"
"
{
}
],
}
This patch makes the plugin send the expected request body to the
backend.
Also this patch updates default argument in the create_port and
update_port method from parent_name to parent_vif_id
DocImpact
Change-Id: Icf9109839284df
Changed in vmware-nsx: | |
status: | New → Fix Committed |
status: | Fix Committed → Fix Released |