Uploaded image for project: 'genius'
  1. genius
  2. GENIUS-32

Create interface via IFM (REST API) generates table=0 entry ONLY IF interface name follows expected format

    XMLWordPrintable

Details

    • Improvement
    • Status: Confirmed
    • Resolution: Unresolved
    • (unspecified)
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    Description

      Creating an interface via IFM (REST API) by:
      POST http://localhost:8181/restconf/config/ietf-interfaces:interfaces/

      It properly creates the OF port via OVSDB in bridge if it does not exist, BUT it creates the new table=0 entry ONLY IF interface name follows a format like: "tun666b999c7a4"

      { "interface": [

      { "name": "tun666b999c7a4", "type": "iana-if-type:tunnel", "odl-interface:tunnel-interface-type": "odl-interface:tunnel-type-gre", "odl-interface:datapath-node-identifier": "75356950704695", "odl-interface:tunnel-source": "172.0.22.15", "odl-interface:tunnel-destination": "192.168.3.145", "enabled": true }

      ]
      }

      It does not create the table=0 entry if:

      { "interface": [

      { "name": "gretesting", "type": "iana-if-type:tunnel", "odl-interface:tunnel-interface-type": "odl-interface:tunnel-type-gre", "odl-interface:datapath-node-identifier": "75356950704695", "odl-interface:tunnel-source": "172.0.22.15", "odl-interface:tunnel-destination": "192.168.3.145", "enabled": true }

      ]
      }

      Attachments

        # Subject Branch Project Status CR V

        Activity

          People

            Karthika_rp Karthika Panneer
            maria.merida@ericsson.com Maria Merida
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: