Versions Compared

Key

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

...

  • Setup vCPE the same as regression; up to Service Instantiation
  • Before vCPE Service Instantiation
    • Create HPA policies – See wiki page Policy OOF HPA 
      An example policyExample 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",
                        "score":"7",      "operator":"=",
                              "unit":"MB"
                           }
                        ],
                        "mandatory":"True",
                        "hpa-feature":"basicCapabilities",
                        "architecture":"generic",
      				  "hpa-version":"v1"
                     },
                     { 
                        "featureAttributeshpa-feature-attributes":[ 
                           { 
                            {  "hpa-attribute-key":"logicalCpuPinningPolicy",
                              "hpa-attribute-value":"memoryPageSizededicated",
                              "operator":"="
                           }
                        ],
                        "mandatory":"True",
                        "hpaFeaturehpa-feature":"hugePagescpuPinning",
                        "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",
         "scorepriority":"51",
         "version":"CSIT",
         "content":{ 
            "identity":"hpaPolicy_set3",
            "featureAttributespolicyScope":[ 
               "INTERNATIONAL"
            ],
            "policyType":"hpaPolicy",
            "resources":"vGMuxInfra",
         {    "flavorFeatures":[ 
               { 
                  "flavorLabel":"vcpe.vgmux",
                  "attribute":"logicalCpuThreadPinningPolicy",flavorProperties":[ 
                     { 
                        "hpa-feature-attributes":[ 
                           { 
                              "hpa-attribute-key":"numVirtualCpu",
      						"hpa-attribute-value":"prefer4",
                              "operator":">="
                           },
      					 {
                           {   "hpa-attribute-key":"virtualMemSize",
                              "hpa-attribute-value":"logicalCpuPinningPolicy8",
                              "valueoperator":"dedicated=",
                              "operatorunit":"=MB"
                           }
                        ],
                        "mandatory":"True",
                        "hpaFeaturehpa-feature":"cpuPinningbasicCapabilities",
                        "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

...