[OOF] Add configuration for Slice termination 40/122740/3
authorkrishnaa96 <krishna.moorthy6@wipro.com>
Tue, 20 Jul 2021 10:53:25 +0000 (16:23 +0530)
committerkrishnaa96 <krishna.moorthy6@wipro.com>
Fri, 23 Jul 2021 11:07:33 +0000 (16:37 +0530)
- Add query templates for termination app
- Add DSL url to osdf config

Issue-ID: OPTFRA-984
Signed-off-by: krishna Moorthy <krishna.moorthy6@wipro.com>
Change-Id: I90f1c17fbf93dd83bac9c061f7276e002f130d6a

kubernetes/oof/resources/config/conf/common_config.yaml
kubernetes/oof/resources/config/conf/osdf_config.yaml

index 78afa5e..b1bd0ed 100644 (file)
@@ -151,3 +151,11 @@ PCI:
         filter:
             interval: 10
     ml_enabled: false
+
+nxi_termination:
+    query_templates:
+        nsi: "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}') > service-instance*('service-role','e2eserviceprofile-service')"
+        nsi_with_profile: "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}') > service-instance*('service-role','e2eserviceprofile-service')('service-instance-id','{{ printf "{{profile_id}}" }}')"
+        nssi: "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}') > service-instance*('service-role','nsi')"
+        nssi_with_nsi: "service-instance*('service-instance-id','{{ printf "{{instance_id}}" }}') > service-instance*('service-role','nsi')('service-instance-id','{{ printf "{{nsi_id}}" }}')"
+
index 6df3ed9..aff6342 100755 (executable)
@@ -55,6 +55,7 @@ aaiServiceInstanceUrl : {{ .Values.config.aaiServiceInstanceUrl }}
 aaiGetControllersUrl: {{ .Values.config.aaiGetControllersUrl }}
 controllerQueryUrl: {{ .Values.config.controllerQueryUrl }}
 aaiGetInterDomainLinksUrl: {{ .Values.config.aaiGetInterDomainLinksUrl }}
+dslQueryPath: /aai/v23/dsl?format=
 
 #DES api
 desUrl: {{ .Values.config.desUrl }}