Details
-
Improvement
-
Status: Confirmed
-
Resolution: Unresolved
-
(unspecified)
-
None
-
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
Gerrit Reviews
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 66003,4 | Fix Trigger with multiproject multipatch build | master | releng/builder | Status: MERGED | +2 | +1 |