You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Methods

Remember to execute the queue in order to apply this methods to the physical device.

UpPhysicalInterface

This method enables a physical interface which is down.

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

POST

 
Body ParameterLogicalPortLogicalPort 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 a physical interface, marking it as being down, but without removing its configuration.

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

POST

 
Body ParameterLogicalPortLogicalPort representing the interface we want to disable. Only physical interfaces are allowed.
Return- 
Body Example

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

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

 

 

  • No labels