Package | Description |
---|---|
net.onrc.openvirtex.api.service.handlers | |
net.onrc.openvirtex.elements | |
net.onrc.openvirtex.elements.link | |
net.onrc.openvirtex.elements.port |
Modifier and Type | Method and Description |
---|---|
static void |
HandlerUtils.areValidLinkEndPoints(int tenantId,
long srcDpid,
short ovxSrcPort,
long dstDpid,
short ovxDstPort,
List<PhysicalLink> physicalLinks)
Checks that the virtual ports (virtual link end-points) are mapped on the
same physical ports that delimit the physical path.
|
static void |
HandlerUtils.isValidHostId(int tenantId,
int hostId)
Checks that the host ID specified refers to a valid host in the virtual
network.
|
static void |
HandlerUtils.isValidOVXBigSwitch(int tenantId,
long dpid)
Checks that the switch id specified belongs to the virtual network and is
of type OVXBigSwitch.
|
static void |
HandlerUtils.isValidOVXPort(int tenantId,
long dpid,
short portNumber)
Checks if the virtual port number specified is present on the virtual switch.
|
static void |
HandlerUtils.isValidRouteId(int tenantId,
long dpid,
int routeId)
Checks that the route id specified refers to a pair of virtual route in
the big-switch belonging to the virtual network.
|
Modifier and Type | Method and Description |
---|---|
OVXNetwork |
Mappable.getVirtualNetwork(Integer tenantId)
Gets the virtual network instance associated with the given tenant ID.
|
OVXNetwork |
OVXMap.getVirtualNetwork(Integer tenantId)
Gets the virtual network instance based on the tenant ID.
|
Modifier and Type | Method and Description |
---|---|
LinkedList<MACAddress> |
OVXLinkUtils.getOriginalMacAddresses()
Gets the original MAC addresses in a list.
|
Modifier and Type | Method and Description |
---|---|
void |
OVXPort.handleLinkDisable(OVXPortStatus stat)
Disables a link for LINK_DOWN or DELETE PortStats.
|
void |
OVXPort.handlePortDelete(OVXPortStatus stat)
Deletes this port after removing any links mapped to this port.
|
void |
OVXPort.handlePortDisable(OVXPortStatus stat)
Checks if this port has associated OVXLink(s) and/or SwitchRoute(s) and
attempts to neatly disable them.
|
void |
OVXPort.handlePortEnable(OVXPortStatus stat)
Brings a disabled port and its links (by association up).
|
void |
OVXPort.unMapHost()
Removes a host from this port, if it's an edge.
|
Copyright © 2015. All rights reserved.