Added API request to delete interface DELETE api/kytos/topology/v3/interfaces/00:00:00:00:00:00:00:01:1.
After the *.*.switch.interface.deleted event, the interface can be deleted from memory if it is not used.
Local Tests
To delete interface, it needs to be removed from OVS: sudo ip link delete s1-eth4
Also:
It is inactive and disabled.
It does not have a link.
There should not be an installed flow related to the interface (actions output, instructions apply_action and match in_port).
Closes #191
Summary
Added API request to delete interface
DELETE api/kytos/topology/v3/interfaces/00:00:00:00:00:00:00:01:1
. After the*.*.switch.interface.deleted
event, the interface can be deleted from memory if it is not used.Local Tests
To delete interface, it needs to be removed from OVS:
sudo ip link delete s1-eth4
Also:output
, instructionsapply_action
and matchin_port
).End-to-End Tests
TBA