Skip to main content

Generates a CSV with the services allocation of an OpenStack Cloud.

Project description

service-allocation

service-allocation is a simple utility that generates a CSV file containing the services (LXD, Bare-metal) allocation from an Charmed OpenStack Cloud.

Installation

$ pip install service-allocation

Usage

$ juju status --format yaml > status.yaml
$ service-allocation ./status.yaml > allocation.csv

Import the resulting csv file into a spreadsheet

Imported spreadsheet sample

After importing the csv file into a spreadsheet you'll get a table like the following:

Host Baremetal Container
nagios-1 nagios/0
grafana-1 grafana/0
landscapeha-1 landscape-haproxy/0
landscapesql-1 landscape-postgresql/0
landscapeamqp-1 landscape-rabbitmq-server/0
elastic-2 elasticsearch/0
landscape-3 landscape-server/0
landscapeamqp-3 landscape-rabbitmq-server/1
landscapesql-2 landscape-postgresql/1
prometheus-3 prometheus/0
graylog-2 graylog/0 graylog-mongodb/0
landscape-1 landscape-server/1
landscapeamqp-2 landscape-rabbitmq-server/2
elastic-3 elasticsearch/1
landscape-2 landscape-server/2
elastic-1 elasticsearch/2
graylog-1 graylog/1 graylog-mongodb/1
graylog-3 graylog/2 graylog-mongodb/2
controller1 ubuntu-controllers-stub/0 aodh/0 ceilometer/0 ceph-mon/0 cinder/0 designate/0 memcached/0 glance/0 gnocchi/0 heat/0 keystone/0 mysql/0 neutron-api/0 nova-cloud-controller/0 openstack-dashboard/0 rabbitmq-server/0 ceph-radosgw/3
controller2 ubuntu-controllers-stub/1 aodh/1 ceilometer/1 ceph-mon/1 ceph-radosgw/1 cinder/1 designate/1 memcached/1 glance/1 gnocchi/1 heat/1 keystone/1 mysql/1 neutron-api/1 nova-cloud-controller/1 openstack-dashboard/1 prometheus-ceph-exporter/0 prometheus-openstack-exporter/0 rabbitmq-server/1
controller3 ubuntu-controllers-stub/2 aodh/2 ceilometer/2 ceph-mon/2 ceph-radosgw/2 cinder/2 designate/2 glance/2 gnocchi/2 heat/2 keystone/2 mysql/2 neutron-api/2 nova-cloud-controller/2 openstack-dashboard/2 openstack-service-checks/0 rabbitmq-server/2
compute1 nova-compute-kvm/0
compute2 nova-compute-kvm/1
compute3 nova-compute-kvm/2
compute4 nova-compute-kvm/3
compute5 nova-compute-kvm/4
compute6 nova-compute-kvm/5
compute7 nova-compute-kvm/6
compute8 nova-compute-kvm/7
compute9 nova-compute-kvm/8
compute10 nova-compute-kvm/9
compute11 nova-compute-kvm/10
compute12 nova-compute-kvm/11
storage1 ceph-osd/0
storage2 ceph-osd/1
storage3 ceph-osd/2

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

service-allocation-0.0.2.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

service_allocation-0.0.2-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file service-allocation-0.0.2.tar.gz.

File metadata

  • Download URL: service-allocation-0.0.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for service-allocation-0.0.2.tar.gz
Algorithm Hash digest
SHA256 55c24d3328acd1fba2963b0c9c7bd16f9b5b6d5f947c638617b93a49305e1241
MD5 51514e3d4d79b1cad172d84295ec1093
BLAKE2b-256 2096bc5b198b52f05733f3d3dc1d268e42f616a7e39b9c4b46b2ae92fcc2ed3a

See more details on using hashes here.

File details

Details for the file service_allocation-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: service_allocation-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for service_allocation-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5b9d1c0e9342b9249ab16f59579e7a7561420d376b2c0d3b7862d5ed679a941d
MD5 e667d5d4815170825a8d2381748bb3ef
BLAKE2b-256 4bc292d8503e5a700e2e683ed6aa3616d341786522df307d5fc0d696a66c3ea8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page