示例#1
0
 def disable(self):
     self._process_monitor.unregister(uuid=self._router_id,
                                      service_name=RADVD_SERVICE_NAME)
     pm = self._get_radvd_process_manager()
     pm.disable()
     utils.remove_conf_files(self._agent_conf.ra_confs, self._router_id)
     LOG.debug("radvd disabled for router %s", self._router_id)
示例#2
0
文件: ra.py 项目: Akanksha08/neutron
 def disable(self):
     self._process_monitor.unregister(uuid=self._router_id,
                                      service_name=RADVD_SERVICE_NAME)
     pm = self._get_radvd_process_manager()
     pm.disable()
     utils.remove_conf_files(cfg.CONF.ra_confs, self._router_id)
     LOG.debug("radvd disabled for router %s", self._router_id)
示例#3
0
def disable_ipv6_ra(router_id, router_ns, root_helper):
    radvd = external_process.ProcessManager(cfg.CONF,
                                            router_id,
                                            root_helper,
                                            router_ns,
                                            'radvd')
    radvd.disable()
    utils.remove_conf_files(cfg.CONF.ra_confs, router_id)
    LOG.debug("radvd disabled for router %s", router_id)
示例#4
0
文件: ra.py 项目: kjylmr/neutron
def disable_ipv6_ra(router_id, router_ns, root_helper):
    radvd = external_process.ProcessManager(cfg.CONF,
                                            router_id,
                                            root_helper,
                                            router_ns,
                                            'radvd')
    radvd.disable()
    utils.remove_conf_files(cfg.CONF.ra_confs, router_id)
    LOG.debug("radvd disabled for router %s", router_id)
示例#5
0
 def disable(self):
     self._process_monitor.disable(self._router_id,
                                   service=RADVD_SERVICE_NAME)
     utils.remove_conf_files(cfg.CONF.ra_confs, self._router_id)
     LOG.debug("radvd disabled for router %s", self._router_id)
示例#6
0
 def disable(self):
     LOG.debug("disabling ndpd for router %s", self._router_id)
     utils.remove_conf_files(cfg.CONF.ra_confs, self._router_id)
     self._refresh_ndpd("")
示例#7
0
def disable_ipv6_ra(router_id, process_monitor):
    process_monitor.disable(router_id, service=RADVD_SERVICE_NAME)
    utils.remove_conf_files(cfg.CONF.ra_confs, router_id)
    LOG.debug("radvd disabled for router %s", router_id)
示例#8
0
def disable_ipv6_ra(router_id, process_monitor):
    process_monitor.disable(router_id, service=RADVD_SERVICE_NAME)
    utils.remove_conf_files(cfg.CONF.ra_confs, router_id)
    LOG.debug("radvd disabled for router %s", router_id)