Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 ValueDescription
URLhttp://hostname:8888/opennaas/router/{resourceName}/chassis/upPhysicalInterfaceinterfaces/status/up?interfaceName={interfaceName} 
Method

POSTPUT

 
Body Query ParameterLogicalPortInterface nameInterface name LogicalPort representing the interface we want to enable. Only physical interfaces are allowed.
Return- 
Body Example

Following example would enable interface fe-0/2/1

...

...

<?xml version="1.0" encoding="UTF-8"?>
<logicalPort>
   <name>fe-0/2/1</name>
</logicalPort>

DownPhysicalInterface

This method disabled disables a physical interface, marking it as being down, but without removing its configuration.

 ValueDescription
URLhttp://hostname:8888/opennaas/router/{resourceName}/chassis/downPhysicalInterface/interfaces/status/down?interfaceName={interfaceName} 
Method

POSTPUT

 
Body Query ParameterLogicalPortInterface nameInterface name LogicalPort representing the interface we want to disable. Only physical interfaces are allowed.
Return- 
Body Example

Following example would disable interface fe-0/2/1

...

themeEclipse
languagehtml/xml

...

CreateSubInterface

This method creates a subinterface from an existing physical interface.

 ValueDescription
URLhttp://hostname:8888/opennaas/router/{resourceName}/chassis/createSubInterface 
Method

POST

 
Body ParameterNetworkPortNetworkPort containing the name of the physical interface and the port number used to create the subinterface. It should be either a LogicalTunnel or an EthernetPort
Return- 
Body Example

Following example would create interface fe-0/2/1.2 (that means, a new subinterface in interface fe-0/2/1 with port number 2).

...

 ValueDescription
URLhttp://hostname:8888/opennaas/router/{resourceName}/chassis/setEncapsulation 
Method

POST

 
Body ParameterSetEncapsulationRequestRequest 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.

...

 ValueDescription
URLhttp://hostname:8888/opennaas/router/{resourceName}/chassis/createSubInterface 
Method

POST

 
Body ParameterNetworkPortTODO
Return- 
Body Example

Following request would remove subinterface fe-0/2/1.2 from the list of subinterfaces of interface fe-0/2/1.

...

 ValueDescription
URLhttp://hostname:8888/opennaas/router/{resourceName}/chassis/createLogicalRouter 
Method

POST

 
Body ParameterComputerSystemComputerSystem representing the new logical router to be created. Optionally it can include the name of the interfaces to be added to this logical router.
Return- 
Body Example

Following example would create a new logical router called "logicalrouter1" with the fe-0/3/3.1 interface.

...

 ValueDescription
URLhttp://hostname:8888/opennaas/router/{resourceName}/chassis/addInterfacesToLogicalRouter 
Method

POST

 
Body ParameterAddInterfacesToLogicalRouterRequestRequest containing the ComputerSystem representing the logical router, and a list of LogicalPorts to be added to it.
Return- 
Body Example

Following request would add interface fe-0/3/3.2 and fe-0/3/3.3 to logicalrouter1.

...

 ValueDescription
URLhttp://hostname:8888/opennaas/router/{resourceName}/chassis/removeInterfacesFromLogicalRouter 
Method

POST

 
Body ParameterRemoveInterfacesFromLogicalRouterRequestRequest containing the ComputerSystem representing the logical router, and a list of LogicalPorts to be removed from it.
Return- 
Body Example

Following request would remove interface fe-0/3/3.2 from logicalrouter1.

...

 ValueDescription
URLhttp://hostname:8888/opennaas/router/{resourceName}/chassis/deleteLogicalRouter 
Method

POST

 
Body ParameterComputerSystemComputerSystem representing the new logical router to be removed.
Return- 
Body Example

Following example would remove the logical router called "logicalrouter1" from the existing logical router of our physical router.

...