LinkLayerizer integrates networks of different layers, to create a multi-layer network.
Lower network : Topology of the lower layer in a multi-layer.(e.g. optical transport network)
Upper network : Topology of the upper layer in a multi-layer.(e.g. Packet Transport network)
Layerized network :Network topology that are available in the upper layer.
-
Topology
layerized network and the upper network, the same topology. -
Flows
Flow will be reflected in the upper network when it is set at layerized network.
flow of lower network that satisfies the condition(*) is converted to link of layerized network.
(*)Flow connecting the boundary port each other in the underlying network has been set.
-
Packets
LinkLayerizer will drop it. -
boundary
Lower network and upper network, are connected through the boundary information.
The boundary information is need on "network" and "node" and "port". -
Create Instance of LinkLayerizer.
Generate an instance of LinkLayerizer by performing a PUT(or POST) to the System Manager.
| key | value | description |
|---|---|---|
| id | <String> | Unique Identifier in ODENOS. |
| type | "LinkLayerizer" | ObjectType |
| cm_id | <String> | Specify the componentManager.Property.id to generate an instance. (Optional) |
-
Component Connections
Connection of LinkLayerizer and Network by performing a PUT( or POST) to the System Manager.
network | Connection possible number | connection_type ------------------|----------------------------|---------------------------------- lower network | Only one | "lower" upper network | Only one | "upper" layerized network | Only one | "layerized"
| key | value | description |
|---|---|---|
| id | <String> | Unique Identifier in ODENOS. |
| type | "LogicAndNetwork" | |
| connection_type | "lower" or "upper" or "layerized" | |
| state | none | default "initializing" |
| logic_id | <String> | LinkLayerizer ID |
| network_id | <String> | Network ID |
-
GET <base_uri>/layerized_links/<flow_id>
Here, <base_uri> is http://<hostname>:10080/systemmanager/components/<comp_id> such as http://localhost:10080/systemmanager/components/link-layerizer
get Object property.
- Body : none
- Status Code : 200
- Body : ObjectProperty
update Object property.
- Body : ObjectProperty
- Status Code : 200
- Body : ObjectProperty
Get Setting boundaries List, and relationship of the federated flow id and original flow id.
- Body : none
- Status Code : 200
- Body : boundaries, federated_network_flow, original_network_flow
Get Boundaries. Boundaries are Boundary control table. Boundaries are dict.(key:boundary_id, value:boundary object)
- Body : none
- Status Code : 200
- Body : dict < LinkLayerizerBoundary.id, LinkLayerizerBoundary >
Set Boundary. <boundary_id> is automatically assigned.
after the send event to "ObjectSettingsChanged"
- Body : LinkLayerizerBoundary
- Status Code : 200
- Body : LinkLayerizerBoundary
Get LinkLayerizer Boundary.
- Body : none
- Status Code : 200
- Body : LinkLayerizerBoundary
Set Boundary. after the send event to "ObjectSettingsChanged"
- Body : LinkLayerizerBoundary
- Status Code : 200
- Body : LinkLayerizerBoundary
Delete Boundary. after the send event to "ObjectSettingsChanged"
- Body : none
- Status Code : 200
- Body : none
If "True" To reflect the Link that you created in the layerized network to upper network.
- Body : sync
- Status Code : 200
- Body : sync true or false
| key | value | description |
|---|---|---|
| sync | <boolean> | "True":Reflect upper network link.(default) "False":Does not reflect upper network link. |
Get relationship of the layerized link id and original flow id. (Key is layerized link id)
- Body : none
Get original flow_id corresponding to layerized link_id.
- Body : none
- Status Code : 200
- Body : list[Flow.flow_id]
Get relationship of the layerized link_id and original flow_id. (Key is original flow_id)
- Body : none
Get layerized link_id corresponding to original flow_id.
- Body : none
- Status Code : 200
- Body : Link.link_id
