Package onep :: Package applmgmt :: Module ApplicationCliData :: Class ApplicationCliData
[frames] | no frames]

Class ApplicationCliData


The application managed data information returned by the network element when a configuration is applied to application data on the network element, or a show application data is invoked through the CLI.

Instance Methods
 
__init__(self, element, data_name, data_val, type)
Constructor for ApplicationCliData class.
 
do_event(self, network_element)
This method must be implemented by substantial class to specify what action to do when a event is processed in the event queue.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
Enum OnepAppCLIDataType = enum('ONEP_APP_CLI_TYPE_CONFIG', 'ONEP_AP...
CLI type applied on the Network element for the application managed data.

Inherited from core.event.AsyncMsg.AsyncMsg: OnepAsyncMsgType

Instance Variables
str data_name
The name of the data variable
str data_value
The value of the data variable

Inherited from core.event.AsyncMsg.AsyncMsg: src_ne

Properties

Inherited from object: __class__

Method Details

__init__(self, element, data_name, data_val, type)
(Constructor)

 

Constructor for ApplicationCliData class.

Overrides: object.__init__

do_event(self, network_element)

 

This method must be implemented by substantial class to specify what
action to do when a event is processed in the event queue. Typically an
action would be invoking client's event listener.

Keyword argument:
source
    The source of the event. For example, the source of a syslog
    event would be a NetworkElement object.

Overrides: core.event.AsyncMsg.AsyncMsg.do_event
(inherited documentation)

Class Variable Details

OnepAppCLIDataType

CLI type applied on the Network element for the application managed data.

ONEP_APP_CLI_TYPE_CONFIG: Application config CLI.

ONEP_APP_CLI_TYPE_EXEC: Application exec CLI

Type:
Enum
Value:
enum('ONEP_APP_CLI_TYPE_CONFIG', 'ONEP_APP_CLI_TYPE_EXEC')