private Object newParamsConfigureStatus(String interfaceName, OperationalStatus status) { LogicalPort logicalPort = new LogicalPort(); logicalPort.setName(interfaceName); logicalPort.setOperationalStatus(status); return logicalPort; }
public static LogicalPort getLogicalPort() { LogicalPort logicalPort = new LogicalPort(); logicalPort.setName("fe-0/3/2"); logicalPort.setDescription("Description for the setSubInterfaceDescription test"); return logicalPort; }
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; }