...
Value | Description | |
---|---|---|
URL | http://hostname:8888/opennaas/router/{resourceName}/chassis/logicalrouter/{logical_router_name} | |
Method | DELETE | |
Return | - |
AddInterfacesToLogicalRouter
This method will add interfaces to an existing logical router. Be aware that the list of interfaces to be added should not exist in another logical router of the physical one.
Value | Description | ||
---|---|---|---|
URL | http://hostname:8888/opennaas/router/{resourceName}/chassis/logicalrouter/{logical_router_name}/interfaces | ||
Method | PUT | ||
Body Parameter | Interfaces names list | Subinterfaces names list to be attached to the logical router. | |
Return | - |
Body Example
Following request would add interfaces fe-0/3/3.2 and fe-0/3/3.3 to the logical router.
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?> <interfaces> <interface>fe-0/3/3.2</interface> <interface> fe-0/3/3.3</interface> </interfaces> |
RemoveInterfacesFromLogicalRouter
This method will remove existing interfaces from a specific logical router. Its configuration will be passed to the physical router.
Value | Description | ||
---|---|---|---|
URL | http://hostname:8888/opennaas/router/{resourceName}/chassis/logicalrouter/{logical_router_name}/interfaces/delete | ||
Method | PUT | ||
Query Parameter | Interface name | Interface name we want to apply encapsulation. | |
Body Parameter | Interfaces names list | Subinterfaces names list to be removed from the logical router. | |
Return | - |
Body Example
...
- |
...
...
theme | Eclipse |
---|---|
language | html/xml |
...
SetEncapsulation
This method configures the type of encapsulation to use in given interface. Supported are: no encapsulation and TaggedEthenetEncapsulation.
Value | Description | ||
---|---|---|---|
URL | http://hostname:8888/opennaas/router/{resourceName}/chassis/setEncapsulation/interfaces/encapsulation/type/{encapsulationType}?ifaceName={interfaceName} | ||
Method | POSTPUT | ||
Body Query Parameter | SetEncapsulationRequest | EncapsulationType | Encapsulation type to be applied in the interface. Valid values are "tagged-ethernet" for IEEE 802.1Q and "none" for no encapsulationRequest containing the LogicalPort representing the interface and the ProtocolIFType containing the type of encapsulation to use. TaggedEthernetEncapsulation ProtocolIFType "LAYER_2_VLAN_USING_802_1Q" as encapsulation type. |
Return | - |
Body Example
Following example would set TaggedEthernetEncapsulation to interface fe-0/3/3.
...