X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=nonrtric%2FRECIPE_EXAMPLE%2Fexample_recipe.yaml;h=b759e11aec9f6534e04203aa0ab5ce70f117c433;hb=16d1788c8835feb3bf819711704cb63a2116c829;hp=77582e51ac8df2cc961a851519aa25a564a826f9;hpb=aaf2c67f6ca136ab51efe275ce48d75076f696f4;p=it%2Fdep.git diff --git a/nonrtric/RECIPE_EXAMPLE/example_recipe.yaml b/nonrtric/RECIPE_EXAMPLE/example_recipe.yaml index 77582e51..b759e11a 100644 --- a/nonrtric/RECIPE_EXAMPLE/example_recipe.yaml +++ b/nonrtric/RECIPE_EXAMPLE/example_recipe.yaml @@ -26,13 +26,14 @@ common: component: nonrtric +# A1 Conttroller may take few more minutes to start. Increase the initialDelaySeconds in liveness to avoid container restart. a1controller: a1controller: imagePullPolicy: IfNotPresent image: - registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc' + registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc' name: nonrtric-a1-controller - tag: 1.7.5 + tag: 2.0.1 replicaCount: 1 service: allowHttp: true @@ -43,7 +44,7 @@ a1controller: internalPort2: 8383 targetPort2: 8443 liveness: - initialDelaySeconds: 60 + initialDelaySeconds: 300 periodSeconds: 10 readiness: initialDelaySeconds: 60 @@ -54,11 +55,23 @@ a1simulator: name: a1-sim imagePullPolicy: IfNotPresent image: - registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc' + registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc' name: a1-simulator - tag: 1.0.1 + tag: 2.0.0 service: - internalPort: 8085 + 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 @@ -72,22 +85,135 @@ controlpanel: controlpanel: imagePullPolicy: IfNotPresent image: - registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc' + registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc' name: nonrtric-controlpanel - tag: 1.0.0 + tag: 2.0.0 replicaCount: 1 service: - internalPort: 8080 - externalPort: 30090 + 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: policymanagementservice: imagePullPolicy: IfNotPresent image: - registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc' + registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc' name: nonrtric-policy-agent + tag: 2.0.1 + 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":"https://a1-sim-osc-0.a1-sim:8185", + "controller": "controller1", + "managedElementIds":[ + "kista_1", + "kista_2" + ] + }, + { + "name":"ric2", + "baseUrl":"https://a1-sim-osc-1.a1-sim:8185", + "controller": "controller1", + "managedElementIds":[ + "kista_1", + "kista_2" + ] + }, + { + "name":"ric3", + "baseUrl":"https://a1-sim-std-0.a1-sim:8185", + "controller": "controller1", + "managedElementIds":[ + "kista_1", + "kista_2" + ] + }, + { + "name":"ric4", + "baseUrl":"https://a1-sim-std-1.a1-sim:8185", + "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" + } + } + } +enrichmentservice: + enrichmentservice: + imagePullPolicy: IfNotPresent + image: + registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc' + name: 'nonrtric-enrichment-coordinator-service' tag: 1.0.0 service: - internalPort: 8081 - externalPort: 30091 \ No newline at end of file + allowHttp: true + httpName: http + internalPort1: 9082 + targetPort1: 8083 + externalPort1: 30095 + httpsName: https + internalPort2: 9083 + targetPort2: 8434 + externalPort2: 30096 + liveness: + initialDelaySeconds: 20 + periodSeconds: 10 + readiness: + initialDelaySeconds: 20 + periodSeconds: 10 + persistence: + enabled: true + volumeReclaimPolicy: Retain + accessMode: ReadWriteOnce + size: 2Gi + mountPath: /dockerdata-nfs + mountSubPath: nonrtric/enrichmentservice \ No newline at end of file