示例#1
0
文件: agent.py 项目: see0/neutron
 def __init__(self, conf):
     self.conf = conf
     agent_utils.ensure_directory_exists_without_file(
         cfg.CONF.metadata_proxy_socket)
     self._init_state_reporting()
示例#2
0
 def __init__(self, conf):
     self.conf = conf
     agent_utils.ensure_directory_exists_without_file(
         cfg.CONF.metadata_proxy_socket)
     self._init_state_reporting()
示例#3
0
    def __init__(self, agent, conf):
        self.agent = agent
        self.conf = conf

        agent_utils.ensure_directory_exists_without_file(
            self.get_keepalived_state_change_socket_path(self.conf))
示例#4
0
    def __init__(self, agent, conf):
        self.agent = agent
        self.conf = conf

        agent_utils.ensure_directory_exists_without_file(
            self.get_keepalived_state_change_socket_path(self.conf))
示例#5
0
 def __init__(self, conf, chassis):
     self.conf = conf
     self.chassis = chassis
     agent_utils.ensure_directory_exists_without_file(
         cfg.CONF.metadata_proxy_socket)