Versions Compared

Key

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

...

Code Block
titlevDNS - Operational Policy
linenumberstrue
collapsetrue
controlLoop:
  version: 2.0.0
  controlLoopName: ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3
  trigger_policy: unique-policy-id-1-scale-up
  timeout: 1200
  abatement: false
policies:
  - id: unique-policy-id-1-scale-up
    name: Scale out the VNF
    description:
    actor: SO
    recipe: scaleOut
    target:
      type: VNF
    payload:
      # Need to get from Marco
# TODO convert to YAML
"requestParameters":{
         "userParams":[
            {
               "name":"mmc",
               "value":"001"
            },
            {
               "name":"mnc",
               "value":"01"
            },
            {
               "name":"mme_addr",
               "value":"vmme_private_ip_0"
            },
            {
               "name":"gtp_bind_addr",
               "value":"vmme_private_ip_0"
            },
            {
               "name":"n_prob",
               "value":50
            },
            {
                "name": "vnfHostIpAddress",
                "value": " veb_private_ip_0"
            }
         ],
         "usePreload":true
      }


    retry: 0
    timeout: 1200
    success: final_success
    failure: final_failure
    failure_timeout: final_failure_timeout
    failure_retries: final_failure_retries
    failure_exception: final_failure_exception
    failure_guard: final_failure_guard

...