The Assimilation Project  based on Assimilation version 1.1.6.1462071269
obsolete_cma.DroneInfo Class Reference

Public Member Functions

def __init__ (self, designation, io, kw)
 
def addaddr
 
def logjson (self, jsontext)
 
def add_netconfig_addresses (self, jsonobj)
 
def select_ip (self, ring, partner)
 
def send_hbmsg (self, dest, fstype, port, addrlist)
 
def death_report (self, status, reason, fromaddr, frameset)
 
def start_heartbeat
 
def stop_heartbeat
 
def __str__ (self)
 

Static Public Member Functions

def reset ()
 
def find (designation)
 
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 obsolete_cma.DroneInfo.__init__ (   self,
  designation,
  io,
  kw 
)

Definition at line 410 of file obsolete_cma.py.

Member Function Documentation

def obsolete_cma.DroneInfo.__str__ (   self)

Definition at line 552 of file obsolete_cma.py.

References obsolete_cma.DroneInfo.designation.

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

Definition at line 570 of file obsolete_cma.py.

def obsolete_cma.DroneInfo.add_netconfig_addresses (   self,
  jsonobj 
)

Definition at line 443 of file obsolete_cma.py.

Referenced by obsolete_cma.DroneInfo.logjson().

Here is the caller graph for this function:

def obsolete_cma.DroneInfo.addaddr (   self,
  addr,
  ifname = None 
)

Definition at line 424 of file obsolete_cma.py.

References obsolete_cma.DroneInfo.addresses.

def obsolete_cma.DroneInfo.death_report (   self,
  status,
  reason,
  fromaddr,
  frameset 
)

Definition at line 495 of file obsolete_cma.py.

References obsolete_cma.DroneInfo.designation.

def obsolete_cma.DroneInfo.find (   designation)
static

Definition at line 557 of file obsolete_cma.py.

def obsolete_cma.DroneInfo.logjson (   self,
  jsontext 
)

Definition at line 430 of file obsolete_cma.py.

References obsolete_cma.DroneInfo.add_netconfig_addresses(), and obsolete_cma.DroneInfo.jsondiscovery.

Here is the call graph for this function:

def obsolete_cma.DroneInfo.reset ( )
static

Definition at line 420 of file obsolete_cma.py.

def 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.droneinfo.Drone.start_heartbeat(), obsolete_cma.DroneInfo.start_heartbeat(), cma.droneinfo.Drone.stop_heartbeat(), and obsolete_cma.DroneInfo.stop_heartbeat().

Here is the caller graph for this function:

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

Definition at line 510 of file obsolete_cma.py.

References obsolete_cma.DroneInfo.ringpeers, obsolete_cma.DroneInfo.select_ip(), and obsolete_cma.DroneInfo.send_hbmsg().

Here is the call graph for this function:

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

Definition at line 530 of file obsolete_cma.py.

References obsolete_cma.DroneInfo.ringpeers, obsolete_cma.DroneInfo.select_ip(), and obsolete_cma.DroneInfo.send_hbmsg().

Here is the call graph for this function:

Field Documentation

obsolete_cma.DroneInfo.addresses

Definition at line 412 of file obsolete_cma.py.

Referenced by obsolete_cma.DroneInfo.addaddr().

obsolete_cma.DroneInfo.drone

Definition at line 417 of file obsolete_cma.py.

dictionary obsolete_cma.DroneInfo.droneIPs = {}
static

Definition at line 409 of file obsolete_cma.py.

dictionary obsolete_cma.DroneInfo.droneset = {}
static

Definition at line 408 of file obsolete_cma.py.

obsolete_cma.DroneInfo.jsondiscovery

Definition at line 413 of file obsolete_cma.py.

Referenced by obsolete_cma.DroneInfo.logjson().

obsolete_cma.DroneInfo.primaryIF

Definition at line 465 of file obsolete_cma.py.

obsolete_cma.DroneInfo.primaryIP

Definition at line 464 of file obsolete_cma.py.

obsolete_cma.DroneInfo.reason
obsolete_cma.DroneInfo.ringmemberships

Definition at line 415 of file obsolete_cma.py.

obsolete_cma.DroneInfo.ringpeers

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