Add `source` configuration option
Remove unused configuration options provided by layer.
This commit is contained in:
23
src/config.yaml
Normal file
23
src/config.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
options:
|
||||||
|
source:
|
||||||
|
default: distro
|
||||||
|
type: string
|
||||||
|
description: |
|
||||||
|
Repository from which to install OVS+OVN
|
||||||
|
|
||||||
|
May be one of the following:
|
||||||
|
|
||||||
|
distro (default)
|
||||||
|
ppa:somecustom/ppa (PPA name must include UCA OpenStack Release name)
|
||||||
|
deb url sources entry|key id
|
||||||
|
or a supported Ubuntu Cloud Archive pocket.
|
||||||
|
|
||||||
|
Supported Ubuntu Cloud Archive pockets include:
|
||||||
|
|
||||||
|
cloud:xenial-pike
|
||||||
|
cloud:xenial-queens
|
||||||
|
cloud:bionic-rocky
|
||||||
|
|
||||||
|
Note that updating this setting to a source that is known to
|
||||||
|
provide a later version of Ceph will trigger a software
|
||||||
|
upgrade.
|
||||||
@@ -9,4 +9,10 @@ options:
|
|||||||
repo: https://github.com/openstack/charm-ovn-controller
|
repo: https://github.com/openstack/charm-ovn-controller
|
||||||
config:
|
config:
|
||||||
deletes:
|
deletes:
|
||||||
|
- debug
|
||||||
|
- ssl_ca
|
||||||
|
- ssl_cert
|
||||||
|
- ssl_key
|
||||||
|
- use-internal-endpoints
|
||||||
|
- use-syslog
|
||||||
- verbose
|
- verbose
|
||||||
|
|||||||
@@ -52,6 +52,7 @@ class OVNChassisCharm(charms_openstack.charm.OpenStackCharm):
|
|||||||
'/etc/default/ovn-host': ['ovn-host'],
|
'/etc/default/ovn-host': ['ovn-host'],
|
||||||
}
|
}
|
||||||
python_version = 3
|
python_version = 3
|
||||||
|
source_config_key = 'source'
|
||||||
# Name of unitdata key with information on whether to enable metadata
|
# Name of unitdata key with information on whether to enable metadata
|
||||||
metadata_kv_key = 'ovn-chassis-enable-metadata'
|
metadata_kv_key = 'ovn-chassis-enable-metadata'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user