Add nova-api-metadata agent for local access for neutron-metadata-agent

This commit is contained in:
James Page 2016-11-29 14:53:15 +00:00
parent 766a7f52f5
commit 4be25a11a5
3 changed files with 24 additions and 1 deletions

View File

@ -1 +1,4 @@
# Snap provided defaults for neutron-openvswitch-agent
[securitygroup]
enable_security_group = True
firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver

View File

@ -20,6 +20,14 @@ entry_points:
config-dirs:
- "{snap_common}/etc/nova.conf.d"
log-file: "{snap_common}/log/nova-compute.log"
nova-api-metadata:
binary: nova-api-metadata
config-files:
- "{snap}/etc/nova/nova.conf"
- "{snap_common}/etc/nova/nova.conf"
config-dirs:
- "{snap_common}/etc/nova.conf.d"
log-file: "{snap_common}/log/nova-api-metadata.log"
neutron-openvswitch-agent:
binary: neutron-openvswitch-agent
config-files:

View File

@ -29,6 +29,13 @@ apps:
- system-trace
- libvirt
# - openvswitch
nova-api-metadata:
command: snap-openstack nova-api-metadata
daemon: simple
plugs:
- network
- network-bind
- firewall-control
neutron-openvswitch-agent:
command: snap-openstack neutron-openvswitch-agent
daemon: simple
@ -68,7 +75,6 @@ apps:
plugs:
- network
- network-bind
- network-control
neutron-ovs-cleanup:
command: snap-openstack neutron-ovs-cleanup
plugs:
@ -81,6 +87,12 @@ apps:
- network
- network-control
parts:
ipset:
source: http://ipset.netfilter.org/ipset-6.30.tar.bz2
plugin: autotools
build-packages:
- libltdl-dev
- libmnl-dev
dnsmasq:
source: http://www.thekelleys.org.uk/dnsmasq/dnsmasq-2.76.tar.xz
plugin: make