blob: 31bf8cb0619f0eba4fb843f2932ba7669dc7e5d4 [file] [log] [blame]
sousaeduccfacbb2020-11-04 21:44:01 +00001# Copyright 2020 Canonical Ltd.
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may
4# not use this file except in compliance with the License. You may obtain
5# a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations
13# under the License.
14#
15# For those usages not covered by the Apache License, Version 2.0 please
16# contact: legal@canonical.com
17#
18# To get in touch with the maintainers, please contact:
19# osm-charmers@lists.launchpad.net
20##
21
22options:
23 enable_ng_ro:
24 description: Enable NG-RO
25 type: boolean
26 default: true
27 database_commonkey:
28 description: Database COMMON KEY
29 type: string
30 default: osm
sousaedu996a5602021-05-03 00:22:43 +020031 mongodb_uri:
32 type: string
33 description: MongoDB URI (external database)
sousaeduccfacbb2020-11-04 21:44:01 +000034 log_level:
35 description: "Log Level"
36 type: string
37 default: "INFO"
aticigbd324852022-06-30 03:50:07 +030038 period_refresh_active:
39 type: int
40 description: |
41 Updates the VNF status from VIM for every given period of time seconds.
42 Values equal or greater than 60 is allowed.
43 Disable the updates from VIM by setting -1.
44 Example:
45 $ juju config ro period_refresh_active=-1
46 $ juju config ro period_refresh_active=100
sousaedu996a5602021-05-03 00:22:43 +020047 mysql_host:
48 type: string
49 description: MySQL Host (external database)
50 mysql_port:
51 type: int
52 description: MySQL Port (external database)
53 mysql_user:
54 type: string
55 description: MySQL User (external database)
56 mysql_password:
57 type: string
58 description: MySQL Password (external database)
59 mysql_root_password:
60 type: string
61 description: MySQL Root Password (external database)
sousaeduccfacbb2020-11-04 21:44:01 +000062 vim_database:
63 type: string
64 description: "The database name."
65 default: "mano_vim_db"
66 ro_database:
67 type: string
68 description: "The database name."
69 default: "mano_db"
70 openmano_tenant:
71 type: string
72 description: "Openmano Tenant"
73 default: "osm"
David Garcia5d1ec6e2021-03-25 15:04:52 +010074 certificates:
75 type: string
76 description: |
77 comma-separated list of <name>:<content> certificates.
78 Where:
79 name: name of the file for the certificate
80 content: base64 content of the certificate
81 The path for the files is /certs.
sousaedu3ddbbd12021-08-24 19:57:24 +010082 image_pull_policy:
83 type: string
84 description: |
85 ImagePullPolicy configuration for the pod.
86 Possible values: always, ifnotpresent, never
87 default: always
David Garciad680be42021-08-17 11:03:55 +020088 debug_mode:
89 description: |
90 If true, debug mode is activated. It means that the service will not run,
91 and instead, the command for the container will be a `sleep infinity`.
sousaedu540d9372021-09-29 01:53:30 +010092 Note: If enabled, security_context will be disabled.
David Garciad680be42021-08-17 11:03:55 +020093 type: boolean
94 default: false
95 debug_pubkey:
96 description: |
97 Public SSH key that will be injected to the application pod.
98 type: string
David Garciacafe31e2021-11-18 16:45:05 +010099 debug_ro_local_path:
100 description: |
101 Local full path to the RO project.
102
103 The path will be mounted to the docker image,
104 which means changes during the debugging will be saved in your local path.
105 type: string
106 debug_common_local_path:
107 description: |
108 Local full path to the COMMON project.
109
110 The path will be mounted to the docker image,
111 which means changes during the debugging will be saved in your local path.
112 type: string
sousaedu540d9372021-09-29 01:53:30 +0100113 security_context:
114 description: Enables the security context of the pods
115 type: boolean
116 default: false