From 4faa7f927149a5c4ef7a03523f7bc14523cb9baa Mon Sep 17 00:00:00 2001 From: Stuart Mackie Date: Fri, 7 Oct 2016 12:24:58 -0700 Subject: Charms for Contrail 3.1 with Mitaka Change-Id: Id37f3b9743d1974e31fcd7cd9c54be41bb0c47fb Signed-off-by: Stuart Mackie --- charms/trusty/neutron-contrail/config.yaml | 74 ++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 charms/trusty/neutron-contrail/config.yaml (limited to 'charms/trusty/neutron-contrail/config.yaml') diff --git a/charms/trusty/neutron-contrail/config.yaml b/charms/trusty/neutron-contrail/config.yaml new file mode 100644 index 0000000..8430326 --- /dev/null +++ b/charms/trusty/neutron-contrail/config.yaml @@ -0,0 +1,74 @@ +options: + install-sources: + type: string + default: | + - "ppa:opencontrail/ppa" + - "ppa:opencontrail/r2.20" + description: Package sources for install + install-keys: + type: string + description: Apt keys for package install sources + vhost-interface: + type: string + description: | + Specify the interface to install vhost0 on. If left empty, vhost0 will + be installed on the default gateway interface. + vhost-gateway: + type: string + default: auto + description: | + Specify the gateway for vhost0, either an IPv4 address or keyword 'auto'. + 'auto' will set gateway automatically based on host's existing routes. + control-interface: + type: string + default: vhost0 + description: | + Specify the interface to use for the control channel. + Default is to use vRouter interface that will be created. + local-metadata-server: + type: boolean + default: true + description: | + Run a local instance of nova-api-metadata for serving metadata to VMs. + An external metadata server (neutron-metadata relation) is not required + when enabled. + remove-juju-bridge: + type: boolean + default: false + description: | + Juju on MAAS creates a juju-br0 bridge for deploying LXC and KVM + workloads. Enable this to remove this bridge if you want to install + vhost0 directly on the underlying interface. + + WARNING: This will break current and future juju-deployed LXC or KVM + workloads on all machines where this is set to true. + virtual-gateways: + type: string + description: | + Virtual gateways to create (software based). + + Using a YAML encoded string specify one or more gateways using a list + of maps, where each map consists of the following attributes: + + project - project name + network - network name + interface - interface to use (will be created) + subnets - list of virtual subnets to route + routes - list of routes gateway will make available to virtual subnets, + 0.0.0.0/0 selects all routes + + For example: + + // make any network available to virtual subnet 10.0.10.0/24 on + // admin:public network using local interface vgw to route + [ { project: admin, network: public, interface: vgw, subnets: [ 10.0.10.0/24 ], routes: [ 0.0.0.0/0 ] } ] + # development options + contrail-api-ip: + type: string + description: Specify contrail-api ip manually + contrail-api-port: + type: int + description: Specify contrail-api port manually + discovery-server-ip: + type: string + description: Specify discovery server ip manually -- cgit 1.2.3-korg