This step will be used after creating the VNF in the VID portal so that you have the data created during the service instance and VNF creation and just before the VF creation.

Need to have 5 parameters to set SDNC Preload (vnf-name and vnf-type are the critical ones)

  1. generic-vnf-type":"vIMSSWProduct_test 1",

  2. "service-type":"c8cba5cc-b4cd-4903-9f9a-80b50255d18b",  (UPDATE_THIS_FOR_YOUR_INSTANCE)

  3. "vnf-name":"vIMSVNFTEST1",

  4. "vnf-type":"VimsswproductTest..base_clearwater..module-0" 

  5. "generic-vnf-name":"vIMSVNFTEST1",


SDNC Admin Portal

  1. if admin@openecomp.org user does not exist, use <sdnc_ip>:8843/signup to create a user/password
  2. Access the admin portal on <sdnc_ip>:8843/login
  3. Login



  4. Click on Profiles



  5. Click on "Add VNF Profile" button, fill in the VNF Profile
    1. VNF Type: VimsClearwater..base..clearwater..module-0
    2. Available Zone Count: 100
    3. Equipment Role: vIMS



       
  6. click Submit
    1. Should seed green box: Successfully added VNF Profile
  7. Go to the SDNC VNF-API section next

SDNC VNF-API 

  1. Access <sdnc_ip>:8282/apidoc/explorer/index.html on the SDNC VM
  2. Click on VNF-API
  3. Scroll down to the POST /operations/VNF-API:preload-vnf-topology-operation
  4. Paste the preload-vnf-topology-clearwater.json data into the input box  
    1. An example preload file is in gerrit here
    2. make sure to edit the values  for "pub_key" and "service-type":
      1. {"vnf-parameter-name":"pub_key","vnf-parameter-value":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN imported-openssh-key"},
      2. "generic-vnf-type":"vIMSSWProduct_test 1",

      3. "service-type":"c8cba5cc-b4cd-4903-9f9a-80b50255d18b",  

      4. "vnf-name":"vIMSVNFTEST1",

      5. "vnf-type":"VimsClearwater..base..clearwater..module-0" 

      6. "generic-vnf-name":"vIMSVNFTEST1",


  5. Click on Submit




2 Comments

  1. I didn't have any users in the SDNC database.  Therefore I added one by

    • connecting to the SDNC db container (bash)
    • mysql -u sdnctl -p sdnctl
      > password gamma

    • insert into PORTAL_USERS values ('admin@openecomp.org',AES_ENCRYPT('admin','QtfJMKggVk'),'A');

    Then I could login with password 'admin'.

  2. We created a temporary page in the admin portal to allow user setup for demonstrations and tutorials (http://10.0.7.1:8843/signup) . You can add your admin user there without having to use MySQL.