The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cma.obsolete_cma.DroneInfo Class Reference

Public Member Functions

def __init__
 
def addaddr
 
def logjson
 
def add_netconfig_addresses
 
def select_ip
 
def send_hbmsg
 
def death_report
 
def start_heartbeat
 
def stop_heartbeat
 
def __str__
 

Static Public Member Functions

def reset
 
def find
 
def add
 

Data Fields

 designation
 
 addresses
 
 jsondiscovery
 
 ringpeers
 
 ringmemberships
 
 io
 
 drone
 
 primaryIP
 
 primaryIF
 
 status
 
 reason
 

Static Public Attributes

dictionary droneset = {}
 
dictionary droneIPs = {}
 

Detailed Description

Definition at line 406 of file obsolete_cma.py.

Constructor & Destructor Documentation

def cma.obsolete_cma.DroneInfo.__init__ (   self,
  designation,
  io,
  kw 
)

Definition at line 410 of file obsolete_cma.py.

Member Function Documentation

def cma.obsolete_cma.DroneInfo.__str__ (   self)
def cma.obsolete_cma.DroneInfo.add (   designation,
  io,
  reason,
  status = 'up' 
)
static

Definition at line 570 of file obsolete_cma.py.

def cma.obsolete_cma.DroneInfo.add_netconfig_addresses (   self,
  jsonobj 
)

Definition at line 443 of file obsolete_cma.py.

Referenced by cma.obsolete_cma.DroneInfo.logjson().

Here is the caller graph for this function:

def cma.obsolete_cma.DroneInfo.addaddr (   self,
  addr,
  ifname = None 
)
def cma.obsolete_cma.DroneInfo.death_report (   self,
  status,
  reason,
  fromaddr,
  frameset 
)
def cma.obsolete_cma.DroneInfo.find (   designation)
static

Definition at line 557 of file obsolete_cma.py.

def cma.obsolete_cma.DroneInfo.logjson (   self,
  jsontext 
)
def cma.obsolete_cma.DroneInfo.reset ( )
static

Definition at line 420 of file obsolete_cma.py.

def cma.obsolete_cma.DroneInfo.select_ip (   self,
  ring,
  partner 
)

Definition at line 467 of file obsolete_cma.py.

Referenced by cma.obsolete_cma.DroneInfo.start_heartbeat(), and cma.obsolete_cma.DroneInfo.stop_heartbeat().

Here is the caller graph for this function:

def cma.obsolete_cma.DroneInfo.send_hbmsg (   self,
  dest,
  fstype,
  port,
  addrlist 
)
Send a message with an attached address list and optional port.
   This is intended primarily for start or stop heartbeating messages.

Definition at line 480 of file obsolete_cma.py.

Referenced by cma.obsolete_cma.DroneInfo.start_heartbeat(), and cma.obsolete_cma.DroneInfo.stop_heartbeat().

Here is the caller graph for this function:

def cma.obsolete_cma.DroneInfo.start_heartbeat (   self,
  ring,
  partner1,
  partner2 = None 
)
def cma.obsolete_cma.DroneInfo.stop_heartbeat (   self,
  ring,
  partner1,
  partner2 = None 
)

Field Documentation

cma.obsolete_cma.DroneInfo.addresses

Definition at line 412 of file obsolete_cma.py.

Referenced by cma.obsolete_cma.DroneInfo.addaddr().

cma.obsolete_cma.DroneInfo.drone

Definition at line 417 of file obsolete_cma.py.

dictionary cma.obsolete_cma.DroneInfo.droneIPs = {}
static

Definition at line 409 of file obsolete_cma.py.

dictionary cma.obsolete_cma.DroneInfo.droneset = {}
static

Definition at line 408 of file obsolete_cma.py.

cma.obsolete_cma.DroneInfo.io

Definition at line 416 of file obsolete_cma.py.

Referenced by cma.obsolete_cma.DispatchSTARTUP.dispatch().

cma.obsolete_cma.DroneInfo.jsondiscovery

Definition at line 413 of file obsolete_cma.py.

Referenced by cma.obsolete_cma.DroneInfo.logjson().

cma.obsolete_cma.DroneInfo.primaryIF

Definition at line 465 of file obsolete_cma.py.

cma.obsolete_cma.DroneInfo.primaryIP

Definition at line 464 of file obsolete_cma.py.

cma.obsolete_cma.DroneInfo.reason

Definition at line 500 of file obsolete_cma.py.

cma.obsolete_cma.DroneInfo.ringmemberships

Definition at line 415 of file obsolete_cma.py.

cma.obsolete_cma.DroneInfo.ringpeers
cma.obsolete_cma.DroneInfo.status

Definition at line 499 of file obsolete_cma.py.


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