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

Public Member Functions

def __init__ (self, domain, ipaddr, cidrmask='unknown')
 
- Public Member Functions inherited from cma.graphnodes.GraphNode
def __init__ (self, domain, time_create_ms=None, time_create_iso8601=None)
 
def __meta_labels__ (cls)
 
def post_db_init (self)
 
def update_attributes (self, other)
 
def __str__ (self)
 
def get (self, attrstring, valueifnotfound=None)
 
def JSON (self, includemap=None, excludemap=None)
 

Static Public Member Functions

def __meta_keyattrs__ ()
 
- Static Public Member Functions inherited from cma.graphnodes.GraphNode
def factory (kwargs)
 
def clean_graphnodes ()
 
def __meta_keyattrs__ ()
 
def initclasstypeobj (store, nodetype)
 

Data Fields

 ipaddr
 
 cidrmask
 
 hostname
 
- Data Fields inherited from cma.graphnodes.GraphNode
 domain
 
 nodetype
 
 time_create_iso8601
 
 time_create_ms
 

Static Public Attributes

bool StoreHostNames = True
 
- Static Public Attributes inherited from cma.graphnodes.GraphNode
 REESC = re.compile(r'\\')
 
 REQUOTE = re.compile(r'"')
 
dictionary classmap = {}
 

Detailed Description

An object that represents a v4 or v6 IP address without a port - characterized by its
IP address. They are always represented in the database in ipv6 format.

Definition at line 353 of file graphnodes.py.

Constructor & Destructor Documentation

def cma.graphnodes.IPaddrNode.__init__ (   self,
  domain,
  ipaddr,
  cidrmask = 'unknown' 
)

Definition at line 358 of file graphnodes.py.

References cma.drawwithdot.type.

Member Function Documentation

def cma.graphnodes.IPaddrNode.__meta_keyattrs__ ( )
static

Definition at line 386 of file graphnodes.py.

Field Documentation

cma.graphnodes.IPaddrNode.cidrmask

Definition at line 377 of file graphnodes.py.

cma.graphnodes.IPaddrNode.hostname

Definition at line 381 of file graphnodes.py.

cma.graphnodes.IPaddrNode.ipaddr

Definition at line 376 of file graphnodes.py.

Referenced by cma.graphnodes.IPtcpportNode.format_ipport().

bool cma.graphnodes.IPaddrNode.StoreHostNames = True
static

Definition at line 357 of file graphnodes.py.


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