nuagex / nuagex-labs

Collection of labs that can be deployed to nuagex platform and configured with CATS to demonstrate certain use cases.
3 stars 1 forks source link

Netrounds chandra #25

Closed apooniajjn closed 5 years ago

apooniajjn commented 5 years ago

Creating a pull request to manage validations and comments related to Netrounds VNF integration effort repo

apooniajjn commented 5 years ago

@cddashud I have validated repo from my end. I can see agents on netrounds controller.

I have already provided my feedback to your over slack.

  1. Read Lab's VSD password directly from metadata file
${ssh_key_path}                     ~/.ssh/id_rsa
${vsd_ip}                                 10.0.0.2
${vsd_password}                   # should be empty
*** Keywords ***
Login NuageX User
    Run Keyword If  $vsd_password == ""
    ...  Get NuageX lab password

    NuageUserMgmt.Login user
    ...    cats_api_url=https://${vsd_ip}:8443
    ...    cats_username=admin
    ...    cats_password=${vsd_password}
    ...    cats_org_name=csp

Get NuageX lab password
    Process.Run Process
    ...  wget -q -O - http://169.254.169.254/2009-04-04/user-data | grep -m1 "content" | awk '{print $3}' | base64 -d | grep -m1 "password" | awk '{print $2}'
    ...  shell=True
    ...  alias=passwd

    ${vsd_password} =  Process.Get Process Result
                       ...  passwd
                       ...  stdout=True

    Set Global Variable  ${vsd_password}
  1. Mention its not required to create agent before you deploy VNFs on NSG-Vs.

Rest looks good, let me know if you have any questions.