X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=nonrtric%2FRECIPE_EXAMPLE%2Fexample_recipe.yaml;h=3ac4bf81c542c9a30b92cd4556bb9b7ce9dd8196;hb=e9a39878a8169e03bbd4c3985cf1b52dde8fb725;hp=0968601b897bac6edcbfdb1c77a313dad25da6ca;hpb=7e09001c5b58dab96d014fe3f9c41f89b53f3cc3;p=it%2Fdep.git diff --git a/nonrtric/RECIPE_EXAMPLE/example_recipe.yaml b/nonrtric/RECIPE_EXAMPLE/example_recipe.yaml index 0968601b..3ac4bf81 100644 --- a/nonrtric/RECIPE_EXAMPLE/example_recipe.yaml +++ b/nonrtric/RECIPE_EXAMPLE/example_recipe.yaml @@ -20,55 +20,145 @@ common: releasePrefix: r2-dev-nonrtric - # Change the namespaces using the following options namespace: nonrtric: nonrtric component: nonrtric +# A1 Conttroller may take few more minutes to start. Increase the initialDelaySeconds in liveness to avoid container restart. a1controller: - imagePullPolicy: IfNotPresent - image: - registry: "nexus3.o-ran-sc.org:10002/o-ran-sc" - name: nonrtric-a1-controller - tag: 1.7.4 - replicaCount: 1 - service: - internalPort: 8181 - externalPort: 8282 + a1controller: + imagePullPolicy: IfNotPresent + image: + registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc' + name: nonrtric-a1-controller + tag: 2.0.0 + replicaCount: 1 + service: + allowHttp: true + httpName: http + internalPort1: 8282 + targetPort1: 8181 + httpsName: https + internalPort2: 8383 + targetPort2: 8443 + liveness: + initialDelaySeconds: 300 + periodSeconds: 10 + readiness: + initialDelaySeconds: 60 + periodSeconds: 10 a1simulator: - instanceName: a1-sim - imagePullPolicy: IfNotPresent - image: - registry: "nexus3.o-ran-sc.org:10002/o-ran-sc" - name: near-rt-ric-simulator - tag: 1.0.1 - replicaCount: 2 - service: - internalPort: 8085 + a1simulator: + name: a1-sim + imagePullPolicy: IfNotPresent + image: + registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc' + name: a1-simulator + tag: 2.0.0 + service: + allowHttp: true + httpName: http + internalPort1: 8085 + targetPort1: 8085 + httpsName: https + internalPort2: 8185 + targetPort2: 8185 + liveness: + initialDelaySeconds: 20 + periodSeconds: 10 + readiness: + initialDelaySeconds: 20 + periodSeconds: 10 + oscVersion: + name: a1-sim-osc + replicaCount: 2 + stdVersion: + name: a1-sim-std + replicaCount: 2 +# image registry and tag to be changed after first release of controlpanel +# Need to check the external port Availability controlpanel: - imagePullPolicy: IfNotPresent - # image registry and tag to be changed after first release of controlpanel - image: - registry: "nexus3.o-ran-sc.org:10004/o-ran-sc" - name: nonrtric-controlpanel - tag: 1.0.0 - replicaCount: 1 - service: - internalPort: 8080 - externalPort: 30090 + controlpanel: + imagePullPolicy: IfNotPresent + image: + registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc' + name: nonrtric-controlpanel + tag: 2.0.0 + replicaCount: 1 + service: + allowHttp: true + httpName: http + internalPort1: 8080 + targetPort1: 8080 + externalPort1: 30091 + httpsName: https + internalPort2: 8081 + targetPort2: 8082 + externalPort2: 30092 + liveness: + initialDelaySeconds: 20 + periodSeconds: 10 + readiness: + initialDelaySeconds: 20 + periodSeconds: 10 +# Need to check the external port Availability policymanagementservice: - imagePullPolicy: IfNotPresent - image: - registry: "nexus3.o-ran-sc.org:10004/o-ran-sc" - name: nonrtric-policy-agent - tag: 1.0.0 - service: - internalPort: 8081 - #Need to check the external port Availability - externalPort: 30091 + policymanagementservice: + imagePullPolicy: IfNotPresent + image: + registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc' + name: nonrtric-policy-agent + tag: 2.0.0 + service: + allowHttp: true + httpName: http + internalPort1: 9080 + targetPort1: 8081 + externalPort1: 30093 + httpsName: https + internalPort2: 9081 + targetPort2: 8433 + externalPort2: 30094 + liveness: + initialDelaySeconds: 20 + periodSeconds: 10 + readiness: + initialDelaySeconds: 20 + periodSeconds: 10 + ric: | + [ + { + "name":"ric1", + "baseUrl":"http://192.168.130.80:32080/a1mediator", + "controller": "controller1", + "managedElementIds": + [ + "kista_1", + "kista_2" + ] + } + ] + streams_publishes: | + { + "dmaap_publisher": { + "type":"message_router", + "dmaap_info":{ + "topic_url":"http://message-router.onap:3904/events/A1-POLICY-AGENT-WRITE" + } + } + } + streams_subscribes: | + { + "dmaap_subscriber":{ + "type":"message_router", + "dmaap_info":{ + "topic_url":"http://message-router.onap:3904/events/A1-POLICY-AGENT-READ/users/policy-agent?timeout=15000&limit=100" + } + } + }