
Searchlight project is retiring in Wallaby cycle[1]. This commit removes the usage of Searchlight project before its code is removed. Needed-By: https://review.opendev.org/c/openstack/searchlight/+/764526 [1] http://lists.openstack.org/pipermail/openstack-discuss/2020-November/018637.html Change-Id: I90fbb2807f91a5a2bea86717be251699db2470a6
205 lines
4.4 KiB
YAML
205 lines
4.4 KiB
YAML
name: openstackclients
|
|
version: ussuri
|
|
summary: OpenStack Client tools
|
|
description: |
|
|
OpenStackClient (aka OSC) is a command-line client for OpenStack
|
|
that brings the command set for Compute, Identity, Image, Object
|
|
Store and Block Storage APIs together in a single shell with a
|
|
uniform command structure.
|
|
.
|
|
The primary goal is to provide a unified shell command structure
|
|
and a common language to describe operations in OpenStack.
|
|
.
|
|
This snap provides the openstack command-line client and other
|
|
project specific command-line clients.
|
|
confinement: strict
|
|
grade: stable
|
|
base: core18
|
|
|
|
plugs:
|
|
dot-config-openstack-clouds-yaml:
|
|
interface: personal-files
|
|
read:
|
|
- $HOME/.config/openstack/clouds.yaml
|
|
|
|
apps:
|
|
openstack:
|
|
command: bin/openstack
|
|
completer: usr/share/bash-completion/completions/openstack
|
|
plugs:
|
|
- network
|
|
- home
|
|
- dot-config-openstack-clouds-yaml
|
|
glance:
|
|
command: bin/glance
|
|
plugs:
|
|
- network
|
|
- home
|
|
gnocchi:
|
|
command: bin/gnocchi
|
|
plugs:
|
|
- network
|
|
- home
|
|
neutron:
|
|
command: bin/neutron
|
|
plugs:
|
|
- network
|
|
- home
|
|
nova:
|
|
command: bin/nova
|
|
plugs:
|
|
- network
|
|
- home
|
|
cinder:
|
|
command: bin/cinder
|
|
plugs:
|
|
- network
|
|
- home
|
|
aodh:
|
|
command: bin/aodh
|
|
plugs:
|
|
- network
|
|
- home
|
|
barbican:
|
|
command: bin/barbican
|
|
plugs:
|
|
- network
|
|
- home
|
|
ceilometer:
|
|
command: bin/ceilometer
|
|
plugs:
|
|
- network
|
|
- home
|
|
cloudkitty:
|
|
command: bin/cloudkitty
|
|
plugs:
|
|
- network
|
|
- home
|
|
freezer:
|
|
command: bin/freezer
|
|
plugs:
|
|
- network
|
|
- home
|
|
glance:
|
|
command: bin/glance
|
|
plugs:
|
|
- network
|
|
- home
|
|
heat:
|
|
command: bin/heat
|
|
plugs:
|
|
- network
|
|
- home
|
|
magnum:
|
|
command: bin/magnum
|
|
plugs:
|
|
- network
|
|
- home
|
|
manila:
|
|
command: bin/manila
|
|
plugs:
|
|
- network
|
|
- home
|
|
masakari:
|
|
command: bin/masakari
|
|
plugs:
|
|
- network
|
|
- home
|
|
mistral:
|
|
command: bin/mistral
|
|
plugs:
|
|
- network
|
|
- home
|
|
monasca:
|
|
command: bin/monasca
|
|
plugs:
|
|
- network
|
|
- home
|
|
murano:
|
|
command: bin/murano
|
|
plugs:
|
|
- network
|
|
- home
|
|
swift:
|
|
command: bin/swift
|
|
plugs:
|
|
- network
|
|
- home
|
|
tacker:
|
|
command: bin/tacker
|
|
plugs:
|
|
- network
|
|
- home
|
|
trove:
|
|
command: bin/trove
|
|
plugs:
|
|
- network
|
|
- home
|
|
vitrage:
|
|
command: bin/vitrage
|
|
plugs:
|
|
- network
|
|
- home
|
|
watcher:
|
|
command: bin/watcher
|
|
plugs:
|
|
- network
|
|
- home
|
|
|
|
parts:
|
|
openstackclients:
|
|
plugin: python
|
|
python-version: python3
|
|
python-packages:
|
|
- aodhclient
|
|
- osc-placement
|
|
- python-barbicanclient
|
|
- python-ceilometerclient
|
|
- python-cloudkittyclient
|
|
- python-congressclient
|
|
- python-designateclient
|
|
- python-freezerclient
|
|
- python-glanceclient
|
|
- python-heatclient
|
|
- python-ironicclient
|
|
- python-keystoneclient
|
|
- python-magnumclient
|
|
- python-manilaclient
|
|
- python-masakariclient
|
|
- python-mistralclient
|
|
- python-monascaclient
|
|
- python-muranoclient
|
|
- python-saharaclient
|
|
- python-senlinclient
|
|
- python-swiftclient
|
|
- python-tackerclient
|
|
- python-troveclient
|
|
- python-vitrageclient
|
|
- python-watcherclient
|
|
- python-zaqarclient
|
|
- python-neutronclient
|
|
- python-openstackclient
|
|
- gnocchiclient
|
|
- python-octaviaclient
|
|
- setuptools_scm
|
|
constraints:
|
|
- https://raw.githubusercontent.com/openstack/requirements/stable/ussuri/upper-constraints.txt
|
|
build-packages:
|
|
- libffi-dev
|
|
- libssl-dev
|
|
- libxml2-dev
|
|
- libxslt1-dev
|
|
- pkg-config
|
|
- gcc
|
|
override-prime: |
|
|
snapcraftctl prime
|
|
# Now that everything is built, let's disable user site-packages
|
|
# as stated in PEP-0370
|
|
sed -i usr/lib/python3.6/site.py -e 's/^ENABLE_USER_SITE = None$/ENABLE_USER_SITE = False/'
|
|
# This is the last step, let's now compile all our pyc files.
|
|
./usr/bin/python3 -m compileall .
|
|
# Generate completer script snippets
|
|
mkdir -p usr/share/bash-completion/completions
|
|
./bin/openstack complete > usr/share/bash-completion/completions/openstack
|
|
echo "complete -F _openstack openstackclients.openstack" >> usr/share/bash-completion/completions/openstack
|