Modifier and Type | Method and Description |
---|---|
static List<PhysicalLink> |
HandlerUtils.getPhysicalPath(String pathString)
Gets the list of physical link instances based on the given
path string.
|
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.isValidVirtualLink(List<PhysicalLink> physicalLinks)
Checks that the virtual link we are trying to create is valid (e.g.,
dstSwitch of a physical Link is a SrcSwitch of the next physical link and
the physical ports are different).
|
Modifier and Type | Method and Description |
---|---|
List<PhysicalLink> |
Mappable.getPhysicalLinks(OVXLink virtualLink)
Get the physicalLinks that all make up a specified virtualLink.
|
List<PhysicalLink> |
OVXMap.getPhysicalLinks(OVXLink virtualLink)
Gets the physicalLinks that all make up a specified OVXLink.
|
List<PhysicalLink> |
Mappable.getRoute(SwitchRoute route)
Gets the current path as a list of physical links for the given route.
|
List<PhysicalLink> |
OVXMap.getRoute(SwitchRoute route) |
Modifier and Type | Method and Description |
---|---|
Set<SwitchRoute> |
Mappable.getSwitchRoutes(PhysicalLink physicalLink,
Integer tenantId)
Gets the switch routes that use the given physical link in
the specified virtual network.
|
Set<SwitchRoute> |
OVXMap.getSwitchRoutes(PhysicalLink physicalLink,
Integer tenantId) |
List<OVXLink> |
Mappable.getVirtualLinks(PhysicalLink physicalLink,
Integer tenantId)
Gets the list of OVXLinks that are part of virtual network identified by
tenantId and which include the specified physicalLink.
|
List<OVXLink> |
OVXMap.getVirtualLinks(PhysicalLink physicalLink,
Integer tenantId)
Gets the list of OVXLinks that are part of virtual network identified by
tenantId and which include the specified physicalLink.
|
boolean |
Mappable.hasOVXLinks(PhysicalLink physicalLink,
Integer tenantId) |
boolean |
OVXMap.hasOVXLinks(PhysicalLink physicalLink,
Integer tenantId)
Checks if the given physical link is part of a virtual link in the
virtual network identified by the tenant ID.
|
boolean |
Mappable.hasSwitchRoutes(PhysicalLink physicalLink,
Integer tenantId) |
boolean |
OVXMap.hasSwitchRoutes(PhysicalLink physicalLink,
Integer tenantId)
Checks if the given physical link is part of a virtual switch route
in the virtual network identified by the tenant ID.
|
void |
Mappable.knownLink(PhysicalLink link)
Sets the linkid back to the original linkid for a physical link that
previously existed and has gone away and come back.
|
void |
OVXMap.knownLink(PhysicalLink that) |
void |
Mappable.removePhysicalLink(PhysicalLink physicalLink)
Removes a PhysicalLink from a Mappable, including mappings to OVXLinks
and SwitchRoutes.
|
void |
OVXMap.removePhysicalLink(PhysicalLink physicalLink) |
Modifier and Type | Method and Description |
---|---|
void |
Mappable.addLinks(List<PhysicalLink> physicalLinks,
OVXLink virtualLink)
Create the mapping between PhysicalLinks and a VirtualLink.
|
void |
OVXMap.addLinks(List<PhysicalLink> physicalLinks,
OVXLink virtualLink)
Creates the mapping between PhysicalLinks and a VirtualLink.
|
void |
Mappable.addRoute(SwitchRoute route,
List<PhysicalLink> physicalLinks)
Adds a mapping between a SwitchRoute and the PhysicalLinks making it up.
|
void |
OVXMap.addRoute(SwitchRoute route,
List<PhysicalLink> physicalLinks) |
Modifier and Type | Method and Description |
---|---|
HashSet<PhysicalLink> |
OVXBigSwitch.getAllLinks() |
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) |
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.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.
|
Modifier and Type | Method and Description |
---|---|
int |
PhysicalLink.compareTo(PhysicalLink o) |
boolean |
OVXLink.tryRecovery(PhysicalLink plink)
Tries to switch link to a backup path, and updates mappings to "correct"
string of PhysicalLinks to use for this link.
|
boolean |
OVXLink.tryRevert(PhysicalLink plink)
Attempts to switch this link back to the original path.
|
Modifier and Type | Method and Description |
---|---|
void |
OVXLink.register(List<PhysicalLink> physicalLinks,
byte priority)
Register mapping between virtual link and physical path.
|
void |
OVXLink.switchPath(List<PhysicalLink> physicalLinks,
byte priority)
Switch the link to the given path and priority.
|
Modifier and Type | Method and Description |
---|---|
SwitchRoute |
OVXNetwork.connectRoute(long ovxDpid,
short ovxSrcPort,
short ovxDstPort,
List<PhysicalLink> physicalLinks,
byte priority,
int... routeId) |
OVXLink |
OVXNetwork.setLinkPath(int linkId,
List<PhysicalLink> physicalLinks,
byte priority)
Creates virtual link mapping to the physical topology.
|
Modifier and Type | Method and Description |
---|---|
PhysicalLink |
ShortestPath.Predecessor.getLink()
Gets the link.
|
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) |
LinkedList<PhysicalLink> |
ShortestPath.computePath(PhysicalSwitch srcSw,
PhysicalSwitch dstSw)
Gets the physical path between two physical switches.
|
Set<PhysicalLink> |
SwitchRoute.getLinks()
Gets the set of physical links that make up both primary and backup paths for the switch route.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SwitchRoute.tryRecovery(PhysicalLink plink)
Tries to switch this route to a backup path, and updates mappings to
"correct" string of PhysicalLinks to use for this SwitchRoute.
|
boolean |
SwitchRoute.tryRevert(PhysicalLink plink)
Attempts to switch this route back to the original path.
|
Modifier and Type | Method and Description |
---|---|
void |
SwitchRoute.addBackupRoute(Byte priority,
List<PhysicalLink> physicalLinks)
Adds a backup route with given priority value and path given as
list of physical links.
|
void |
SwitchRoute.replacePrimaryRoute(Byte priority,
List<PhysicalLink> physicalLinks)
Replaces the current primary route by the new route given as
a list of physical links and priority value.
|
void |
SwitchRoute.switchPath(List<PhysicalLink> physicalLinks,
byte priority)
Switches over to the next backup path given as a list of physical links
with the given priority.
|
Constructor and Description |
---|
ShortestPath.Predecessor(PhysicalSwitch sw,
PhysicalLink link)
Instantiates a new predecessor.
|
Copyright © 2014. All rights reserved.