@classmethod<EOL><INDENT>def l3_tenant_id(cls):<DEDENT>
if cls._l3_tenant_uuid is None:<EOL><INDENT>if hasattr(cfg.CONF.keystone_authtoken, '<STR_LIT>'):<EOL><INDENT>cls._l3_tenant_uuid = cls._get_tenant_id_using_keystone_v3()<EOL><DEDENT>else:<EOL><INDENT>cls._l3_tenant_uuid = cls._get_tenant_id_using_keystone_v2()<EOL><DEDENT><DEDENT>return cls._l3_tenant_uuid<EOL>
Returns id of tenant owning hosting device resources.