Modifier and Type | Method and Description |
---|---|
OVXPort |
OVXBigSwitch.getPort(Short portNumber) |
Modifier and Type | Method and Description |
---|---|
ConcurrentHashMap<OVXPort,ConcurrentHashMap<OVXPort,SwitchRoute>> |
OVXBigSwitch.getRouteMap()
Gets map of all routes for big switch.
|
ConcurrentHashMap<OVXPort,ConcurrentHashMap<OVXPort,SwitchRoute>> |
OVXBigSwitch.getRouteMap()
Gets map of all routes for big switch.
|
Modifier and Type | Method and Description |
---|---|
SwitchRoute |
OVXBigSwitch.createRoute(OVXPort ingress,
OVXPort egress,
List<PhysicalLink> path,
List<PhysicalLink> revpath,
byte priority) |
SwitchRoute |
OVXBigSwitch.createRoute(OVXPort ingress,
OVXPort egress,
List<PhysicalLink> path,
List<PhysicalLink> revpath,
byte priority,
int routeId)
Adds a route between two edge ports of the big switch.
|
SwitchRoute |
OVXBigSwitch.getRoute(OVXPort srcPort,
OVXPort dstPort)
Get the route between source and destination ports.
|
Set<SwitchRoute> |
OVXBigSwitch.getRoutebyPort(OVXPort port)
Fetches all routes associated with a specific port, assuming that the
routes are duplex.
|
void |
OVXSingleSwitch.sendSouth(OFMessage msg,
OVXPort inPort) |
abstract void |
OVXSwitch.sendSouth(OFMessage msg,
OVXPort inPort)
Sends a message towards the physical network, via the PhysicalSwitch
mapped to this OVXSwitch.
|
void |
OVXBigSwitch.sendSouth(OFMessage msg,
OVXPort inPort) |
int |
OVXSingleSwitch.translate(OFMessage ofm,
OVXPort inPort) |
abstract int |
OVXSwitch.translate(OFMessage msg,
OVXPort inPort)
Generates a new XID for messages destined for the physical network.
|
int |
OVXBigSwitch.translate(OFMessage ofm,
OVXPort inPort) |
Modifier and Type | Method and Description |
---|---|
OVXPort |
Host.getPort()
Gets the port the host is connected to.
|
Constructor and Description |
---|
Host(MACAddress mac,
OVXPort port,
Integer hostId)
Instantiates a new host by setting its MAC address, virtual port,
and host ID.
|
Constructor and Description |
---|
OVXLink(Integer linkId,
Integer tenantId,
OVXPort srcPort,
OVXPort dstPort,
RoutingAlgorithms alg)
Instantiates a new virtual link.
|
Modifier and Type | Method and Description |
---|---|
OVXPort |
OVXNetwork.createPort(long physicalDpid,
short portNumber,
short... vportNumber)
Creates a virtual port that is mapped to the given physical
switch DPID and port number, and set its virtual port number
if present.
|
Modifier and Type | Method and Description |
---|---|
Host |
OVXNetwork.getHost(OVXPort port) |
Modifier and Type | Method and Description |
---|---|
OVXPort |
PhysicalPort.getOVXPort(Integer tenantId,
Integer vLinkId)
Gets the virtual port that maps this physical port for the given tenant
ID and virtual link ID.
|
Modifier and Type | Method and Description |
---|---|
List<Map<Integer,OVXPort>> |
PhysicalPort.getOVXPorts(Integer tenant)
Gets list of virtual ports that map to this physical port for a given
tenant ID.
|
Modifier and Type | Method and Description |
---|---|
boolean |
OVXPort.equals(OVXPort port) |
void |
PhysicalPort.removeOVXPort(OVXPort ovxPort)
Removes mapping between given virtual port and this physical port.
|
com.google.gson.JsonElement |
OVXPortSerializer.serialize(OVXPort port,
Type portType,
com.google.gson.JsonSerializationContext context) |
void |
PhysicalPort.setOVXPort(OVXPort ovxPort)
Maps the given virtual port to this physical port.
|
Modifier and Type | Method and Description |
---|---|
static OVXSwitch |
OVXMessageUtil.translateXid(OFMessage msg,
OVXPort inPort)
Xid translation based on port for "accurate" translation with a specific
PhysicalSwitch.
|
static void |
OVXMessageUtil.translateXidAndSend(OFMessage msg,
OVXPort inPort)
Translates the Xid of a PhysicalSwitch-bound message and sends it there.
|
Modifier and Type | Method and Description |
---|---|
LinkedList<PhysicalLink> |
ManualRoute.computePath(OVXPort srcPort,
OVXPort dstPort) |
LinkedList<PhysicalLink> |
ShortestPath.computePath(OVXPort srcPort,
OVXPort dstPort)
Gets the physical path between two virtual ports.
|
LinkedList<PhysicalLink> |
Routable.computePath(OVXPort srcPort,
OVXPort dstPort) |
SwitchRoute |
ManualRoute.getRoute(OVXBigSwitch vSwitch,
OVXPort srcPort,
OVXPort dstPort) |
SwitchRoute |
ShortestPath.getRoute(OVXBigSwitch vSwitch,
OVXPort srcPort,
OVXPort dstPort)
Gets the route element that represents a path between two virtual ports.
|
SwitchRoute |
Routable.getRoute(OVXBigSwitch vSwitch,
OVXPort srcPort,
OVXPort dstPort) |
Constructor and Description |
---|
SwitchRoute(OVXSwitch sw,
OVXPort in,
OVXPort out,
int routeid,
byte priority)
Instantiates a new switch route for the given switch between
two ports, and assigns a route ID and priority value.
|
Copyright © 2015. All rights reserved.