• Icon: Sub-task Sub-task
    • Resolution: Won't Do
    • Icon: Medium Medium
    • Frankfurt Release
    • None

      follow bdfreeman1421 latest message - work with offline installer team
      https://lists.onap.org/g/onap-discuss/topic/how_to_test_onap_casablanca/28996873?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,28996873

      In casablanca we added functions to testsuite/robot to do more automated setup and testing.
      
      I would look at the following testsuite tags
      
      1.	Demo-k8s.sh onap init 
      a.	This calls the InitDemo Tag in the demo.robot testsuite that in turn calls the Keyword “Load Customer And Models” with customer_name=”Demonstration”
      i.	Load Customer And Models
      1.	    Load OwningEntity  lineOfBusiness  LOB-${customer_name}
      2.	    Load OwningEntity  platform  Platform-${customer_name}
      3.	    Load OwningEntity  project  Project-${customer_name}
      4.	    Load OwningEntity  owningEntity  OE-${customer_name}
      5.	    Load Customer  ${customer_name}
      6.	    Load Models  ${customer_name}
      b.	Load Models calls the test suite load all the standard use case models for opensource VNFs. This will onboard the heat templates and do a distribution through DMaaP to the components (SO, AAI and SDNC have to be up and working succesfully through DMaaP with SDC for this to pass) – you need to open up robot log.html to confirm 
      i.	Load Models
      1.	    ${status}   ${value}=   Run Keyword And Ignore Error   Distribute Model   vFWCL   ${DEMO_PREFIX}VFWCL
      2.	    ${status}   ${value}=   Run Keyword And Ignore Error   Distribute Model   vLB   ${DEMO_PREFIX}VLB
      3.	    ${status}   ${value}=   Run Keyword And Ignore Error   Distribute Model   vCPEInfra   ${DEMO_PREFIX}VCPEInfra
      4.	    ${status}   ${value}=   Run Keyword And Ignore Error   Distribute Model   vCPEvBNG   ${DEMO_PREFIX}VCPEvBNG
      5.	     ${status}   ${value}=   Run Keyword And Ignore Error   Distribute Model   vCPEvBRGEMU   ${DEMO_PREFIX}VCPEvBRGEMU
      6.	    ${status}   ${value}=   Run Keyword And Ignore Error   Distribute Model   vCPEvGMUX    ${DEMO_PREFIX}VCPEvGMUX
      7.	    ${status}   ${value}=   Run Keyword And Ignore Error   Distribute Model   vCPEvGW    ${DEMO_PREFIX}VCPEvGW
      2.	Demo-k8s.sh onap instantiateVFWCL will instantiate a VFWCL and leave that VNF running. This will test that the VID, AAI, SO, SDNC and SO to Openstack path is working successfully and seeds data in AAI and setups APPC netconf mount for closed loop operations
      3.	Marco is more expert at the closedloop vfwcl process but there is a script to run to update the resource ID in the default policy thatI can be run and then there are robot tags to run the closed loop where robot will set the traffic high or low and then watch the traffic generator to see that it gets reset to mid-level. This would test DCAE to Policy to APPC 
      
      Gary has jenkins jobs for some of this in the daily onap-ci jobs that you could perhaps re-use.
      
      
      

            pau2882 pau2882
            michaelobrien michaelobrien
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: