Beispiel #1
0
 def _get_nsclient(self):
     return ncc_client.NSClient(TESTURI, TEST_USERNAME, TEST_PASSWORD)
Beispiel #2
0
 def __init__(self, plugin):
     self.plugin = plugin
     ncc_uri = cfg.CONF.netscaler_driver.netscaler_ncc_uri
     ncc_username = cfg.CONF.netscaler_driver.netscaler_ncc_username
     ncc_password = cfg.CONF.netscaler_driver.netscaler_ncc_password
     self.client = ncc_client.NSClient(ncc_uri, ncc_username, ncc_password)