Skip to main content

openstack_auth.multi_regions

宝德云多区域切换库 (http://console.plcloud.com)

依赖

  1. openstack_auth > 1.1.4

配置方法

  1. 修改openstack_dashboard/urls.py文件, 替换auth url

- url(r'^auth/', include('openstack_auth.urls'))
+ url(r'^auth/', include('openstack_auth.multi_regions.urls'))
  1. 修改openstack_dashboard/settings.py文件,添加multi_regions app

INSTALLED_APPS = (
    '''
    'openstack_auth.multi_regions',
    '''
)
  1. 配置local_settings.py 添加MULTI_REGIONS

MULTI_REGIONS = [
    ('http://10.0.0.1:5000/v2.0', 'beijing', 'BeiJing-1(PEK-1)'),
    ('http://172.16.0.1:5000/v2.0', 'shenzhen', 'ShenZhen-1(SZX-1)'),
    ('http://192.168.100.1:5000/v2.0', 'lab-test', 'Lab-Test-1(Lab-1)'),
]
OPENSTACK_KEYSTONE_URL = MULTI_REGIONS[0]

Metadata

Release files for django_openstack_auth.multi_regions 1.0.0.2.g0688986

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django_openstack_auth.multi_regions 1.0.0.2.g0688986
File Size Uploaded Provenance Actions
django_openstack_auth.multi_regions-1.0.0.2.g0688986.tar.gz 6.2 kB Without provenance Details for django_openstack_auth.multi_regions-1.0.0.2.g0688986.tar.gz

Release files / django_openstack_auth.multi_regions-1.0.0.2.g0688986.tar.gz

Download URL django_openstack_auth.multi_regions-1.0.0.2.g0688986.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6808c142208919aee71d229e0bbc88f1c813017dd6f3b7f066a4b235459ea269
BLAKE2b-256 checksum
How to use checksums
d72afe568f94a53ef0528bf7c489fecbda22258a7c87e03f52495a36659fa640
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django_openstack_auth.multi_regions 1.0.0.2.g0688986

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page