Package onep :: Package discovery :: Module ServiceSetDescription :: Class ServiceSetDescription
[frames] | no frames]

Class ServiceSetDescription


ServiceSetDescription defines a collection of service sets that are grouped as an integral unit to provide a collection of services on a network element. A service set collection is a logical grouping of ONE-P network services providing modular access to a set of network functionality.

The ServiceSetDescription class provides information about the service set name and the version and the network element on which this service set is available.

See discover_service_set_list

Instance Methods
 
__init__(self, networkElement=None, serviceSetList=None)
Constructor

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

Class Variables
  ServiceSetName = enum('ONEP_SERVICE_SET_ALL', 'ONEP_BASE_SERVI...
Service Set Name
Properties
NetworkElement network_element
Gets the network element.
dict service_set_list
Gets the HashMap containing the service name and the versions.

Inherited from object: __class__

Method Details

__init__(self, networkElement=None, serviceSetList=None)
(Constructor)

 

Constructor

Parameters:
Overrides: object.__init__

Class Variable Details

ServiceSetName

Service Set Name

Enum definition for including all service set names. This definition is used only when setting the service set name during service set discovery filter.

Value:
enum('ONEP_SERVICE_SET_ALL', 'ONEP_BASE_SERVICE_SET', 'ONEP_LISP_SERVI\
CE_SET', 'ONEP_VTY_SERVICE_SET', 'ONEP_ONEFW_SERVICE_SET', 'ONEP_MEDIA\
TRACE_SERVICE_SET', 'ONEP_DATAPATH_SERVICE_SET', 'ONEP_ADVRTG_SERVICE_\
SET')

Property Details

network_element

Gets the network element.

Get Method:
_get_network_element(self)
Type:
NetworkElement

service_set_list

Gets the HashMap containing the service name and the versions. The HashMap key is the service name as defined in ServiceSetName and the HashMap value is the array of available service set versions. Because a particular service set can have multiple versions, the value associated with each key is an array of strings.

Get Method:
_get_service_set_list(self)
Type:
dict