Versions Compared

Key

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

...

Code Block
{
  "data":"scopes",
  "scopes":[
    {
      "schema":{
          "namespace":"*" //no placeholder
       }
    }
  ]
}

Example

...

4: All notifications(every node) implemented in microwave-model:

Code Block
{
  "data":"scopes",
  "scopes":[
    {
      "schema":{
          "namespace":"onf:params:xml:ns:yang:microwave-model"
       }
    }
  ]
}

Example

...

5: All notifications(every node) of type problem-notification of microwave-model:

Code Block
{
  "data":"scopes",
  "scopes":[
    {
      "schema":{
          "namespace":"onf:params:xml:ns:yang:microwave-model",
          "notification":["problem-notification"]   
       }
    }
  ]
}

Example

...

6: All notifications(every node) of type problem-notification of microwave-model@2018-10-10:

Code Block
{
  "data":"scopes",
  "scopes":[
    {
      "schema":{
          "namespace":"onf:params:xml:ns:yang:microwave-model",
          "revision":"2018-10-10",
          "notification":["problem-notification"]   
       }
    }
  ]
}

Example

...

7: All notifications for node-id of type problem-notification of microwave-model@2018-10-10:

Code Block
{
  "data":"scopes",
  "scopes":[
    {
      "node-id":"node1"
      "schema":{
          "namespace":"onf:params:xml:ns:yang:microwave-model",
          "revision":"2018-10-10",
          "notification":["problem-notification"]   
       }
    }
  ]
}

...