Versions Compared

Key

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

...

Code Block
languagetext
titleRestconf Collector Output (JSON)
collapsetrue
{
“service_status”: {
           “external_domain”: {
                 “remote-nodeid” : “ example-remote-nodeid”,
                 “remote-tpid”   : “ example-remote-tpid” 
                  },  
           “source”? {“source-tpid”: “example-source-tpid”}, 
           “oper-status”?: “down”,
           “mapping-id” :  “restconf2ves-001,
           “service-instance-id”:   service-instance-01
    }
}

...

Code Block
languagetext
titleOperational Policy
collapsetrue
controlLoop:
  version: 2.0.0
  controlLoopName: ControlLoop-CCVPN-2179b738-fd36-4843-a71a-a8c24c70c55b
  trigger_policy: unique-policy-id-16-deleteSOTNService, unique-policy-id-17-createSOTNService
  timeout: 3600
  abatement: false
 
policies:
  - id: unique-policy-id-16-deleteSOTNService
    name: Delete SOTN Service
    description:
    actor: SO
    recipe: DeleteE2EService
    target:
      type: VM
    retry: 3
    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


  - id: unique-policy-id-17-createSOTNService
    name: Create SOTN Service
    description:
    actor: SO
    recipe: CreateE2EService
    target:
      type: VM
    retry: 3
    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
  

...