Hi Aniello,

I tried instantiating from SO : 
http://{{k8s}}:30277/onap/so/infra/serviceInstantiation/v7/serviceInstances for 
MACRO workflow. but got the below error.

{
    "requestStatus": "ROLLED_BACK",
    "statusMessage": "Failed to create self-serve assignment for vf-module with 
vf-module-id=45acb803-5b8b-4abd-9c80-f8b823063287 with error: Failed to get RA 
assignments: Error from ConfigAssignmentNode",
    "rollbackStatusMessage": "Rollback has been completed successfully.",
    "flowStatus": "All Rollback flows have completed successfully",
    "retryStatusMessage": "Retry 1/5 will be started in PT10S",
    "progress": 100,
    "startTime": 1611125133000,
    "endTime": 1611125177000,
    "source": "Postman",
    "vnfId": "4487b3b8-6b6e-435d-83fa-00f6d9dab184",
    "tenantId": "aaaa",
    "requestBody": "{\n    \"requestDetails\": {\n        \"subscriberInfo\": 
{\n            \"globalSubscriberId\": \"Demonstration\"\n        },\n        
\"requestInfo\": {\n            \"suppressRollback\": false,\n            
\"productFamilyId\": \"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb\",\n            
\"requestorId\": \"831754b2-b54e-403b-b165-33d61b1dc025\",\n            
\"instanceName\": \"vfw-cnf-37\",\n            \"source\": \"Postman\"\n        
},\n        \"cloudConfiguration\": {\n            \"lcpCloudRegionId\": 
\"k8sregionfour\",\n            \"tenantId\": \"aaaa\",\n            
\"cloudOwner\": \"k8scloudowner4\"\n        },\n        \"requestParameters\": 
{\n            \"subscriptionServiceType\": \"vfwk8s\",\n            
\"userParams\": [\n                {\n                    \"Homing_Solution\": 
\"none\"\n                },\n                {\n                    
\"service\": {\n                        \"instanceParams\": [\n                 
           {}\n                        ],\n                        
\"instanceName\": \"vfw-cnf-37\",\n                        \"resources\": {\n   
                         \"vnfs\": [\n                                {\n       
                             \"modelInfo\": {\n                                 
       \"modelName\": \"fiveg\",\n                                        
\"modelVersionId\": \"38a8c3a2-78a9-41e6-b9b0-82a1b59efa48\",\n                 
                       \"modelInvariantUuid\": 
\"26efe3be-c5b6-4f1c-9257-d086a01d4a75\",\n                                     
   \"modelVersion\": \"1.0\",\n                                        
\"modelCustomizationId\": \"291d0f91-4c6b-44c0-9dd4-5c62c147ea14\",\n           
                             \"modelInstanceName\": \"fiveg 0\"\n               
                     },\n                                    
\"cloudConfiguration\": {\n                                        
\"lcpCloudRegionId\": \"k8sregionfour\",\n                                      
  \"tenantId\": \"aaaa\"\n                                    },\n              
                      \"platform\": {\n                                        
\"platformName\": \"test\"\n                                    },\n            
                        \"lineOfBusiness\": {\n                                 
       \"lineOfBusinessName\": \"LOB-Demonstration\"\n                          
          },\n                                    \"productFamilyId\": 
\"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb\",\n                                    
\"instanceName\": \"vfw-cnf-37-vnf\",\n                                    
\"instanceParams\": [\n                                        {\n              
                              \"k8s-rb-profile-name\": \"default\"\n            
                            }\n                                    ],\n         
                           \"vfModules\": [\n                                   
     {\n                                            \"modelInfo\": {\n          
                                      \"modelName\": 
\"Fiveg..amf..module-3\",\n                                                
\"modelVersionId\": \"27ec015e-a925-46ac-b050-d270bea3e1de\",\n                 
                               \"modelInvariantUuid\": 
\"95bb5552-78eb-4ee4-bb20-91623076ad2e\",\n                                     
           \"modelVersion\": \"1\",\n                                           
     \"modelCustomizationId\": \"be1e4848-0d49-448b-b8af-d8d3471088fd\"\n       
                                     },\n                                       
     \"instanceName\": \"vfw-cnf-37-amf\",\n                                    
        \"instanceParams\": [\n                                                
{\n                                                    \"k8s-rb-profile-name\": 
\"default\"\n                                                }\n                
                            ]\n                                        },\n     
                                   {\n                                          
  \"modelInfo\": {\n                                                
\"modelName\": \"Fiveg..smf..module-2\",\n                                      
          \"modelVersionId\": \"b1a28333-8184-4939-9c6c-0ef8fa099edf\",\n       
                                         \"modelInvariantUuid\": 
\"4a9f245e-fd87-4449-b8ea-dc19fda902d7\",\n                                     
           \"modelVersion\": \"1\",\n                                           
     \"modelCustomizationId\": \"e5eea3a8-eb71-4544-8578-14a3c3505fa2\"\n       
                                     },\n                                       
     \"instanceName\": \"vfw-cnf-37-smf\",\n                                    
        \"instanceParams\": [\n                                                
{\n                                                    \"k8s-rb-profile-name\": 
\"default\"\n                                                }\n                
                            ]\n                                        },\n     
                                   {\n                                          
  \"modelInfo\": {\n                                                
\"modelName\": \"Fiveg..upf..module-1\",\n                                      
          \"modelVersionId\": \"5c3d0238-9931-4c0e-afeb-81c2321452ff\",\n       
                                         \"modelInvariantUuid\": 
\"d4402e13-e275-4070-a04a-583284027e3e\",\n                                     
           \"modelVersion\": \"1\",\n                                           
     \"modelCustomizationId\": \"758c5367-eb0c-4f66-86b8-914d6c7f8388\"\n       
                                     },\n                                       
     \"instanceName\": \"vfw-cnf-37-upf\",\n                                    
        \"instanceParams\": [\n                                                
{\n                                                    \"k8s-rb-profile-name\": 
\"default\"\n                                                }\n                
                            ]\n                                        },\n     
                                   {\n                                          
  \"modelInfo\": {\n                                                
\"modelName\": \"Fiveg..base_template..module-0\",\n                            
                    \"modelVersionId\": 
\"c02213c0-c17f-4204-b8dc-7f4bd904dc81\",\n                                     
           \"modelInvariantUuid\": \"d81acef9-34ed-487a-bc52-b5cda316f007\",\n  
                                              \"modelVersion\": \"1\",\n        
                                        \"modelCustomizationId\": 
\"76853eb2-58c6-427b-9cb2-d8e6ed29b98c\"\n                                      
      },\n                                            \"instanceName\": 
\"vfw-cnf-37-base_template\",\n                                            
\"instanceParams\": [\n                                                {\n      
                                              \"k8s-rb-profile-name\": 
\"default\"\n                                                }\n                
                            ]\n                                        }\n      
                              ]\n                                }\n            
                ]\n                        },\n                        
\"modelInfo\": {\n                            \"modelVersion\": \"1.0\",\n      
                      \"modelVersionId\": 
\"633b97f6-b148-4c75-b9c3-1c33329dc222\",\n                            
\"modelInvariantId\": \"40cb8b6c-b1cd-4c66-b6d5-3a1229dc786a\",\n               
             \"modelName\": \"fiveg\",\n                            
\"modelType\": \"service\"\n                        }\n                    }\n  
              }\n            ],\n            \"aLaCarte\": false\n        },\n  
      \"project\": {\n            \"projectName\": \"Project-Demonstration\"\n  
      },\n        \"owningEntity\": {\n            \"owningEntityId\": 
\"67f2e84c-734d-4e90-a1e4-d2ffa2e75849\",\n            \"owningEntityName\": 
\"OE-Demonstration\"\n        },\n        \"modelInfo\": {\n            
\"modelVersion\": \"1.0\",\n            \"modelVersionId\": 
\"633b97f6-b148-4c75-b9c3-1c33329dc222\",\n            \"modelInvariantId\": 
\"40cb8b6c-b1cd-4c66-b6d5-3a1229dc786a\",\n            \"modelName\": 
\"fiveg\",\n            \"modelType\": \"service\"\n        }\n    }\n}",
    "lastModifiedBy": "CamundaBPMN",
    "modifyTime": "2021-01-20T06:46:17.000+0000",
    "cloudRegion": "k8sregionfour",
    "serviceInstanceId": "726c86f8-14b7-4c8b-ac97-71478c29d7a4",
    "serviceInstanceName": "vfw-cnf-37",
    "requestScope": "service",
    "requestAction": "createInstance",
    "requestorId": "831754b2-b54e-403b-b165-33d61b1dc025",
    "requestUrl": 
"http://20.0.0.19:30277/onap/so/infra/serviceInstantiation/v7/serviceInstances";,
    "extSystemErrorSource": "SDNC",
    "rollbackExtSystemErrorSource": "SDNC",
    "tenantName": "k8stenant",
    "cloudApiRequests": [],
    "requestURI": "add992d7-a12e-4440-a20c-b47780655306",
    "_links": {
        "self": {
            "href": 
"http://20.0.0.19:30277/infraActiveRequests/add992d7-a12e-4440-a20c-b47780655306";
        },
        "infraActiveRequests": {
            "href": 
"http://20.0.0.19:30277/infraActiveRequests/add992d7-a12e-4440-a20c-b47780655306";
        }
    }
}


If We are trying from NBI API: 
http://nbi.api.simpledemo.onap.org:30274/nbi/api/v4/serviceOrder then in 
payload snssai details are added.

orderItem": [
    {
      "id": "1",
      "action": "add",
      "service": {
"name": "fiveg-001",
        "serviceType": "vfw-k8s",
        "serviceSpecification": {
"id": "633b97f6-b148-4c75-b9c3-1c33329dc222",
"@type": "serviceSpecification",
"@baseType": "serviceSpecification"
        },
"serviceCharacteristic":[
 {
   "name": "fiveg0_snssai",
   "value": {
"@type": "string",
"@schemaLocation": "serviceCharacteristicValue",
"serviceCharacteristicValue": "01-100001"
   }

 }
]

Thanks and Regards,
Naveen

________________________________
From: [email protected] <[email protected]> on behalf of 
Aniello Paolo Malinconico via lists.onap.org 
<[email protected]>
Sent: 13 January 2021 15:49
To: Naveen S. Sankad <[email protected]>; [email protected] 
<[email protected]>
Subject: Re: [onap-discuss] [CNF ][E2E Network Slicing] #nbi NBI exception for 
5GC instantiation in Guilin

Hi,
you can instantiate 5GC using the following API versus SO : 
http://{{k8s}}:30277/onap/so/infra/serviceInstantiation/v7/serviceInstances for 
MACRO workflow.

Thanks,
Aniello
--
-----------------------------------------------------------------
TIM
Aniello Paolo Malinconico
Chief Innovation & Partnership Office
Technology Innovation

TIM S.p.A.
Via G. Reiss Romoli, 274 – 10148 TORINO
email: [email protected]
Tim Official: 
Facebook<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2FTimOfficialPage&data=04%7C01%7Cnaveen.sankad%40ltts.com%7C0b0ed6b56f3941fd1a9408d8b7acb095%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C637461299613554246%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=q60GrwaSO81M2I2r8Io28txe9zC%2FTNj33xbCiblHe3A%3D&reserved=0>
 - 
Twitter<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Ftim_official&data=04%7C01%7Cnaveen.sankad%40ltts.com%7C0b0ed6b56f3941fd1a9408d8b7acb095%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C637461299613564242%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=TWXu2viz0VkUExMu644oXnev5QAWdM6v8dJGw0TxTxw%3D&reserved=0>
 - 
www.tim.it<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.tim.it%2F&data=04%7C01%7Cnaveen.sankad%40ltts.com%7C0b0ed6b56f3941fd1a9408d8b7acb095%7C311b33788e8a4b5ea33fe80a3d8ba60a%7C0%7C0%7C637461299613574240%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=2WdbRq3TK9JR35gs7%2BwA044kj6CSGLMz94xuzm0Rgik%3D&reserved=0>


L&T Technology Services Ltd

www.LTTS.com

L&T Technology Services Limited (LTTS) is committed to safeguard your data 
privacy. For more information to view our commitment towards data privacy under 
GDPR, please visit the privacy policy on our website www.Ltts.com. This Email 
may contain confidential or privileged information for the intended recipient 
(s). If you are not the intended recipient, please do not use or disseminate 
the information, notify the sender and delete it from your system.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22750): https://lists.onap.org/g/onap-discuss/message/22750
Mute This Topic: https://lists.onap.org/mt/79390279/21656
Mute #nbi:https://lists.onap.org/g/onap-discuss/mutehashtag/nbi
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to