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

Public Member Functions

def processpkt (self, drone, _srcaddr, jsonobj, discoverychanged)
 
- Public Member Functions inherited from cma.discoverylistener.DiscoveryListener
def __init__ (self, config, packetio, store, log, debug)
 
def priority (cls)
 
def desiredpackets (cls)
 
def processpkt (self, drone, srcaddr, json, discoverychanged)
 

Static Public Attributes

 prio = DiscoveryListener.PRI_CORE
 
tuple wantedpackets = ('netconfig',)
 
- Static Public Attributes inherited from cma.discoverylistener.DiscoveryListener
int PRI_CORE = 0
 
int PRI_OPTION = 1
 
int PRI_CONTRIB = 2
 
int PRI_LIMIT = PRI_CONTRIB+1
 
 prio = PRI_CONTRIB
 
 wantedpackets = None
 

Additional Inherited Members

- Data Fields inherited from cma.discoverylistener.DiscoveryListener
 packetio
 
 store
 
 log
 
 debug
 
 config
 

Detailed Description

Definition at line 128 of file discoverylistener.py.

Member Function Documentation

def cma.discoverylistener.NetconfigDiscoveryListener.processpkt (   self,
  drone,
  _srcaddr,
  jsonobj,
  discoverychanged 
)
Save away the network configuration data we got from netconfig JSON discovery.
This includes all our NICs, their MAC addresses, all our IP addresses and so on
for any (non-loopback) interface.  Whee!

This code is more complicated than I'd like but it's not obvious how to simplify it...

Definition at line 134 of file discoverylistener.py.

Field Documentation

cma.discoverylistener.NetconfigDiscoveryListener.prio = DiscoveryListener.PRI_CORE
static
tuple cma.discoverylistener.NetconfigDiscoveryListener.wantedpackets = ('netconfig',)
static

Definition at line 132 of file discoverylistener.py.


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