Esempio n. 1
0
 def __init__(self):
     self.conf = cfg.CONF
     self.ns_states = {}
     self.request_info_by_msgid = {}
     self.ext_sock = None
     self.ext_addr = ""
     self.ns_lock = eventlet.semaphore.Semaphore()
     self.debug_stats = debug_stats.DebugStats('dns')
Esempio n. 2
0
 def __init__(self):
     self.conf = cfg.CONF
     self.ns_states = {}
     self.int_sockets_by_vpn = {}
     self.ext_sock = None
     self.ext_addr = ""
     self.ns_lock = eventlet.semaphore.Semaphore()
     self.int_sock_retries = 0
     self.debug_stats = debug_stats.DebugStats('dhcp')
Esempio n. 3
0
 def __init__(self):
     self.conf = cfg.CONF
     self.conf.register_group(opt_cpnr_group)
     self.conf.register_opts(OPTS, opt_cpnr_group)
     if bc.NEUTRON_VERSION < bc.NEUTRON_NEWTON_VERSION:
         LOG.debug('(cisco_pnr) http_server: {}'.format(
             self.conf.cisco_pnr.http_server))
     LOG.debug('(cisco_pnr) external_interface: {}'.format(
         self.conf.cisco_pnr.external_interface))
     LOG.debug('(cisco_pnr) dhcp_server_addr: {}'.format(
         self.conf.cisco_pnr.dns_server_addr))
     LOG.debug('(cisco_pnr) dhcp_server_port: {}'.format(
         self.conf.cisco_pnr.dns_server_port))
     self.ns_states = {}
     self.request_info_by_msgid = {}
     self.ext_sock = None
     self.ext_addr = ""
     self.ns_lock = eventlet.semaphore.Semaphore()
     self.debug_stats = debug_stats.DebugStats('dns')
     self.kill_now = False
 def __init__(self):
     self.conf = cfg.CONF
     self.conf.register_group(opt_cpnr_group)
     self.conf.register_opts(OPTS, opt_cpnr_group)
     LOG.debug('(cisco_pnr) http_server: {}'.format(
         self.conf.cisco_pnr.http_server))
     LOG.debug('(cisco_pnr) external_interface: {}'.format(
         self.conf.cisco_pnr.external_interface))
     LOG.debug('(cisco_pnr) dhcp_server_addr: {}'.format(
         self.conf.cisco_pnr.dhcp_server_addr))
     LOG.debug('(cisco_pnr) dhcp_server_port: {}'.format(
         self.conf.cisco_pnr.dhcp_server_port))
     self.ns_states = {}
     self.int_sockets_by_vpn = {}
     self.ext_sock = None
     self.ext_addr = ""
     self.ns_lock = eventlet.semaphore.Semaphore()
     self.int_sock_retries = 0
     self.debug_stats = debug_stats.DebugStats('dhcp')
     self.kill_now = False