Hi, RP,

Thank you for the tips.

I have been working on the same w/ H release.  I have run into OOF 
pods-wont-come-up issue.  I will try the image versions you mentioned below and 
tried one more time.

Thanks!

Xin Miao

From: [email protected] [mailto:[email protected]] On 
Behalf Of Rajendra Prasad Mishra
Sent: Wednesday, March 24, 2021 1:21 AM
To: [email protected]; Sandeep Sharma <[email protected]>
Cc: [email protected]
Subject: Re: [onap-discuss] [e2e 5G Network Slicing] UUI Cannot Process Task

Hi All,
    We are able to successfully create a 5G Slice on ONAP Guilin+ release. 
Thanks to Aniello for the help in debugging. I would like to thank Krishna for 
providing us the policy related insights in ONAP.

Here I would detail the steps and links that we followed. Below are the wiki 
links that we followed for creating the setup.

https://wiki.onap.org/display/DW/Template+Design+for+Option2
https://wiki.onap.org/display/DW/Setup+related+issues
https://wiki.onap.org/display/DW/Install+Minimum+Scope+for+Option+1
https://wiki.onap.org/display/DW/External+Core+NSSMF+Simulator+Use+Guide
https://wiki.onap.org/display/DW/External+RAN+NSSMF
https://wiki.onap.org/pages/viewpage.action?pageId=92996521
https://wiki.onap.org/display/DW/Manual+Configuration+for+5G+Network+Slicing

In addition a few additional things to note.

- The above documentation does not work on Guilin branch and it won't work on 
master either. Besides the image changes described in above documentation we 
had to do the following changes.
     a. We used the master branch from 19th March 2021
     b. Downgraded the following images
            Image:         
nexus3.onap.org:10001/onap/optf-osdf:3.0.2<http://nexus3.onap.org:10001/onap/optf-osdf:3.0.2>
            Image:         
nexus3.onap.org:10001/onap/optf-has:2.1.2<http://nexus3.onap.org:10001/onap/optf-has:2.1.2>

- The above documentation has a mention  but was not very clear. We added all 
the AR's to AAI, otherwise distribution will fail.

 curl --user AAI:AAI -X PUT -H "X-FromAppId:AAI" -H  
"X-TransactionId:get_aai_subscr" -H "Accept:application/json" -H 
"Content-Type:application/json" -k -d '{ "model-invariant-id": 
"bb9c30d4-552b-4231-a172-c24967e8ee24", "model-type": "resource", "model-vers": 
{ "model-ver": [ { "model-version-id": "f10a33da-114e-41b6-89b2-851c31a1e0dc", 
"model-name": "Slice_AR", "model-version": "1.0" } ] } }' 
"https://10.43.189.167:8443/aai/v21/service-design-and-creation/models/model/bb9c30d4-552b-4231-a172-c24967e8ee24

curl --user AAI:AAI -X PUT -H "X-FromAppId:AAI" -H  
"X-TransactionId:get_aai_subscr" -H "Accept:application/json" -H 
"Content-Type:application/json" -k -d '{ "model-invariant-id": 
"43515a2b-5aa7-4544-9c40-f2ce693b99bd", "model-type": "service", "model-vers": 
{ "model-ver": [ { "model-version-id": "81d13710-811f-47f7-9871-affc666ba11a", 
"model-name": "EmbbNst_O2", "model-version": "1.0" } ] } }' 
"https://10.43.189.167:8443/aai/v21/service-design-and-creation/models/model/43515a2b-5aa7-4544-9c40-f2ce693b99bd";
 | python -m json.tool

curl --user AAI:AAI -X PUT -H "X-FromAppId:AAI" -H  
"X-TransactionId:get_aai_subscr" -H "Accept:application/json" -H 
"Content-Type:application/json" -k -d '{ "model-invariant-id": 
"7a1ffb3c-7bd0-415c-b3d8-cf6170de805e", "model-type": "resource", "model-vers": 
{ "model-ver": [ { "model-version-id": "e551c7cd-9270-4d15-b1f8-9634e0ab0ffe", 
"model-name": "EmbbAn_NF_AR", "model-version": "1.0" } ] } }' 
"https://10.43.189.167:8443/aai/v21/service-design-and-creation/models/model/7a1ffb3c-7bd0-415c-b3d8-cf6170de805e";
   | python -m json.tool

curl --user AAI:AAI -X PUT -H "X-FromAppId:AAI" -H  
"X-TransactionId:get_aai_subscr" -H "Accept:application/json" -H 
"Content-Type:application/json" -k -d '{ "model-invariant-id": 
"29620dfe-cffc-4959-93cc-314279d17f96", "model-type": "resource", "model-vers": 
{ "model-ver": [ { "model-version-id": "529f5a61-7a8c-4b8b-b591-0bba72f9fd2e", 
"model-name": "Tn_BH_AR", "model-version": "1.0" } ] } }' 
"https://10.43.189.167:8443/aai/v21/service-design-and-creation/models/model/29620dfe-cffc-4959-93cc-314279d17f96";
   | python -m json.tool

- We need to follow some order to push policies, here is how we did it.

python3 policy_utils.py create_policy_types policy_types
python3 policy_utils.py generate_nsi_policies EmbbNst_O2
python3 policy_utils.py create_and_push_policies gen_nsi_policies
python3 policy_utils.py generate_nssi_policies EmbbAn_NF minimize latency
python3 policy_utils.py create_and_push_policies gen_nssi_policies
python3 policy_utils.py generate_nssi_policies Tn_ONAP_internal_BH  minimize 
latency
python3 policy_utils.py create_and_push_policies gen_nssi_policies
python3 policy_utils.py generate_nssi_policies EmbbCn_External minimize latency
python3 policy_utils.py create_and_push_policies gen_nssi_policies

- For core simulator, the vendor name should match the one passed in the SDC 
templates, here is what worked for us.

"esr-system-info": [
    {
      "esr-system-info-id": "nssmf-an-01",
      "type": "an",
      "vendor": "huawei",
      "user-name": "admin",
      "password": "123456",
      "system-type": "thirdparty-sdnc",
      "ssl-cacert": "test.ca<http://test.ca>",
      "ip-address": "192.168.122.198",
      "port": "8443",
      "resource-version": "1616417615150"
    }
  ]

thanks,
-RP Mishra


On Mon, Mar 22, 2021 at 3:20 PM Sandeep Sharma 
<[email protected]<mailto:[email protected]>> wrote:
Thanks Krishna,
With the updated templates it went ahead, however it failed with,

2021-03-22T09:26:00.930+00:00||Thread-22|||||ERROR|400|Internal Error|Error 
from conductor [Parameter 'areaTrafficCapDL' undefined in path constraints > 
nst_Threshold > properties > evaluate[1] > threshold]

The SO is not sending this parameter in payload while selecting NST.
-Sandeep

On Mon, Mar 22, 2021 at 1:13 PM Krishna Moorthy via 
lists.onap.org<http://lists.onap.org> 
<[email protected]<mailto:[email protected]>> 
wrote:
Hi Sandeep,

The homing template that has been sent to conductor is not complete, since OSDF 
create the homing template based on the policies that is being fetched from the 
policy module. I have updated the page with the NST selection policies. You can 
use it to create NST policies.

https://wiki.onap.org/display/DW/Optimization+Policy+Creation+Steps

To understand more about the interactions between OSDF - Policy - HAS, we had a 
session in one of the LFN event. The recording can be found here

https://wiki.lfnetworking.org/download/attachments/40372472/OOF_Hands_On_Session_Oct_14.mp4?api=v2


--
[https://docs.google.com/uc?export=download&id=1aZs2CQGQI0WnAobumqXPiXg7bcYvmO9q&revid=0B4K_71eDDWrCcUw1YkxuY1c5cm1sa254M0pqL0hzaXcyK1BZPQ]
CRN Top 10 Coolest Edge Computing Startups of 
2020<https://www.crn.com/slide-shows/networking/the-10-coolest-edge-computing-startups-of-2020/2>



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


Reply via email to