GENERIC-RESOURCE-API is a northbound service API defiend in a yang model under the northbound API repo
If you want to call a sub-DG you would edit the GENERIC-RESOURCE-API’s DG’s to insert an “switch” node that would then call your sub-dg for the conditions you want to call. [sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / -rw-r--r-- 11158 GENERIC-RESOURCE-API_vnf-topology-operation-activate.json blob | history | raw -rw-r--r-- 114519 GENERIC-RESOURCE-API_vnf-topology-operation-assign.json blob | history | raw -rwxr-xr-x 16547 GENERIC-RESOURCE-API_vnf-topology-operation-changeassign.json blob | history | raw -rw-r--r-- 9335 GENERIC-RESOURCE-API_vnf-topology-operation-deactivate.json blob | history | raw -rw-r--r-- 26414 GENERIC-RESOURCE-API_vnf-topology-operation-unassign.json blob | history | raw -rw-r--r-- 33173 GENERIC-RESOURCE-API_vnf-topology-operation.json blob | history | raw Start with one of these API’s for the specific SO to SDNC interface using GRA that you want to use. Vnf-topology-operation.json is the top DG Based on action it calls activate, etc Normal sequence for SO is Assign -> Activate or Assign->Create->Activate It varies by service workflow that is used. Assign phase is before the VNF is created to set the .env data that is passed to the VIM by SO with the model data/template from SDC Activate phase is typically for post instantiate config and AAI update. Create can do config of network configurations – sometimes across multiple devices before marking they are “Active” – for instance we might create the networking for a VNF (See vCPE flows for Casablanca on the wiki) Brian From: [email protected] <[email protected]> On Behalf Of [email protected] Sent: Monday, April 01, 2019 5:02 PM To: [email protected] Subject: [onap-discuss] SDNC) DG bridging to API #sdnc Hello, After creating a new Directed Graph, how can I bridge the DG with API not using SLI-API:execute-graph? For example, if I created a DG under GENERIC-RESOURCE-API with rpc name example1, what do I need to do to make this DG activated using GENERIC-RESOURCE-API. Eventually, we want to activate this DG using SO-SDNC-adapter call. Thanks, -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16428): https://lists.onap.org/g/onap-discuss/message/16428 Mute This Topic: https://lists.onap.org/mt/30859649/21656 Mute #sdnc: https://lists.onap.org/mk?hashtag=sdnc&subid=2740164 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
