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

Public Member Functions

def __init__
 
def getring
 
def add_ringindex
 
def getdrone
 
def add_droneindex
 
def getMACaddr
 
def add_MACindex
 
def getIPaddr
 
def add_IPindex
 
def new_ring
 
def new_drone
 
def new_nic
 
def new_IPaddr
 

Data Fields

 db
 
 ringindex
 
 droneindex
 
 ipindex
 
 macindex
 

Detailed Description

Class defining our Neo4J database.

Definition at line 106 of file obsolete_cma.py.

Constructor & Destructor Documentation

def obsolete_cma.CMAdb.__init__ (   self,
  pathname 
)

Definition at line 130 of file obsolete_cma.py.

Member Function Documentation

def obsolete_cma.CMAdb.add_droneindex (   self,
  drone 
)

Definition at line 176 of file obsolete_cma.py.

References obsolete_cma.CMAdb.getdrone(), and obsolete_cma.CMAdb.ringindex.

Referenced by obsolete_cma.CMAdb.new_drone().

Here is the call graph for this function:

Here is the caller graph for this function:

def obsolete_cma.CMAdb.add_IPindex (   self,
  node 
)

Definition at line 208 of file obsolete_cma.py.

References obsolete_cma.CMAdb.getIPaddr(), and obsolete_cma.CMAdb.ringindex.

Referenced by obsolete_cma.CMAdb.new_IPaddr().

Here is the call graph for this function:

Here is the caller graph for this function:

def obsolete_cma.CMAdb.add_MACindex (   self,
  node 
)

Definition at line 192 of file obsolete_cma.py.

References obsolete_cma.CMAdb.getMACaddr(), and obsolete_cma.CMAdb.ringindex.

Referenced by obsolete_cma.CMAdb.new_nic().

Here is the call graph for this function:

Here is the caller graph for this function:

def obsolete_cma.CMAdb.add_ringindex (   self,
  node 
)

Definition at line 157 of file obsolete_cma.py.

References obsolete_cma.CMAdb.getring(), and obsolete_cma.CMAdb.ringindex.

Referenced by obsolete_cma.CMAdb.new_ring().

Here is the call graph for this function:

Here is the caller graph for this function:

def obsolete_cma.CMAdb.getdrone (   self,
  designation 
)

Definition at line 164 of file obsolete_cma.py.

References obsolete_cma.CMAdb.droneindex.

Referenced by obsolete_cma.CMAdb.add_droneindex(), and obsolete_cma.CMAdb.new_drone().

Here is the caller graph for this function:

def obsolete_cma.CMAdb.getIPaddr (   self,
  address 
)

Definition at line 199 of file obsolete_cma.py.

References obsolete_cma.CMAdb.ringindex.

Referenced by obsolete_cma.CMAdb.add_IPindex().

Here is the caller graph for this function:

def obsolete_cma.CMAdb.getMACaddr (   self,
  address 
)

Definition at line 183 of file obsolete_cma.py.

References obsolete_cma.CMAdb.macindex.

Referenced by obsolete_cma.CMAdb.add_MACindex().

Here is the caller graph for this function:

def obsolete_cma.CMAdb.getring (   self,
  name 
)

Definition at line 148 of file obsolete_cma.py.

References obsolete_cma.CMAdb.ringindex.

Referenced by obsolete_cma.CMAdb.add_ringindex(), and obsolete_cma.CMAdb.new_ring().

Here is the caller graph for this function:

def obsolete_cma.CMAdb.new_drone (   self,
  designation,
  kw 
)

Definition at line 227 of file obsolete_cma.py.

References obsolete_cma.CMAdb.add_droneindex(), cma.cmadb.CMAdb.db, cma.cmainit.CMAinit.db, obsolete_cma.CMAdb.db, and obsolete_cma.CMAdb.getdrone().

Here is the call graph for this function:

def obsolete_cma.CMAdb.new_IPaddr (   self,
  nic,
  ipaddr,
  kw 
)
Create a new IP address (or return a pre-existing one), and point it at its parent
NIC and its grandparent drone

Definition at line 261 of file obsolete_cma.py.

References obsolete_cma.CMAdb.add_IPindex(), and obsolete_cma.CMAdb.ipindex.

Here is the call graph for this function:

def obsolete_cma.CMAdb.new_nic (   self,
  drone,
  macaddr,
  kw 
)
Create a new NIC (or return a pre-existing one), and put it in the mac address index,
and point it at its parent drone.

Definition at line 242 of file obsolete_cma.py.

References obsolete_cma.CMAdb.add_MACindex(), and obsolete_cma.CMAdb.macindex.

Here is the call graph for this function:

def obsolete_cma.CMAdb.new_ring (   self,
  name,
  kw 
)

Definition at line 215 of file obsolete_cma.py.

References obsolete_cma.CMAdb.add_ringindex(), and obsolete_cma.CMAdb.getring().

Here is the call graph for this function:

Field Documentation

obsolete_cma.CMAdb.db

Definition at line 138 of file obsolete_cma.py.

Referenced by querytest.QueryTest.checkone(), and obsolete_cma.CMAdb.new_drone().

obsolete_cma.CMAdb.droneindex

Definition at line 144 of file obsolete_cma.py.

Referenced by obsolete_cma.CMAdb.getdrone().

obsolete_cma.CMAdb.ipindex

Definition at line 145 of file obsolete_cma.py.

Referenced by obsolete_cma.CMAdb.new_IPaddr().

obsolete_cma.CMAdb.macindex

Definition at line 146 of file obsolete_cma.py.

Referenced by obsolete_cma.CMAdb.getMACaddr(), and obsolete_cma.CMAdb.new_nic().


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