RANSlice - CPS Integration
[ccsdk/distribution.git] / odlsli / src / main / properties / ran-slice-api-dg.properties
index 293d375..eac7156 100644 (file)
@@ -3,7 +3,7 @@ controller.url=http://sdnc-oam.onap:8282
 controller.user=admin
 controller.pwd=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
 ransim-mounted=false
-configdb-deployed=true
+configdb-deployed=false
 cps-deployed=true
 
 restapi.trustStoreFileName=/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks
@@ -109,6 +109,7 @@ restapi.removeRRMPolicyMember.ToCUUP=/restconf/config/ran-network:ran-network/Ne
 restapi.terminateSNSSAIEntry.ToNRCellDU=/restconf/config/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBDUFunction/{idGNBDUFunction}/NRCellDU/{idNRCellDU}/attributes/pLMNInfoList/{mcc}/{mnc}/sNSSAIList/{sNssai}
 restapi.removeRRMPolicyRatio.ToNRCellDU=/restconf/config/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBDUFunction/{idGNBDUFunction}/NRCellDU/{idNRCellDU}/attributes/RRMPolicyRatio/{id}
 restapi.removeRRMPolicyMember.ToNRCellDU=/restconf/config/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBDUFunction/{idGNBDUFunction}/attributes/RRMPolicyRatio/{id}/attributes/rRMPolicyMemberList/{idx}
+restapi.nearrtric.removeSliceProfile=/restconf/config/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/attributes/sliceProfilesList/{sliceProfileId}
 
 
 # Restconf URLs with Netconf Mount of Ran Simulator TO BE FINALIZED
@@ -151,9 +152,10 @@ restapi.removeRRMPolicyMember.ToCUUP.ransim-mounted=/restconf/config/network-top
 restapi.terminateSNSSAIEntry.ToNRCellDU.ransim-mounted=/restconf/config/network-topology:network-topology/topology/topology-netconf/node/{mountName}/yang-ext:mount/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBDUFunction/{idGNBDUFunction}/NRCellDU/{idNRCellDU}/attributes/pLMNInfoList/{mcc}/{mnc}/sNSSAIList/{sNssai}
 restapi.removeRRMPolicyRatio.ToNRCellDU.ransim-mounted=/restconf/config/network-topology:network-topology/topology/topology-netconf/node/{mountName}/yang-ext:mount/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBDUFunction/{idGNBDUFunction}/NRCellDU/{idNRCellDU}/attributes/RRMPolicyRatio/{id}
 restapi.removeRRMPolicyMember.ToNRCellDU.ransim-mounted=/restconf/config/network-topology:network-topology/topology/topology-netconf/node/{mountName}/yang-ext:mount/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBDUFunction/{idGNBDUFunction}/NRCellDU/{idNRCellDU}/attributes/RRMPolicyRatio/{id}/attributes/rRMPolicyMemberList/{idx}
+restapi.nearrtric.removeSliceProfile.ransim-mounted=/restconf/config/network-topology:network-topology/topology/topology-netconf/node/{mountName}/yang-ext:mount/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/attributes/sliceProfilesList/{sliceProfileId}
 
 #URLs for ConfigDB TO BE FINALIZED
-configdb.url=http://10.31.4.14:8086/api/sdnc-config-db/v4
+configdb.url=${CONFIG_DB_URL:-http://10.31.4.14:8086/api/sdnc-config-db/v4}
 restapi.configdb.getNearRTRICsFromTrackingArea=/nearrtric-list/{trackingArea}
 restapi.configdb.getListOfCells=/cell-list/{trackingArea}
 restapi.configdb.getCUCellsOfRIC=/cu-cell-list/{nearRTRICId}
@@ -192,8 +194,14 @@ restapi.configDB.updategNBDU.templatefile=ranSlice-configDB-updategNBDU.json
 #RRMPolicyID to be incremented by 1, anytime neew RRMPolicy is added
 configDB.rrmPolicyID=1
 
+#CPS endpoint to fetch the anchors
+restapi.cps.anchors.endpoint=${CPS_URL:-http://10.31.4.14:8883}/cps/api/v1/dataspaces/E2EDemo/anchors
+
+
 #CPS-TBDMT Details
-#restapi.cps.tbdmt.execute.endpoint=http://10.31.4.14:8081/execute/{schemaSet}/{templateId}
+restapi.cps.tbdmt.execute.endpoint=${CPS_TBDMT_URL:-http://10.31.4.14:8081}/execute/{schemaSet}/{templateId}
+
+
 
 #Schemasets
 rannetwork.schemaset=ran-network
@@ -206,24 +214,34 @@ inventory.schemaset=ran-inventory
 tbdmt.template.get-nearrtric-by-rannfnssi=get-nearrtric-by-rannfnssi
 tbdmt.template.get-cells-list=get-cells-list
 tbdmt.template.put-nearrtric=put-nearrtric
-tbdmt.template.put-gnbcucpfunction=put-gnbcucpfunction
+tbdmt.template.put-nrcellcu=put-nrcellcu
 tbdmt.template.put-gnbcuupfunction=put-gnbcuupfunction
-itbdmt.template.put-gnbdufunction=put-gnbdufunction
+tbdmt.template.put-nrcelldu=put-nrcelldu
 tbdmt.template.put-nrcellcu-rrm-policy=put-nrcellcu-rrm-policy
+tbdmt.template.get-nrcellcu-rrm-policy=get-nrcellcu-rrm-policy
 tbdmt.template.put-cuup-rrm-policy=put-cuup-rrm-policy
 tbdmt.template.put-nrcelldu-rrm-policy=put-nrcelldu-rrm-policy
 tbdmt.template.update-ran-inventory=update-ran-inventory
-tbdmt.template.get-nrcellcu-rrm-policy=get-nrcellcu-rrm-policy
 tbdmt.template.get-cuup-rrm-policy=get-cuup-rrm-policy
-tbdmt.template.gett-nrcelldu-rrm-policy=get-nrcelldu-rrm-policy
-
-
-#CPS-TDMT payload templates
-
-#modify-allocate
-restapi.tbdmt.payload.get-nearrtric-by-rannfnssi=cps-get-nearrtric-by-rannfnssi.json
-restapi.tbdmt.payload.get-cells-list=cps-get-cells-list.json
-restapi.tbdmt.payload.put-nearrtric=cps-put-nearrtric.json
+tbdmt.template.get-nrcelldu-rrm-policy=get-nrcelldu-rrm-policy
+tbdmt.template.put-nrcellcu-rrm-policy-member=put-nrcellcu-rrm-policy-member
+tbdmt.template.put-cuup-rrm-policy-member=put-cuup-rrm-policy-member
+tbdmt.template.put-nrcelldu-rrm-policy-member=put-nrcelldu-rrm-policy-member
+tbdmt.template.add-slice-profile=add-slice-profile
+
+#terminate-ran-slice templates
+tbdmt.template.getmcc=get-plmnmccid-by-sliceprofileid
+tbdmt.template.get-plmnmncid-from-sliceprofile=get-plmnmncid-by-sliceprofileid
+tbdmt.template.delete-nssai-from-rtric=delete-nssai-from-rtric
+tbdmt.template.delete-nssai-from-cucp-plmninfo=delete-nssai-from-cucp-plmninfo
+tbdmt.template.delete-nssai-from-cucp-rrmpolicy=delete-nssai-from-cucp-rrmpolicy
+tbdmt.template.delete-nssai-from-cuup-plmninfo=delete-nssai-from-cuup-plmninfo
+tbdmt.template.delete-nssai-from-cuup-rrmpolicy=delete-nssai-from-cuup-rrmpolicy
+tbdmt.template.delete-nssai-from-du-plmninfo=delete-nssai-from-du-plmninfo
+tbdmt.template.delete-nssai-from-du-rrmpolicy=delete-nssai-from-du-rrmpolicy
+tbdmt.template.delete-rannfnssi=delete-rannfnssi
+tbdmt.template.delete-slice-profile=delete-slice-profile
+tbdmt.template.get-ran-slices=get-ran-slices
 
 #RAN Simulator Related Properties
 #The below RRMPolicy and PolicyMemberList ID's to be incremented by 1
@@ -243,8 +261,10 @@ restapi.so.user=mso_admin
 restapi.so.password=password1$
 
 
-#POLICYTYPE
-a1.requestid=9d2d790e-a5f0-11e8-98d0-529269fb1459
-a1.version=1.0
-a1.action=putA1Policy
+#A1-Adaptor properties
+a1.policytype.id=1
+a1.policytype.url.nearrtric11=http://10.31.4.11:8085/a1-p/policytypes
+a1.policytype.url.nearrtric22=http://10.31.4.12:8085/a1-p/policytypes
+a1.policyinstance.url.nearrtric11=http://10.31.4.11:8085/a1-p/policytypes/1/policies/
+a1.policyinstance.url.nearrtric22=http://10.31.4.12:8085/a1-p/policytypes/1/policies/