Comment 5 for bug 1832745

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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