Esempio n. 1
0
 def restart_service(self):
     log.info('Start to restart openstack service for nova/neutron/cinder.')
     cps_service = CPSServiceBusiness()
     for proxy in self.proxy_match_region.keys():
         cps_service.stop_all(proxy)
         cps_service.start_all(proxy)
     log.info('Finish to restart openstack service for nova/neutron/cinder.')
Esempio n. 2
0
 def restart_service(self):
     log.info('Start to restart openstack service for nova/neutron/cinder.')
     cps_service = CPSServiceBusiness()
     for proxy in self.proxy_match_region.keys():
         cps_service.stop_all(proxy)
         cps_service.start_all(proxy)
     log.info(
         'Finish to restart openstack service for nova/neutron/cinder.')
Esempio n. 3
0
    def restart_services(self):
        print('****Start to restart services...')

        cps_service = CPSServiceBusiness()
        for proxy in self.proxies:
            cps_service.stop_all(proxy)

        for proxy in self.proxies:
            cps_service.start_all(proxy)

        print('****Finish to restart services.')
Esempio n. 4
0
    def restart_services(self):
        print('****Start to restart services...')

        cps_service = CPSServiceBusiness()
        for proxy in self.proxies:
            cps_service.stop_all(proxy)

        for proxy in self.proxies:
            cps_service.start_all(proxy)

        print('****Finish to restart services.')