[GENIUS-32] Create interface via IFM (REST API) generates table=0 entry ONLY IF interface name follows expected format Created: 10/Nov/16  Updated: 22/Jan/20

Status: Confirmed
Project: genius
Component/s: General
Affects Version/s: (unspecified)
Fix Version/s: None

Type: Improvement
Reporter: Maria Merida Assignee: Karthika Panneer
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

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 }

]
}



 Comments   
Comment by Sam Hague [ 02/Nov/17 ]

Just a test, trying to get notifications.

Comment by Faseela K [ 23/Nov/17 ]

This TR was raised as an enhancement TR, to make interfacemanager not tied to any specific port name syntax.

Generated at Wed Feb 07 19:59:44 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.