The Assimilation Project  based on Assimilation version 1.1.7.1474836767
cma.consts.CMAconsts Class Reference
Inheritance diagram for cma.consts.CMAconsts:
Collaboration diagram for cma.consts.CMAconsts:

Static Public Attributes

string globaldomain = 'global'
 
string metadomain = 'metadata'
 
string BASERULESETNAME = 'BASE'
 
string NODE_ring = 'HbRing'
 Indexes: ringindex - index of all Ring objects [nodetype=ring] droneindex - index of all Drone objects [nodetype=drone] ipindex - index of all IP address objects [nodetype=ipaddr] macindex - index of all interfaces by MAC address [nodetype=nic]. More...
 
string NODE_drone = 'Drone'
 
string NODE_system = 'SystemNode'
 
string NODE_nicnode = 'NICNode'
 
string NODE_ipaddr = 'IPaddrNode'
 
string NODE_ipproc = 'ProcessNode'
 
string NODE_tcpipport = 'IPtcpportNode'
 
string NODE_monitoraction = 'MonitorAction'
 
string NODE_bprules = 'BPRules'
 
string NODE_bpruleset = 'BPRuleSet'
 
string NODE_jsonmap = 'JSONMapNode'
 
string NODE_childsystem = 'ChildSystem'
 
string NODE_vagrantsystem = 'VagrantSystem'
 
string NODE_dockersystem = 'DockerSystem'
 
string REL_nicowner = 'nicowner'
 
string REL_wiredto = 'wiredto'
 
string REL_ipowner = 'ipowner'
 
string REL_parentring = 'parentring'
 
string REL_baseip = 'baseip'
 
string REL_tcpservice = 'tcpservice'
 
string REL_hosting = 'hosting'
 
string REL_monitoring = 'monitoring'
 
string REL_tcpclient = 'tcpclient'
 
string REL_basedon = 'basedon'
 
string REL_basis = 'basis'
 
string REL_bprulefor = 'ruledbybp'
 
string REL_jsonattr = 'jsonattr'
 
string REL_parentsys = 'parentsys'
 
string REL_oneringnext = 'RingNext_The_One_Ring'
 
string REL_onering = 'RingMember_The_One_Ring'
 
string ROLE_netfirewall = 'netfirewall'
 
string ROLE_netbalancer = 'loadbalancer'
 
string ROLE_repeater = 'repeater'
 
string ROLE_bridge = 'bridge'
 
string ROLE_tb_bridge = 'tb_bridge'
 
string ROLE_srcbridge = 'srcbridge'
 
string ROLE_router = 'router'
 
string ROLE_phone = 'phone'
 
string ROLE_AccessPoint = 'WLANAP'
 
string ROLE_DOCSIS = 'DOCSIS'
 
string ROLE_igmp = 'igmp-filter'
 
string ROLE_Station = 'station'
 
string ROLE_UPS = 'UPS'
 
string ROLE_CRAC = 'crac'
 
string ROLE_sensor = 'sensor'
 
string ROLE_drone = 'drone'
 
string ROLE_host = 'host'
 
string ROLE_client = 'client'
 
string ROLE_server = 'server'
 
string QUERY_RULESET_RULES
 
dictionary classkeymap = {}
 
dictionary uniqueindexes = {}
 

Detailed Description

This class holds the constants we use for the CMA.
We make it a class to minimize namespace pollution.

Definition at line 29 of file consts.py.

Field Documentation

string cma.consts.CMAconsts.BASERULESETNAME = 'BASE'
static

Definition at line 36 of file consts.py.

dictionary cma.consts.CMAconsts.classkeymap = {}
static
string cma.consts.CMAconsts.globaldomain = 'global'
static

Definition at line 34 of file consts.py.

string cma.consts.CMAconsts.metadomain = 'metadata'
static

Definition at line 35 of file consts.py.

string cma.consts.CMAconsts.NODE_bprules = 'BPRules'
static

Definition at line 56 of file consts.py.

string cma.consts.CMAconsts.NODE_bpruleset = 'BPRuleSet'
static

Definition at line 57 of file consts.py.

string cma.consts.CMAconsts.NODE_childsystem = 'ChildSystem'
static

Definition at line 59 of file consts.py.

string cma.consts.CMAconsts.NODE_dockersystem = 'DockerSystem'
static

Definition at line 61 of file consts.py.

string cma.consts.CMAconsts.NODE_drone = 'Drone'
static

Definition at line 49 of file consts.py.

string cma.consts.CMAconsts.NODE_ipaddr = 'IPaddrNode'
static

Definition at line 52 of file consts.py.

string cma.consts.CMAconsts.NODE_ipproc = 'ProcessNode'
static

Definition at line 53 of file consts.py.

string cma.consts.CMAconsts.NODE_jsonmap = 'JSONMapNode'
static

Definition at line 58 of file consts.py.

string cma.consts.CMAconsts.NODE_monitoraction = 'MonitorAction'
static

Definition at line 55 of file consts.py.

string cma.consts.CMAconsts.NODE_nicnode = 'NICNode'
static

Definition at line 51 of file consts.py.

string cma.consts.CMAconsts.NODE_ring = 'HbRing'
static

Indexes: ringindex - index of all Ring objects [nodetype=ring] droneindex - index of all Drone objects [nodetype=drone] ipindex - index of all IP address objects [nodetype=ipaddr] macindex - index of all interfaces by MAC address [nodetype=nic].

Node types [nodetype enumeration values]:

Definition at line 48 of file consts.py.

string cma.consts.CMAconsts.NODE_system = 'SystemNode'
static

Definition at line 50 of file consts.py.

string cma.consts.CMAconsts.NODE_tcpipport = 'IPtcpportNode'
static

Definition at line 54 of file consts.py.

string cma.consts.CMAconsts.NODE_vagrantsystem = 'VagrantSystem'
static

Definition at line 60 of file consts.py.

string cma.consts.CMAconsts.QUERY_RULESET_RULES
static
Initial value:
1 = '''START n=node:BPRules('*:*')
2  WHERE n.rulesetname = {rulesetname}
3  RETURN n'''

Definition at line 114 of file consts.py.

string cma.consts.CMAconsts.REL_basedon = 'basedon'
static

Definition at line 77 of file consts.py.

string cma.consts.CMAconsts.REL_baseip = 'baseip'
static

Definition at line 71 of file consts.py.

string cma.consts.CMAconsts.REL_basis = 'basis'
static

Definition at line 78 of file consts.py.

string cma.consts.CMAconsts.REL_bprulefor = 'ruledbybp'
static

Definition at line 79 of file consts.py.

string cma.consts.CMAconsts.REL_hosting = 'hosting'
static

Definition at line 74 of file consts.py.

string cma.consts.CMAconsts.REL_ipowner = 'ipowner'
static

Definition at line 69 of file consts.py.

string cma.consts.CMAconsts.REL_jsonattr = 'jsonattr'
static

Definition at line 80 of file consts.py.

string cma.consts.CMAconsts.REL_monitoring = 'monitoring'
static

Definition at line 75 of file consts.py.

string cma.consts.CMAconsts.REL_nicowner = 'nicowner'
static

Definition at line 67 of file consts.py.

string cma.consts.CMAconsts.REL_onering = 'RingMember_The_One_Ring'
static

Definition at line 83 of file consts.py.

string cma.consts.CMAconsts.REL_oneringnext = 'RingNext_The_One_Ring'
static

Definition at line 82 of file consts.py.

string cma.consts.CMAconsts.REL_parentring = 'parentring'
static

Definition at line 70 of file consts.py.

string cma.consts.CMAconsts.REL_parentsys = 'parentsys'
static

Definition at line 81 of file consts.py.

string cma.consts.CMAconsts.REL_tcpclient = 'tcpclient'
static

Definition at line 76 of file consts.py.

string cma.consts.CMAconsts.REL_tcpservice = 'tcpservice'
static

Definition at line 72 of file consts.py.

string cma.consts.CMAconsts.REL_wiredto = 'wiredto'
static

Definition at line 68 of file consts.py.

string cma.consts.CMAconsts.ROLE_AccessPoint = 'WLANAP'
static

Definition at line 97 of file consts.py.

string cma.consts.CMAconsts.ROLE_bridge = 'bridge'
static

Definition at line 92 of file consts.py.

string cma.consts.CMAconsts.ROLE_client = 'client'
static

Definition at line 106 of file consts.py.

string cma.consts.CMAconsts.ROLE_CRAC = 'crac'
static

Definition at line 102 of file consts.py.

string cma.consts.CMAconsts.ROLE_DOCSIS = 'DOCSIS'
static

Definition at line 98 of file consts.py.

string cma.consts.CMAconsts.ROLE_drone = 'drone'
static

Definition at line 104 of file consts.py.

string cma.consts.CMAconsts.ROLE_host = 'host'
static

Definition at line 105 of file consts.py.

string cma.consts.CMAconsts.ROLE_igmp = 'igmp-filter'
static

Definition at line 99 of file consts.py.

string cma.consts.CMAconsts.ROLE_netbalancer = 'loadbalancer'
static

Definition at line 90 of file consts.py.

string cma.consts.CMAconsts.ROLE_netfirewall = 'netfirewall'
static

Definition at line 89 of file consts.py.

string cma.consts.CMAconsts.ROLE_phone = 'phone'
static

Definition at line 96 of file consts.py.

string cma.consts.CMAconsts.ROLE_repeater = 'repeater'
static

Definition at line 91 of file consts.py.

string cma.consts.CMAconsts.ROLE_router = 'router'
static

Definition at line 95 of file consts.py.

string cma.consts.CMAconsts.ROLE_sensor = 'sensor'
static

Definition at line 103 of file consts.py.

string cma.consts.CMAconsts.ROLE_server = 'server'
static

Definition at line 107 of file consts.py.

string cma.consts.CMAconsts.ROLE_srcbridge = 'srcbridge'
static

Definition at line 94 of file consts.py.

string cma.consts.CMAconsts.ROLE_Station = 'station'
static

Definition at line 100 of file consts.py.

string cma.consts.CMAconsts.ROLE_tb_bridge = 'tb_bridge'
static

Definition at line 93 of file consts.py.

string cma.consts.CMAconsts.ROLE_UPS = 'UPS'
static

Definition at line 101 of file consts.py.

dictionary cma.consts.CMAconsts.uniqueindexes = {}
static

Definition at line 119 of file consts.py.


The documentation for this class was generated from the following file: