Reviewed: https://review.opendev.org/666375 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=dc80fc9fe7836840d25eac16c4f8013cda55acfa Submitter: Zuul Branch: master
commit dc80fc9fe7836840d25eac16c4f8013cda55acfa Author: Rodolfo Alonso Hernandez <email address hidden> Date: Wed Jun 19 15:54:22 2019 +0000
[OVS] Network segmentation ID change not allowed if multisegments
If a network has several segments, the provider network segmentation ID cannot be changed. This is defined in the feature spec [1].
In the case of having a multisegment network, the OVS agent RPC call "get_network_details" will return the following value:
{ "network": { "updated_at": "2019-02-19T13:25:15Z", "revision_number": 5, "id": "ba973781-065b-4c69-9f07-a5c4f9a3b754", ... "segments": [{ "provider:network_type": "vxlan", "provider:physical_network": null, "provider:segmentation_id": 10041 }, { "provider:network_type": "vxlan", "provider:physical_network": null, "provider:segmentation_id": 10066 }], ... }
The provider network information will be contained inside the "segments" list, instead of being container in the parent "network" dictionary.
Closes-Bug: #1832745
[1]https://opendev.org/openstack/neutron-specs/src/branch/master/specs/stein/change-segmentation-id-vlan-provider-network.rst
Change-Id: I4fa37519bbf91e93ebd2f0e46e4d14edd40728fd
Reviewed: https:/ /review. opendev. org/666375 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=dc80fc9fe78 36840d25eac16c4 f8013cda55acfa
Committed: https:/
Submitter: Zuul
Branch: master
commit dc80fc9fe783684 0d25eac16c4f801 3cda55acfa
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Jun 19 15:54:22 2019 +0000
[OVS] Network segmentation ID change not allowed if multisegments
If a network has several segments, the provider network segmentation ID
cannot be changed. This is defined in the feature spec [1].
In the case of having a multisegment network, the OVS agent RPC call network_ details" will return the following value:
"get_
{
"updated_ at": "2019-02- 19T13:25: 15Z",
"revision_ number" : 5, 065b-4c69- 9f07-a5c4f9a3b7 54",
"segments" : [{
"provider: network_ type": "vxlan",
"provider: physical_ network" : null,
"provider: segmentation_ id": 10041
"provider: network_ type": "vxlan",
"provider: physical_ network" : null,
"provider: segmentation_ id": 10066
"network": {
"id": "ba973781-
...
},
{
}],
...
}
The provider network information will be contained inside the "segments"
list, instead of being container in the parent "network" dictionary.
Closes-Bug: #1832745
[1]https:/ /opendev. org/openstack/ neutron- specs/src/ branch/ master/ specs/stein/ change- segmentation- id-vlan- provider- network. rst
Change-Id: I4fa37519bbf91e 93ebd2f0e46e4d1 4edd40728fd