c433c177687e68f8c0120b295737249ab9b77761
[it/test.git] / ric_robot_suite / helm / nanobot / values.yaml
1 #   Copyright (c) 2019 AT&T Intellectual Property.
2 #   Copyright (c) 2019 Nokia.
3 #
4 #   Licensed under the Apache License, Version 2.0 (the "License");
5 #   you may not use this file except in compliance with the License.
6 #   You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #   Unless required by applicable law or agreed to in writing, software
11 #   distributed under the License is distributed on an "AS IS" BASIS,
12 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #   See the License for the specific language governing permissions and
14 #   limitations under the License.
15
16 #
17 # configuration for this chart is split between this file and the "recipe"
18 # used by the ric-common chart.  For the most part, platform configuration
19 # is defined by that recipe, and robot configuration is here.
20 #
21
22 images:
23  ric:
24   robot:
25    job:
26     init:
27      name: alpine
28      tag: latest
29     run:
30      repository: nexus3.o-ran-sc.org:10004
31      name: o-ran-sc/it-test-nanobot
32      tag: 0.0.2
33      # note: the helm chart does not create repository credential secrets.
34      # If your repository requires authentication, create a docker-registry 
35      # secret with
36      #
37      #   kubectl create secret docker-registry --namespace <robot-job-namespace> ...
38      #
39      # and fill in secret-name below.  Only one secret should be created per
40      # registry. The chart will take care of producing a unique  list of
41      # imagePullSecrets.
42      repositoryCred: o-ran-registry-secret
43 ric:
44  cluster:
45   # The kubernetes cluster name.  To find this, do:
46   # $ grep cluster: ${KUBECONFIG}
47   name: kubernetes
48   # the DNS domain for k8s services, typically "cluster.local"
49   domain: cluster.local
50  platform:
51   # RIC installation details.  These values mostly cover things
52   # the robot needs to know, but which aren't configured by the
53   # RIC recipe.
54   releaseName: r0
55   components:
56    a1mediator:
57     xappName: robot-xapp
58     policyID: "6266268"
59    appmgr:
60     user: test
61     password: test
62    dbaas:
63     controller:
64      # the type of k8s controller for this entity
65      # (ie, statefulset, daemonset, deployment..)
66      # if unspecified, the default is "deployment".
67      type: statefulset
68      # the suffix, if any, to append to the name
69      # of the controller entity.  The chart will
70      # prepend a hyphen to this string.
71      suffix: server
72    e2mgr:
73     user: test
74     password: test
75    e2term:
76     controller:
77      suffix: alpha
78    rtmgr:
79     user: test
80     password: test
81    submgr:
82    o1mediator:
83     user: test
84     password: test
85     xapp:
86      name: robot-xapp
87      version: 1.0
88  xapp:
89   mcxapp:
90    listener:
91     containername: mc-xapp-listener
92    writer:
93     containername: mcxapp
94     # statistics sent to ves by the writer.  the tests
95     # will check that these are actually being sent
96     statistics:
97     - mc_connected_cnt
98     - throughput_gnb
99     - throughput_rollup
100     - throughput_ue
101  robot:
102   release: r1
103   #
104   # If specified, a host filesystem
105   # path where robot output will be stored 
106   log: /opt/ric/robot/log
107   #
108   # Active testsuites can be chosen by
109   # tag, testuite names, or both.  leaving
110   # either unspecified will cause all to run.
111   testsuites:
112   # - ricdeployment
113   # - healthcheck
114   tags:
115    enabled:
116    # - etetests
117    # - k8stests
118    disabled:
119    # - intrusive
120    # - artificialdata
121    - UpdateWebPage
122    - e2setup_dash
123    - x2setup_dash
124   #
125   job:
126    # set this to a true value to cause
127    # the job to fail (and, typically, be resubmitted)
128    # when tests fail
129    failOnTestFail: true
130    serviceAccount:
131     # by default, the job will create
132     # a temporary serviceaccount and
133     # role to allow it to access the
134     # xapp and platform namespaces.
135     # to use an existing serviceaccount,
136     # set this to false...
137     create: true
138     # ... and specify the serviceaccount here:
139     # name: nanobot
140   #    
141   environment:
142     # the name of a test xapp; the appmgr testsuite
143     # will attempt to deploy and undeploy this app;
144     # This should be an xapp which is "onboarded" to
145     # the appmgr but not deployed at the time the test
146     # is initiated.
147     xapp: robot-xapp
148     gNodeB:
149      # the details of a test gNodeB, for [E/X]2 tests.
150      # This can be either a real gnodeb or a simulator,
151      # but in either case should exist prior to test
152      # initiation.
153      name: AAAA456789
154      address: 10.0.0.3
155      port: 36421
156     dashboard:
157      address: 10.1.0.1
158      port: 31080