Home | Trees | Indices | Help |
|
---|
|
VTY helper for any presentation service to VtyService handling Contains helper functions that mimic IOS parser. Is useful for cases where applications running in different threads share the same connection. Flask REST frontend is a good example. - Automatically opens VtyService and leaves it open - If platform supports it, sets idle timeout of VtyService to infinite - Manages NetworkElement to ensure only one VtyService is instantiated per connection/application. - Evaluates parser errors - commit method automatically does retries if resource busy is returned
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
Inherited from |
Method Details |
Constructor takes a connected network element Throws on error: OnepConnectionException - Connection to element failed. Keyword argument: class NetworkElement()
|
Send a configuration command to Network Element "config t " will be prepended if not in config_submode " end" appended Throws on error: OnepConnectionException - Connection to element failed. OnepRemoteProcedureException - call to RPC failed Keyword argument: string -- CLI command |
Removes a configuration command from a Network Element "config t " and "no" will be prepended and " end" appended Throws on error: OnepConnectionException - Connection to element failed. OnepRemoteProcedureException - call to RPC failed Keyword argument: string -- CLI command |
NOT IMPLEMENTED!! Rollback configuration commands stored in trasaction dict from start time to end time associated to command Keyword arguments: real -- start time real -- end time |
Send a show command to Network Element "show " will be prepended Throws on error: OnepConnectionException - Connection to element failed. OnepRemoteProcedureException - call to RPC failed Keyword argument: string -- CLI command |
Send an executable command to Network Element Throws on error: OnepConnectionException - Connection to element failed. OnepRemoteProcedureException - call to RPC failed Keyword argument: string -- CLI command |
Activate debug on Network Element "debug " will be prepended Throws on error: OnepConnectionException - Connection to element failed. OnepRemoteProcedureException - call to RPC failed Keyword argument: string -- CLI command |
Deactivate debug on Network Element "no debug " will be prepended Throws on error: OnepConnectionException - Connection to element failed. OnepRemoteProcedureException - call to RPC failed Keyword argument: string -- CLI command |
Preform a write command to save running-config to startup-config WARNING: Not supported on all platforms |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Aug 18 09:17:34 2014 | http://epydoc.sourceforge.net |