summaryrefslogtreecommitdiffstats
path: root/yang/ietf/frr-deviations-ietf-routing.yang
blob: 15ceb6b92918ef219c45912721cf52b58c08c1bc (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
46
47
48
49
50
51
52
53
module frr-deviations-ietf-routing {
  yang-version 1.1;
  namespace "http://frrouting.org/yang/frr-deviations-ietf-routing";
  prefix frr-deviations-ietf-routing;

  import ietf-routing {
    prefix ietf-routing;
  }

  organization
    "FRRouting";

  contact
    "FRR Users List:       <mailto:frog@lists.frrouting.org>
     FRR Development List: <mailto:dev@lists.frrouting.org>";

  description
    "This module defines deviation statements for the ietf-routing
     module.";

  deviation "/ietf-routing:routing/ietf-routing:router-id" {
    deviate not-supported;
  }

  deviation "/ietf-routing:routing/ietf-routing:interfaces" {
    deviate not-supported;
  }

  deviation "/ietf-routing:routing/ietf-routing:control-plane-protocols/ietf-routing:control-plane-protocol" {
    deviate add {
      must '(type != "ietf-rip:ripv2") or (name = "main")' {
        description
          "ripd supports one RIP instance only";
      }
    }
  }

  deviation "/ietf-routing:routing/ietf-routing:control-plane-protocols/ietf-routing:control-plane-protocol/ietf-routing:description" {
    deviate not-supported;
  }

  deviation "/ietf-routing:routing/ietf-routing:control-plane-protocols/ietf-routing:control-plane-protocol/ietf-routing:static-routes" {
    deviate not-supported;
  }

  deviation "/ietf-routing:routing/ietf-routing:ribs" {
    deviate not-supported;
  }

  deviation "/ietf-routing:routing-state" {
    deviate not-supported;
  }
}