Uploaded image for project: 'honeycomb'
  1. honeycomb
  2. HONEYCOMB-267

Remove a bridge domain with interfaces assigned

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 17.01
    • None
    • HC VPP plugin
    • None

      1. create a bridge domain:
      PUT /restconf/config/v3po:vpp/bridge-domains
      {"bridge-domains": {"bridge-domain": [{*"name": "bd-01"*}]}}

      2. assign an interface to it:
      "PUT /restconf/config/ietf-interfaces:interfaces
      {"interfaces": {"interface": [{"name": "GigabitEthernet0/8/0", "v3po:l2": {*"bridge-domain": "bd-01"*}, "enabled": false, "type": "iana-if-type:ethernetCsmacd"}]}}

      3. remove the bridge domain:
      PUT /restconf/config/v3po:vpp/bridge-domains
      {"bridge-domains": {"bridge-domain": []}}

      After step 3 the bridge domain assignment remains in v3po:l2 node of interface config. This does not reflect operational data, and may also interfere with further bridge domain use.

      I suggest either making it impossible to remove BDs with interfaces assigned, or cleaning up the assignments as part of the BD delete operation.

            jsrnicek_cisco Jan Srnicek
            selias Samuel Eliáš
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: