Open-Network-Models-and-Interfaces-ONMI / TAPI

LF ONMI Transport API Repository (TAPI)
https://github.com/Open-Network-Models-and-Interfaces-ONMI/TAPI/wiki
Apache License 2.0
95 stars 80 forks source link

Allow the TAPI user to enable/disable the use of network resources #438

Open arthurMll opened 5 years ago

arthurMll commented 5 years ago

Currently TAPI does not allow users to enable/disable resources to prevent them to be used. The most clear case is to block a link/node/node-edge-point for a maintenance operation. From current definition it seems the "admin-state" attribute associated to many TAPI objects would be the appropiate element to modify the state of a resource ( LOCKED/UNLOCKED), however is not writable (config false) in the model. It is needed to evaluate how this use case can be implemented, a possible solution would be to define a new "intent-alike" structure within "OAM" tapi service, to allow the user to put a resource in maintenance