kytos-ng / of_core

Kytos Main OpenFlow Network Application (NApp)
MIT License
0 stars 5 forks source link

[Fix] `update_port_status` on `OFPPR_DELETE` to deactivate an interface #42

Closed viniarck closed 2 years ago

viniarck commented 2 years ago

Fixes #20, this addressed the first requirement, the other two ones were broken down to be addressed on issue 39 on topology:

Description of the change

[1.7.0] - 2022-01-04

Changed

Local exploratory test

❯ http http://127.0.0.1:8181/api/kytos/topology/v3/interfaces | jq -r '.interfaces[].active'
true
true
true
true
true
true
true
true
true
true
❯ http http://127.0.0.1:8181/api/kytos/topology/v3/interfaces | jq -r '.interfaces[].active'
false
false
true
false
false
false
true
false
false
true
❯ http http://127.0.0.1:8181/api/kytos/topology/v3/interfaces | jq -r '.interfaces[].active'
true
true
true
true
true
true
true
true
true
true
viniarck commented 2 years ago

Appreciated your review, Antonio