File: interfaces-notifications.yang

package info (click to toggle)
yuma123 2.14-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 22,436 kB
  • sloc: ansic: 185,144; cpp: 10,968; python: 7,990; sh: 2,676; makefile: 1,175; xml: 807; exp: 776; perl: 70
file content (42 lines) | stat: -rw-r--r-- 774 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
module interfaces-notifications {

  namespace "http://yuma123.org/ns/interfaces-notifications";
  prefix if-notif;

  import ietf-interfaces {
    prefix if;
  }

  organization
    "yuma123.org";

  contact
    "Editor:   Vladimir Vassilev
               <mailto:vladimir@transpacket.com>";

  description
    "This module contains a collection of YANG definitions for
     notifications for managing network interfaces.";

  revision 2016-11-12 {
    description
      "Initial revision.";
  }

  notification link-up {
    leaf if-name {
      type leafref {
        path "/if:interfaces/if:interface/if:name";
      }
    }
  }

  notification link-down {
    leaf if-name {
      type leafref {
        path "/if:interfaces/if:interface/if:name";
      }
    }
  }

}