55 lines
1.3 KiB
YAML
55 lines
1.3 KiB
YAML
name: neutron
|
|
version: ocata
|
|
summary: OpenStack Network Service (neutron)
|
|
description: OpenStack Network Service (neutron)
|
|
confinement: strict
|
|
grade: devel
|
|
|
|
apps:
|
|
api:
|
|
command: snap-openstack neutron-server
|
|
daemon: simple
|
|
plugs:
|
|
- network
|
|
- network-bind
|
|
manage:
|
|
command: snap-openstack neutron-db-manage
|
|
plugs:
|
|
- network
|
|
|
|
parts:
|
|
neutron:
|
|
plugin: python
|
|
python-version: python2
|
|
source: http://tarballs.openstack.org/neutron/neutron-master.tar.gz
|
|
python-packages:
|
|
- pymysql
|
|
- python-memcached
|
|
- git+https://github.com/openstack-snaps/snap.openstack#egg=snap.openstack
|
|
constraints: https://raw.githubusercontent.com/openstack/requirements/master/upper-constraints.txt
|
|
build-packages:
|
|
- libffi-dev
|
|
- libssl-dev
|
|
- pkg-config
|
|
templates:
|
|
after:
|
|
- neutron
|
|
plugin: dump
|
|
source: snap
|
|
# TODO: replace below with scriplets once implemented in snapcraft
|
|
config:
|
|
after:
|
|
- neutron
|
|
plugin: dump
|
|
source: http://tarballs.openstack.org/neutron/neutron-master.tar.gz
|
|
organize:
|
|
etc/*.conf: etc/neutron/
|
|
etc/*.ini: etc/neutron/
|
|
etc/*.json: etc/neutron/
|
|
etc/rootwrap.d/*: etc/neutron/rootwrap.d/
|
|
filesets:
|
|
etc:
|
|
- etc/neutron/*
|
|
stage: [$etc]
|
|
snap: [$etc]
|