Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We are making good progress on pairwise testing. HPA is unique in that it relies on a multitude of projects and OOF is new and untested. Most of HPA work is gated by OOF, but we are doing our best to help facilitate OOF testing.


Updates: 
Wednesday      5/16/18 

Example policies and modified CSAR's have been created and attached to this page. | OOF - Policy Debug Still in Progress | OOF - AAI Waiting for multicloud fix | OOF - SO Exploring ways to use dummy data for OOF to test interaction.

Tuesday      5/15/18

OOF -AAI, AAI connectivity resolved | OOF - Policy, Still testing/Troubleshooting with Policy | OOF - SO, exact regression CSAR's acquired, modification started | AAI – Multicloud, A couple issues with data model used have been fixed that blocked AAI

Monday   5Monday      5/14/18

OOF - Policy, Bugs Found in Final Tests, Policy Team working on fixes per Ankit | OOF - AAI Needed further data populated by Multicloud in AAI - In Progress |  OOF - SO, Testing Setup but blocked by other parts | AAI - Multicloud Working

...

  • Setup vCPE the same as regression; up to Service Instantiation
  • Before vCPE Service Instantiation
    • Create HPA policies – See wiki page Policy OOF HPA 
      Example policies: 

      Code Block
      languagebash
      titleHPA Policy Example 1
      { 
         "riskLevel":"1",
         "riskType":"SampleRiskType",
         "policyName":"PolicyHPA3",
         "service":"hpaPolicy",
         "guard":"False",
         "description":"Must have Huge pages support",
         "templateVersion":"OpenSource.version.1",
         "priority":"1",
         "version":"CSIT",
         "content":{ 
            "identity":"hpaPolicy_set3",
            "policyScope":[ 
               "INTERNATIONAL"
            ],
            "policyType":"hpaPolicy",
            "resources":"vGMuxInfra",
            "flavorFeatures":[ 
               { 
                  "flavorLabel":"vcpe.vgmux",
                  "flavorProperties":[ 
                     { 
                        "hpa-feature-attributes":[ 
                           { 
                              "hpa-attribute-key":"numVirtualCpu",
      						"hpa-attribute-value":"4",
                              "operator":"="
                           },
      					 {
                              "hpa-attribute-key":"virtualMemSize",
                              "hpa-attribute-value":"8192",
                              "operator":"=",
                              "unit":"MB"
                           }
                        ],
                        "mandatory":"True",
                        "hpa-feature":"basicCapabilities",
                        "architecture":"generic",
      				  "hpa-version":"v1"
                     },
                     { 
                        "hpa-feature-attributes":[ 
                           { 
                              "hpa-attribute-key":"logicalCpuPinningPolicy",
                              "hpa-attribute-value":"dedicated",
                              "operator":"="
                           }
                        ],
                        "mandatory":"True",
                        "hpa-feature":"cpuPinning",
                        "architecture":"generic",
      				  "hpa-version":"v1",
                     }
                  ]
               }
            ]
         }
      }
      Code Block
      languagebash
      titleHPA Policy Example 2
      { 
         "riskLevel":"1",
         "riskType":"SampleRiskType",
         "policyName":"PolicyHPA3",
         "service":"hpaPolicy",
         "guard":"False",
         "description":"Must have Huge pages support",
         "templateVersion":"OpenSource.version.1",
         "priority":"1",
         "version":"CSIT",
         "content":{ 
            "identity":"hpaPolicy_set3",
            "policyScope":[ 
               "INTERNATIONAL"
            ],
            "policyType":"hpaPolicy",
            "resources":"vGMuxInfra",
            "flavorFeatures":[ 
               { 
                  "flavorLabel":"vcpe.vgmux",
                  "flavorProperties":[ 
                     { 
                        "hpa-feature-attributes":[ 
                           { 
                              "hpa-attribute-key":"numVirtualCpu",
      						"hpa-attribute-value":"4",
                              "operator":">="
                           },
      					 {
                              "hpa-attribute-key":"virtualMemSize",
                              "hpa-attribute-value":"8",
                              "operator":"=",
                              "unit":"MB"
                           }
                        ],
                        "mandatory":"True",
                        "hpa-feature":"basicCapabilities",
                        "architecture":"generic",
      				  "hpa-version":"v1"
                     }
                  ]
               }
            ]
         }
      }


       This example will change based on flavors in OpenStack/Multicloud in the lab.

    • Create flavors in OpenStack
    • Use modified CSARs flavorLabel attributes to match the ones created in policy - See below 'HPA Updated CSAR's' section.
    • Distribute CSARs to SO
  • At vCPE Service Instantiation
    • Send updated REST service instantiation request to SO that includes user param: Customer_Location
  • Continue the same as vCPE Regression and confirm all is well

Updates: 


Wednesday      5/16/18 


Example policies and modified CSAR's have been created and attached to this page. On policy side more will need to be created for all vCPE CSARs.

...