Open Kilda Java Documentation
kilda.traffexam.context.Context Class Reference
Inheritance diagram for kilda.traffexam.context.Context:

Public Member Functions

def __init__ (self, iface, rest_bind)
 
def close (self)
 
def path (self, chunks)
 
def acquire_resources (self, resources)
 
def make_lock_file_name (self)
 
def make_network_namespace_name (self)
 
def make_bridge_name (self)
 
def make_veth_base_name (self)
 
def set_root (self, root)
 
def set_default_logging (self)
 
def set_logging_config (self, config, incremental=False)
 
def set_debug_mode (self, mode)
 
def set_service_adapter (self, adapter)
 

Public Attributes

 iface
 
 rest_bind
 
 children
 
 shared_registry
 
 is_debug
 

Static Public Attributes

bool is_debug = False
 
 root = os.path.join(os.sep, 'var', 'run', const.PROJECT_NAME)
 
 service = None
 

Detailed Description

Definition at line 25 of file context.py.

Constructor & Destructor Documentation

◆ __init__()

def kilda.traffexam.context.Context.__init__ (   self,
  iface,
  rest_bind 
)

Definition at line 32 of file context.py.

Member Function Documentation

◆ acquire_resources()

def kilda.traffexam.context.Context.acquire_resources (   self,
  resources 
)

Definition at line 52 of file context.py.

◆ close()

def kilda.traffexam.context.Context.close (   self)

Definition at line 45 of file context.py.

◆ make_bridge_name()

def kilda.traffexam.context.Context.make_bridge_name (   self)

Definition at line 64 of file context.py.

◆ make_lock_file_name()

def kilda.traffexam.context.Context.make_lock_file_name (   self)

Definition at line 56 of file context.py.

◆ make_network_namespace_name()

def kilda.traffexam.context.Context.make_network_namespace_name (   self)

Definition at line 60 of file context.py.

◆ make_veth_base_name()

def kilda.traffexam.context.Context.make_veth_base_name (   self)

Definition at line 67 of file context.py.

◆ path()

def kilda.traffexam.context.Context.path (   self,
  chunks 
)

Definition at line 49 of file context.py.

◆ set_debug_mode()

def kilda.traffexam.context.Context.set_debug_mode (   self,
  mode 
)

Definition at line 93 of file context.py.

◆ set_default_logging()

def kilda.traffexam.context.Context.set_default_logging (   self)

Definition at line 76 of file context.py.

◆ set_logging_config()

def kilda.traffexam.context.Context.set_logging_config (   self,
  config,
  incremental = False 
)

Definition at line 85 of file context.py.

◆ set_root()

def kilda.traffexam.context.Context.set_root (   self,
  root 
)

Definition at line 70 of file context.py.

◆ set_service_adapter()

def kilda.traffexam.context.Context.set_service_adapter (   self,
  adapter 
)

Definition at line 97 of file context.py.

Member Data Documentation

◆ children

kilda.traffexam.context.Context.children

Definition at line 36 of file context.py.

◆ iface

kilda.traffexam.context.Context.iface

Definition at line 33 of file context.py.

◆ is_debug [1/2]

bool kilda.traffexam.context.Context.is_debug = False
static

Definition at line 26 of file context.py.

◆ is_debug [2/2]

kilda.traffexam.context.Context.is_debug

Definition at line 94 of file context.py.

◆ rest_bind

kilda.traffexam.context.Context.rest_bind

Definition at line 34 of file context.py.

◆ root

kilda.traffexam.context.Context.root = os.path.join(os.sep, 'var', 'run', const.PROJECT_NAME)
static

Definition at line 28 of file context.py.

◆ service

kilda.traffexam.context.Context.service = None
static

Definition at line 29 of file context.py.

◆ shared_registry

kilda.traffexam.context.Context.shared_registry

Definition at line 37 of file context.py.


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