Home | Trees | Indices | Help |
|
---|
|
This class represents the static route table. It provides application the ability to add and remove static routes.
Instance Methods | |||
|
|||
list of L3UnicastRouteOperation
|
|
||
|
|||
Inherited from Inherited from |
Class Variables | |
Inherited from |
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
Add or remove static routes @param scope: Indicate which table in the Static Route Table to send the route operation too. @type scope: L{L3UnicastScope<onep.routing.L3UnicastScope>} @param opList: The list of route operation. If API succeeds, per route per next hop status are returned and could be accessed using Route.error_code and NextHop.eror_code @type opList: C{list} of L{L3UnicastRouteOperation<onep.routing.L3UnicastRouteOperation>} @return: A dictionary of the route operation which contains a copy of the routes in the input parameter, with 'SUCCESS', 'FAIL', or 'NOT_SUPPORTED' @rtype: dictionary of L{L3UnicastRouteOperation<onep.routing.L3UnicastRouteOperation> : 'SUCCESS'} @raise OnepIllegalArgumentException: This exception is thrown if the scope and route are not consistent @raise OnepConnectionException: The exception is thrown when connection to the network element has failed. @raise OnepRemoteProcedureException: The exception is thrown when an error has occurred in the remote procedure call made to a network element
|
Return a dictionary of manually configured static routes Keys ---- destination -- string - destination IP address mask -- int - prefix length metric -- int - administrative distance next_hop -- string - next hop IP address interface -- string - outgoing interface router -- string - next hop router |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Aug 18 09:17:33 2014 | http://epydoc.sourceforge.net |