Ejemplo n.º 1
0
  private Object newParamsConfigureStatus(String interfaceName, OperationalStatus status) {

    LogicalPort logicalPort = new LogicalPort();
    logicalPort.setName(interfaceName);
    logicalPort.setOperationalStatus(status);
    return logicalPort;
  }
Ejemplo n.º 2
0
 public static LogicalPort getLogicalPort() {
   LogicalPort logicalPort = new LogicalPort();
   logicalPort.setName("fe-0/3/2");
   logicalPort.setDescription("Description for the setSubInterfaceDescription test");
   return logicalPort;
 }
Ejemplo n.º 3
0
 private LogicalPort prepareConfigureStatusParams(String nameInterface) {
   LogicalPort logicalPort = new LogicalPort();
   logicalPort.setName(nameInterface);
   return logicalPort;
 }
 private LogicalPort createPhysicalInterface(String ifaceName) {
   LogicalPort iface = new LogicalPort();
   iface.setName(ifaceName);
   return iface;
 }