-
Type: Story
-
Status: Closed (View Workflow)
-
Priority: Minor
-
Resolution: Done
-
Affects Version/s: 1.2.0
-
Fix Version/s: 1.2.0
-
Component/s: None
-
Labels:None
-
Epic Link:
The main purpose is to achieve the basic functions of label resource management in ONOS. South interfaces and CLIs can be used to create/destroy the label-pool. North interfaces can be used to apply/release/query label resource.In order to meet different business requirements, there is one global label-pool and label-pools based on Devices.
We can use CLIs to create label-pools by specifying the label range. Label range requires prior planning, the global label-pool should be a subset of all device label-pools. Device label-pool can also be created when a device connect to the controller,the device will automatically reports its label range to controller through south interface.
We can use CLIs to destroy label-pools. Device label-pool can also be destroyed by label resource manager when a device disconnects. At the same time,label resource manager sends label-pool destroy events to the listeners,notifying them to release resource.
Intent or APP can apply/release/query label resource by north interfaces.