Skip to content

Commit

Permalink
OSPFv3 model
Browse files Browse the repository at this point in the history
  • Loading branch information
cpeng90 committed Feb 18, 2025
1 parent a172285 commit 67d0d0e
Show file tree
Hide file tree
Showing 8 changed files with 1,425 additions and 2 deletions.
17 changes: 16 additions & 1 deletion release/models/network-instance/openconfig-network-instance.yang
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ module openconfig-network-instance {
import openconfig-mpls { prefix "oc-mpls"; }
import openconfig-vlan { prefix "oc-vlan"; }
import openconfig-ospfv2 { prefix "oc-ospfv2"; }
import openconfig-ospf { prefix "oc-ospf"; }
import openconfig-policy-forwarding { prefix "oc-pf"; }
import openconfig-segment-routing { prefix "oc-sr"; }
import openconfig-isis { prefix "oc-isis"; }
Expand All @@ -48,7 +49,13 @@ module openconfig-network-instance {
virtual switch instance (VSI). Mixed Layer 2 and Layer 3
instances are also supported.";

oc-ext:openconfig-version "4.4.1";
oc-ext:openconfig-version "4.5.1";

revision "2025-02-18" {
description
"Add OSPFv3 container";
reference "4.5.1";
}

revision "2024-02-27" {
description
Expand Down Expand Up @@ -949,6 +956,14 @@ module openconfig-network-instance {
}
}

uses oc-ospf:ospfv3-top {
when "./config/identifier = 'oc-pol-types:OSPF3'" {
description
"Include OSPFv3 parameters only when the protocol
is of type OSPFv3";
}
}

uses oc-isis:isis-top {
when "./config/identifier = 'oc-pol-types:ISIS'" {
description
Expand Down
Loading

0 comments on commit 67d0d0e

Please sign in to comment.