[GENIUS-33] DELETE Service Binding does not remove entry in table=0 Created: 11/Nov/16 Updated: 19/Oct/17 Resolved: 06/Jun/17 |
|
| Status: | Resolved |
| Project: | genius |
| Component/s: | General |
| Affects Version/s: | (unspecified) |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Maria Merida | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 7150 |
| Description |
|
DELETE Service Binding does not remove entry in table=0. Entry is not removed even if we remove the corresponding interface. Version: Boron SR1 Follow these steps to reproduce the bug: 1) Create interface (POST http://localhost:8181/restconf/config/ietf-interfaces:interfaces/) { "interface": [ { "name": "tun999a999a9a9", "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.11", "odl-interface:tunnel-destination": "192.168.3.140", "enabled": true } ] 2) Create Service Binding (POST http://localhost:8181/restconf/config/interface-service-bindings:service-bindings/) { } 3) Check a new entry is populated in table=0 as follows: cookie=0x803ffb8, duration=10.943s, table=0, n_packets=0, n_bytes=0, priority=10,in_port=1 actions=write_metadata:0xc000090000000000/0xffffff0000000001,goto_table:50 4) DELETE Service Binding (DELETE http://localhost:8181/restconf/config/interface-service-bindings:service-bindings/services-info/tun999a999a9a9/interface-service-bindings:service-mode-ingress) 5) Check entry in table=0 is not removed: cookie=0x803ffb8, duration=122.046s, table=0, n_packets=0, n_bytes=0, priority=10,in_port=1 actions=write_metadata:0xc000090000000000/0xffffff0000000001,goto_table:50 6) If we then DELETE also the interface (DELETE http://localhost:8181/restconf/config/ietf-interfaces:interfaces/interface/tun999a999a9a9) the entry will be still there: cookie=0x803ffb8, duration=223.606s, table=0, n_packets=0, n_bytes=0, priority=10,in_port=1 actions=write_metadata:0xc000090000000000/0xffffff0000000001,goto_table:50 Even though in_port=1 does not make sense any more (cause the OF port was removed): OFPT_FEATURES_REPLY (OF1.3) (xid=0x2): dpid:03f84eafb4b85678 |
| Comments |
| Comment by Faseela K [ 16/Mar/17 ] |
|
Is this issue still seen? |
| Comment by Jose Antonio Baena Cobos [ 10/Apr/17 ] |
|
Hi, |