Versions Compared

Key

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

...

                }

          }

Restconf Notification 

This is the Service Down Alarm message example from SOTN Controller.

Code Block
languagetext
titleService Down Alarm
collapsetrue
"ietf-network-topology:link":{
       {
          "link-id": "teNodeId/0.5.0.12/telinkId/1",
          "external-domain" :
          {
             "remote-nodeid": "x.x.x.x",
             "remote-tp": y 
          },
          "source": {
             "source-node" : "0.5.0.12",
             "source-tp" : "1"
          }
          "ietf-te-topology:te" : {
              "oper-status": "down",
              "te-link-attributes": {
                 "max-link-bandwidth" : {
                   "te-bandwidth" : "1000000"
                 },
                 "max-resv-link-bandwith" : {
                   "te-bandwidth" : "1000000"
                 },
           ... ...
}

Route Alarm Message

This is the message definition at output of Restconf collector to DMAAP with topic of RESTCONF_ALARM_TOPIC.

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 
}


HOLMES

Rule Creation

Rule Execution

...