Adding VIM refresh period to RO charm config
[osm/devops.git] / installers / charm / ro / config.yaml
1 # 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
22 options:
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
31   mongodb_uri:
32     type: string
33     description: MongoDB URI (external database)
34   log_level:
35     description: "Log Level"
36     type: string
37     default: "INFO"
38   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
47   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)
62   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"
74   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.
82   image_pull_policy:
83     type: string
84     description: |
85       ImagePullPolicy configuration for the pod.
86       Possible values: always, ifnotpresent, never
87     default: always
88   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`.
92       Note: If enabled, security_context will be disabled.
93     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
99   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
113   security_context:
114     description: Enables the security context of the pods
115     type: boolean
116     default: false