use of com.emc.storageos.util.NetworkLite in project coprhd-controller by CoprHD.
the class StoragePortsAllocatorTest method createEmptyTzone.
protected static PortAllocationContext createEmptyTzone() {
NetworkLite tz = new NetworkLite("EmptyNetwork");
PortAllocationContext context = new PortAllocationContext(tz, "test");
return context;
}
use of com.emc.storageos.util.NetworkLite in project coprhd-controller by CoprHD.
the class StoragePortsAllocatorTest method createVplex4engine4portFC.
protected static PortAllocationContext createVplex4engine4portFC() {
NetworkLite tz = new NetworkLite("TzoneVplexFC3");
PortAllocationContext context = new PortAllocationContext(tz, "test");
StoragePort port;
// Cluster 1 Engine 1 - Ports
port = createVplexFCPort("A0-FC00", "50:00:14:42:60:01:01:00", "director-1-1-A");
addPort(context, port, "mds-a");
port = createVplexFCPort("A0-FC01", "50:00:14:42:60:01:01:01", "director-1-1-A");
addPort(context, port, "mds-b");
port = createVplexFCPort("A0-FC03", "50:00:14:42:60:01:01:03", "director-1-1-A");
addPort(context, port, "mds-a");
port = createVplexFCPort("A0-FC04", "50:00:14:42:60:01:01:04", "director-1-1-A");
addPort(context, port, "mds-b");
port = createVplexFCPort("B0-FC00", "50:00:14:42:70:01:01:00", "director-1-1-B");
addPort(context, port, "mds-a");
port = createVplexFCPort("B0-FC01", "50:00:14:42:70:01:01:01", "director-1-1-B");
addPort(context, port, "mds-b");
port = createVplexFCPort("B0-FC03", "50:00:14:42:70:01:01:03", "director-1-1-B");
addPort(context, port, "mds-a");
port = createVplexFCPort("B0-FC04", "50:00:14:42:70:01:01:04", "director-1-1-B");
addPort(context, port, "mds-b");
// Cluster 1 Engine 2 - Ports
port = createVplexFCPort("A0-FC00", "50:00:14:42:60:01:02:00", "director-1-2-A");
addPort(context, port, "mds-a");
port = createVplexFCPort("A0-FC01", "50:00:14:42:60:01:02:01", "director-1-2-A");
addPort(context, port, "mds-b");
port = createVplexFCPort("A0-FC03", "50:00:14:42:60:01:02:03", "director-1-2-A");
addPort(context, port, "mds-a");
port = createVplexFCPort("A0-FC04", "50:00:14:42:60:01:02:04", "director-1-2-A");
addPort(context, port, "mds-b");
port = createVplexFCPort("B0-FC00", "50:00:14:42:70:01:02:00", "director-1-2-B");
addPort(context, port, "mds-a");
port = createVplexFCPort("B0-FC01", "50:00:14:42:70:01:02:01", "director-1-2-B");
addPort(context, port, "mds-b");
port = createVplexFCPort("B0-FC03", "50:00:14:42:70:01:02:03", "director-1-2-B");
addPort(context, port, "mds-a");
port = createVplexFCPort("B0-FC04", "50:00:14:42:70:01:02:04", "director-1-2-B");
addPort(context, port, "mds-b");
// Cluster 2 Engine 1 - Ports
port = createVplexFCPort("A0-FC00", "50:00:14:42:60:02:01:00", "director-2-1-A");
addPort(context, port, "mds-a");
port = createVplexFCPort("A0-FC01", "50:00:14:42:60:02:01:01", "director-2-1-A");
addPort(context, port, "mds-b");
port = createVplexFCPort("A0-FC03", "50:00:14:42:60:02:01:03", "director-2-1-A");
addPort(context, port, "mds-a");
port = createVplexFCPort("A0-FC04", "50:00:14:42:60:02:01:04", "director-2-1-A");
addPort(context, port, "mds-b");
port = createVplexFCPort("B0-FC00", "50:00:14:42:70:02:01:00", "director-2-1-B");
addPort(context, port, "mds-a");
port = createVplexFCPort("B0-FC01", "50:00:14:42:70:02:01:01", "director-2-1-B");
addPort(context, port, "mds-b");
port = createVplexFCPort("B0-FC03", "50:00:14:42:70:02:01:03", "director-2-1-B");
addPort(context, port, "mds-a");
port = createVplexFCPort("B0-FC04", "50:00:14:42:70:02:01:04", "director-2-1-B");
addPort(context, port, "mds-b");
// Cluster 2 Engine 2 - Ports
port = createVplexFCPort("A0-FC00", "50:00:14:42:60:02:02:00", "director-2-2-A");
addPort(context, port, "mds-a");
port = createVplexFCPort("A0-FC01", "50:00:14:42:60:02:02:01", "director-2-2-A");
addPort(context, port, "mds-b");
port = createVplexFCPort("A0-FC03", "50:00:14:42:60:02:02:03", "director-2-2-A");
addPort(context, port, "mds-a");
port = createVplexFCPort("A0-FC04", "50:00:14:42:60:02:02:04", "director-2-2-A");
addPort(context, port, "mds-b");
port = createVplexFCPort("B0-FC00", "50:00:14:42:70:02:02:00", "director-2-2-B");
addPort(context, port, "mds-a");
port = createVplexFCPort("B0-FC01", "50:00:14:42:70:02:02:01", "director-2-2-B");
addPort(context, port, "mds-b");
port = createVplexFCPort("B0-FC03", "50:00:14:42:70:02:02:03", "director-2-2-B");
addPort(context, port, "mds-a");
port = createVplexFCPort("B0-FC04", "50:00:14:42:70:02:02:04", "director-2-2-B");
addPort(context, port, "mds-b");
return context;
}
use of com.emc.storageos.util.NetworkLite in project coprhd-controller by CoprHD.
the class StoragePortsAllocatorTest method createVMAX3engine4portFC.
protected static PortAllocationContext createVMAX3engine4portFC() {
NetworkLite tz = new NetworkLite("Tzon3e4p1");
PortAllocationContext context = new PortAllocationContext(tz, "test");
StoragePort port;
port = createFCPort("FA-7E:0", "50:00:00:00:00:00:00:00");
addPort(context, port, null);
port = createFCPort("FA-7E:1", "50:00:00:00:00:00:00:01");
addPort(context, port, "mds-a");
port = createFCPort("FA-7F:2", "50:00:00:00:00:01:00:02");
addPort(context, port, "mds-b");
port = createFCPort("FA-7F:3", "50:00:00:00:00:01:00:03");
addPort(context, port, "mds-b");
port = createFCPort("FA-8E:0", "50:00:00:00:00:00:01:00");
addPort(context, port, "mds-a");
port = createFCPort("FA-8E:1", "50:00:00:00:00:00:01:01");
addPort(context, port, "mds-a");
port = createFCPort("FA-8F:2", "50:00:00:00:00:01:01:02");
addPort(context, port, "mds-b");
port = createFCPort("FA-8F:3", "50:00:00:00:00:01:01:03");
addPort(context, port, "mds-b");
port = createFCPort("FA-9E:0", "50:00:00:00:00:00:02:00");
addPort(context, port, "mds-a");
port = createFCPort("FA-9E:1", "50:00:00:00:00:00:02:01");
addPort(context, port, "mds-a");
port = createFCPort("FA-9F:2", "50:00:00:00:00:01:02:02");
addPort(context, port, "mds-b");
port = createFCPort("FA-9F:3", "50:00:00:00:00:01:02:03");
addPort(context, port, "mds-b");
port = createFCPort("FA-10E:0", "50:00:00:00:00:00:03:00");
addPort(context, port, "mds-a");
port = createFCPort("FA-10E:1", "50:00:00:00:00:00:03:01");
addPort(context, port, "mds-a");
port = createFCPort("FA-10F:2", "50:00:00:00:00:01:03:02");
addPort(context, port, "mds-b");
port = createFCPort("FA-10F:3", "50:00:00:00:00:01:03:03");
addPort(context, port, null);
port = createFCPort("FA-11E:0", "50:00:00:00:00:00:04:00");
addPort(context, port, "mds-a");
port = createFCPort("FA-11E:1", "50:00:00:00:00:00:04:01");
addPort(context, port, "mds-a");
port = createFCPort("FA-11F:2", "50:00:00:00:00:01:04:02");
addPort(context, port, "mds-b");
port = createFCPort("FA-11F:3", "50:00:00:00:00:01:04:03");
addPort(context, port, "mds-b");
port = createFCPort("FA-12E:0", "50:00:00:00:00:00:05:00");
addPort(context, port, "mds-a");
port = createFCPort("FA-12E:1", "50:00:00:00:00:00:05:01");
addPort(context, port, "mds-a");
port = createFCPort("FA-12F:2", "50:00:00:00:00:01:05:02");
addPort(context, port, "mds-b");
port = createFCPort("FA-12F:3", "50:00:00:00:00:01:05:03");
addPort(context, port, "mds-b");
return context;
}
use of com.emc.storageos.util.NetworkLite in project coprhd-controller by CoprHD.
the class StoragePortsAssignerTest method createVmaxNet1.
protected static PortAllocationContext createVmaxNet1() {
NetworkLite tz = new NetworkLite(URI.create("net1"), "net1");
PortAllocationContext context = new PortAllocationContext(tz, "test");
StoragePort port;
port = createFCPort("FA-7E:0", "50:00:00:00:00:00:00:00");
addPort(context, port, "mds-a");
port = createFCPort("FA-7E:1", "50:00:00:00:00:00:00:01");
addPort(context, port, "mds-b");
port = createFCPort("FA-8E:0", "50:00:00:00:00:00:01:00");
addPort(context, port, "mds-a");
port = createFCPort("FA-8E:1", "50:00:00:00:00:00:01:01");
addPort(context, port, "mds-b");
port = createFCPort("FA-9E:0", "50:00:00:00:00:00:02:00");
addPort(context, port, "mds-a");
port = createFCPort("FA-9E:1", "50:00:00:00:00:00:02:01");
addPort(context, port, "mds-b");
port = createFCPort("FA-10E:0", "50:00:00:00:00:00:03:00");
addPort(context, port, "mds-a");
port = createFCPort("FA-10E:1", "50:00:00:00:00:00:03:01");
addPort(context, port, "mds-b");
port = createFCPort("FA-11E:0", "50:00:00:00:00:00:04:00");
addPort(context, port, "mds-a");
port = createFCPort("FA-11E:1", "50:00:00:00:00:00:04:01");
addPort(context, port, "mds-b");
port = createFCPort("FA-12E:0", "50:00:00:00:00:00:05:00");
addPort(context, port, "mds-a");
port = createFCPort("FA-12E:1", "50:00:00:00:00:00:05:01");
addPort(context, port, "mds-b");
return context;
}
use of com.emc.storageos.util.NetworkLite in project coprhd-controller by CoprHD.
the class StoragePortsAssignerTest method createVmaxNet3.
// NBS VSAN 10
protected static PortAllocationContext createVmaxNet3() {
NetworkLite tz = new NetworkLite(URI.create("net3"), "net3");
PortAllocationContext context = new PortAllocationContext(tz, "test");
StoragePort port;
port = createFCPort("FA-1E:0", "50:00:09:75:10:04:95:00");
addPort(context, port, "mds-a");
port = createFCPort("FA-1F:0", "50:00:09:75:10:04:95:40");
addPort(context, port, "mds-a");
port = createFCPort("FA-1G:0", "50:00:09:75:10:04:95:80");
addPort(context, port, "mds-a");
port = createFCPort("FA-2E:0", "50:00:09:75:10:04:95:04");
addPort(context, port, "mds-a");
port = createFCPort("FA-2F:0", "50:00:09:75:10:04:95:44");
addPort(context, port, "mds-a");
port = createFCPort("FA-2G:0", "50:00:09:75:10:04:95:84");
addPort(context, port, "mds-a");
return context;
}
Aggregations