Issue ID: RIC-779: xAPP Functionality Enhancement- Subscription Duplication Automation
[it/test.git] / ric_robot_suite / helm / nanobot / values.yaml
1 #   Copyright (c) 2019 AT&T Intellectual Property.
2 #   Copyright (c) 2019 Nokia.
3 #   Copyright (c) 2020 HCL Technologies Limited.
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.3
33
34      # note: the helm chart does not create repository credential secrets.
35      # If your repository requires authentication, create a docker-registry
36      # secret with
37      #
38      #   kubectl create secret docker-registry --namespace <robot-job-namespace> ...
39      #
40      # and fill in secret-name below.  Only one secret should be created per
41      # registry. The chart will take care of producing a unique  list of
42      # imagePullSecrets.
43      repositoryCred: o-ran-registry-secret
44 ric:
45  cluster:
46   # The kubernetes cluster name.  To find this, do:
47   # $ grep cluster: ${KUBECONFIG}
48   name: kubernetes
49   # the DNS domain for k8s services, typically "cluster.local"
50   domain: cluster.local
51  platform:
52   # RIC installation details.  These values mostly cover things
53   # the robot needs to know, but which aren't configured by the
54   # RIC recipe.
55   releaseName: r0
56   components:
57    a1mediator:
58     xappName: robot-xapp
59     policyID: "6266268"
60    appmgr:
61     user: test
62     password: test
63    dbaas:
64     controller:
65      type: statefulset
66      suffix: server
67      # the type of k8s controller for this entity
68      # (ie, statefulset, daemonset, deployment..)
69      # if unspecified, the default is "deployment".
70      #type: statefulset
71      # the suffix, if any, to append to the name
72      # of the controller entity.  The chart will
73      # prepend a hyphen to this string.
74      # suffix: server
75    e2mgr:
76     user: test
77     password: test
78    e2term:
79     controller:
80      suffix: alpha
81    rtmgr:
82     user: test
83     password: test
84    submgr:
85     user: test
86     password: test
87     port: 8080
88    o1mediator:
89     user: test
90     password: test
91     xapp:
92      name: robot-xapp
93      version: 1.0
94  xapp:
95   mcxapp:
96    listener:
97     containername: mc-xapp-listener
98    writer:
99     containername: mcxapp
100     # statistics sent to ves by the writer.  the tests
101     # will check that these are actually being sent
102     statistics:
103     - mc_connected_cnt
104     - throughput_gnb
105     - throughput_rollup
106     - throughput_ue
107  rbac:
108   # If true, create & use RBAC resources
109   #
110   create: true
111   clusterAdminRole: true
112   rules:
113     cluster:
114      - apiGroups:
115          - ""
116        resources:
117          - ["pods", "pods/log", "pods/exec", "services"]
118        verbs:
119          - get
120          - list
121          - watch
122          - patch
123          - update
124  robot:
125   release: r1
126   #
127   # If specified, a host filesystem
128   # path where robot output will be stored
129   log: /opt/ric/robot/log
130   #
131   # Active testsuites can be chosen by
132   # tag, testuite names, or both.  leaving
133   # either unspecified will cause all to run.
134   # Kpimonxapp testsuite need to be uncomment before testing kpimonxapp
135   testsuites:
136   - ricdeployment
137   - health-check
138   - ete
139   # Enable if you want to execute Subscription Duplication Scenarios. Check README file for the same.
140   #- Subscription_Duplication_Scen1
141   #- Subscription_Duplication_Scen2
142   #- kpimonxapp
143   tags:
144    enabled:
145    # - etetests
146    # - k8stests
147    disabled:
148    # - intrusive
149    # - artificialdata
150    - UpdateWebPage
151    - e2setup_dash
152    - x2setup_dash
153   #
154   job:
155    # set this to a true value to cause
156    # the job to fail (and, typically, be resubmitted)
157    # when tests fail
158    failOnTestFail: true
159    serviceAccount:
160     # by default, the job will create
161     # a temporary serviceaccount and
162     # role to allow it to access the
163     # xapp and platform namespaces.
164     # to use an existing serviceaccount,
165     # set this to false...
166     create: true
167     # ... and specify the serviceaccount here:
168     # name: nanobot
169   #
170   environment:
171     # the name of a test xapp; the appmgr testsuite
172     # will attempt to deploy and undeploy this app;
173     # This should be an xapp which is "onboarded" to
174     # the appmgr but not deployed at the time the test
175     # is initiated.
176     # Change the Xapp based on your requirement.
177     #xapp: xappkpimon
178     xapp: bouncer-xapp
179     duplicate_xapp: ricxapp-bouncer1-xapp
180     gNodeB:
181      # the details of a test gNodeB, for [E/X]2 tests.
182      # This can be either a real gnodeb or a simulator,
183      # but in either case should exist prior to test
184      # initiation.
185      # added deployment name and deployment namespace,
186      # for Ran elements.
187      name: AAAA456789
188      address: 10.0.0.3
189      port: 36421
190      ran_deployment: e2sim
191      ran_namespace: test
192      plmnid: 373437
193      gnbid: gnb_734_733_b5c67788
194     dashboard:
195      address: 10.1.0.1
196      port: 31080
197