The existing kytos/InterfaceInfo.vue component should be augmented to add a metadata and also to remove a metadata key. This endpoint can be used to add metadata, and this endpoint can be used to remove a metadata key
The k-input to add metadata should support be able to load a JSON object from it. For instance, this value should be valid {"ownership": {"A": {}, "B": {}, "C": {}}, "switch_name": "some_name"}
The picture below tries to illustrate what's expected, it's the part with the label 10) in yellow
Request responses should be shown in the notifications area, see the label 9) in yellow
kytos/InterfaceInfo.vue
component should be augmented to add a metadata and also to remove a metadata key. This endpoint can be used to add metadata, and this endpoint can be used to remove a metadata keyk-input
to add metadata should support be able to load a JSON object from it. For instance, thisvalue
should be valid{"ownership": {"A": {}, "B": {}, "C": {}}, "switch_name": "some_name"}