summaryrefslogtreecommitdiffstats
path: root/l3/api/src/main/yang/nd-proxy@2017-03-15.yang
blob: 11a6ad2b8ac50755669168b14175c42c39d57f67 (plain)
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
43
44
45
module nd-proxy {
    yang-version 1;
    namespace "urn:opendaylight:params:xml:ns:yang:vpp:nd:proxy";
    prefix "nd-proxy";
    revision "2017-03-15" {
        description "Initial revision of neighbour discovery proxy model for VPP";
    }

    import ietf-inet-types {
        prefix "inet";
    }
    import ietf-interfaces {
        prefix "if";
    }
    import ietf-ip {
        prefix "ip";
    }
    import yang-ext {
        prefix "ext";
    }

    augment /if:interfaces/if:interface/ip:ipv6  {
        ext:augment-identifier "nd-proxy-ip6-augmentation";
        container nd-proxies {
            list nd-proxy {
                key "address";
                leaf address {
                    type inet:ipv6-address-no-zone;
                }
            }
        }
    }

    augment /if:interfaces-state/if:interface/ip:ipv6 {
        ext:augment-identifier "nd-proxy-ip6-state-augmentation";
        container nd-proxies {
            list nd-proxy {
                key "address";
                leaf address {
                    type inet:ipv6-address-no-zone;
                }
            }
        }
  }
}