Esempio n. 1
0
 def auth_url(self):
     """The Auth URL (derived)"""
     auth_url = data_utils.build_url(self.host,
                                     self.port,
                                     self.apiVer,
                                     self.path)
     return auth_url
Esempio n. 2
0
 def auth_url(self):
     """The Identity URL (derived)"""
     auth_url = data_utils.build_url(self.host,
                                     self.port,
                                     self.api_version,
                                     self.path,
                                     use_ssl=self.use_ssl)
     return auth_url
Esempio n. 3
0
 def auth_url(self):
     """The Auth URL (derived)"""
     auth_url = data_utils.build_url(self.host,
                                     self.port,
                                     self.apiVer,
                                     self.path,
                                     use_ssl=self.use_ssl)
     return auth_url
Esempio n. 4
0
 def auth_url(self):
     """The Identity URL (derived)"""
     auth_url = data_utils.build_url(self.host,
                                     self.port,
                                     self.api_version,
                                     self.path,
                                     use_ssl=self.use_ssl)
     return auth_url
Esempio n. 5
0
def register_identity_opts(conf):
    conf.register_group(identity_group)
    for opt in IdentityGroup:
        conf.register_opt(opt, group='identity')

    authurl = data_utils.build_url(conf.identity.host,
                                   str(conf.identity.port),
                                   conf.identity.api_version,
                                   conf.identity.path,
                                   use_ssl=conf.identity.use_ssl)

    auth_url = cfg.StrOpt('auth_url',
                          default=authurl,
                          help="The Identity URL (derived)")
    conf.register_opt(auth_url, group="identity")