forked from openconfig/ondatra
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Project import generated by Copybara.
FolderOrigin-RevId: /usr/local/google/home/alexmasi/copybara/temp/folder-destination13954499514165865671/.
- Loading branch information
Showing
143 changed files
with
88,949 additions
and
87,421 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ Package acl is a generated package which contains definitions | |
of structs which generate gNMI paths for a YANG schema. The generated paths are | ||
based on a compressed form of the schema. | ||
This package was generated by /usr/local/google/home/gdennis/go/pkg/mod/github.com/openconfig/[email protected]/genutil/names.go | ||
This package was generated by /usr/local/google/home/alexmasi/go/pkg/mod/github.com/openconfig/[email protected]/genutil/names.go | ||
using the following YANG input files: | ||
- gnmi-collector-metadata.yang | ||
- gnsi/authz/gnsi-authz.yang | ||
|
@@ -25,6 +25,7 @@ using the following YANG input files: | |
- public/release/models/interfaces/openconfig-if-ethernet-ext.yang | ||
- public/release/models/interfaces/openconfig-if-ip-ext.yang | ||
- public/release/models/interfaces/openconfig-if-ip.yang | ||
- public/release/models/interfaces/openconfig-if-sdn-ext.yang | ||
- public/release/models/interfaces/openconfig-interfaces.yang | ||
- public/release/models/isis/openconfig-isis.yang | ||
- public/release/models/lacp/openconfig-lacp.yang | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ Package device is a generated package which contains definitions | |
of structs which generate gNMI paths for a YANG schema. The generated paths are | ||
based on a compressed form of the schema. | ||
This package was generated by /usr/local/google/home/gdennis/go/pkg/mod/github.com/openconfig/[email protected]/genutil/names.go | ||
This package was generated by /usr/local/google/home/alexmasi/go/pkg/mod/github.com/openconfig/[email protected]/genutil/names.go | ||
using the following YANG input files: | ||
- gnmi-collector-metadata.yang | ||
- gnsi/authz/gnsi-authz.yang | ||
|
@@ -25,6 +25,7 @@ using the following YANG input files: | |
- public/release/models/interfaces/openconfig-if-ethernet-ext.yang | ||
- public/release/models/interfaces/openconfig-if-ip-ext.yang | ||
- public/release/models/interfaces/openconfig-if-ip.yang | ||
- public/release/models/interfaces/openconfig-if-sdn-ext.yang | ||
- public/release/models/interfaces/openconfig-interfaces.yang | ||
- public/release/models/isis/openconfig-isis.yang | ||
- public/release/models/lacp/openconfig-lacp.yang | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ Package gnmicollectormetadata is a generated package which contains definitions | |
of structs which generate gNMI paths for a YANG schema. The generated paths are | ||
based on a compressed form of the schema. | ||
This package was generated by /usr/local/google/home/gdennis/go/pkg/mod/github.com/openconfig/[email protected]/genutil/names.go | ||
This package was generated by /usr/local/google/home/alexmasi/go/pkg/mod/github.com/openconfig/[email protected]/genutil/names.go | ||
using the following YANG input files: | ||
- gnmi-collector-metadata.yang | ||
- gnsi/authz/gnsi-authz.yang | ||
|
@@ -25,6 +25,7 @@ using the following YANG input files: | |
- public/release/models/interfaces/openconfig-if-ethernet-ext.yang | ||
- public/release/models/interfaces/openconfig-if-ip-ext.yang | ||
- public/release/models/interfaces/openconfig-if-ip.yang | ||
- public/release/models/interfaces/openconfig-if-sdn-ext.yang | ||
- public/release/models/interfaces/openconfig-interfaces.yang | ||
- public/release/models/isis/openconfig-isis.yang | ||
- public/release/models/lacp/openconfig-lacp.yang | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ Package interfaces is a generated package which contains definitions | |
of structs which generate gNMI paths for a YANG schema. The generated paths are | ||
based on a compressed form of the schema. | ||
This package was generated by /usr/local/google/home/gdennis/go/pkg/mod/github.com/openconfig/[email protected]/genutil/names.go | ||
This package was generated by /usr/local/google/home/alexmasi/go/pkg/mod/github.com/openconfig/[email protected]/genutil/names.go | ||
using the following YANG input files: | ||
- gnmi-collector-metadata.yang | ||
- gnsi/authz/gnsi-authz.yang | ||
|
@@ -25,6 +25,7 @@ using the following YANG input files: | |
- public/release/models/interfaces/openconfig-if-ethernet-ext.yang | ||
- public/release/models/interfaces/openconfig-if-ip-ext.yang | ||
- public/release/models/interfaces/openconfig-if-ip.yang | ||
- public/release/models/interfaces/openconfig-if-sdn-ext.yang | ||
- public/release/models/interfaces/openconfig-interfaces.yang | ||
- public/release/models/isis/openconfig-isis.yang | ||
- public/release/models/lacp/openconfig-lacp.yang | ||
|
@@ -104,6 +105,16 @@ type Interface_EnabledPathAny struct { | |
*ygot.NodePath | ||
} | ||
|
||
// Interface_ForwardingViablePath represents the /openconfig-interfaces/interfaces/interface/config/forwarding-viable YANG schema element. | ||
type Interface_ForwardingViablePath struct { | ||
*ygot.NodePath | ||
} | ||
|
||
// Interface_ForwardingViablePathAny represents the wildcard version of the /openconfig-interfaces/interfaces/interface/config/forwarding-viable YANG schema element. | ||
type Interface_ForwardingViablePathAny struct { | ||
*ygot.NodePath | ||
} | ||
|
||
// Interface_IdPath represents the /openconfig-interfaces/interfaces/interface/config/id YANG schema element. | ||
type Interface_IdPath struct { | ||
*ygot.NodePath | ||
|
@@ -366,6 +377,64 @@ func (n *InterfacePathAny) Ethernet() *Interface_EthernetPathAny { | |
} | ||
} | ||
|
||
// ForwardingViable (leaf): This value indicates whether the interface may be used | ||
// to route traffic or not. If set to false, the | ||
// interface is not used for forwarding traffic, but as long as | ||
// it is up, the interface still maintains its layer-2 | ||
// adjacencies and runs its configured layer-2 functions | ||
// (e.g., LLDP, etc.). | ||
// This is used by an external programming entity to disable an interface | ||
// (usually part of an aggregate) for the purposes of forwarding | ||
// traffic. This allows a logical aggregate to continue to be | ||
// used with partial capacity, for example. Note that setting | ||
// `forwarding-viable = false` is not equivalent to | ||
// administratively disabling the interface -- in particular, the | ||
// interface is expected to participate in L2 protocols such as | ||
// LLDP or LACP even if it blocked from forwarding traffic. | ||
// ---------------------------------------- | ||
// Defining module: "openconfig-if-sdn-ext" | ||
// Instantiating module: "openconfig-interfaces" | ||
// Path from parent: "config/forwarding-viable" | ||
// Path from root: "/interfaces/interface/config/forwarding-viable" | ||
func (n *InterfacePath) ForwardingViable() *Interface_ForwardingViablePath { | ||
return &Interface_ForwardingViablePath{ | ||
NodePath: ygot.NewNodePath( | ||
[]string{"config", "forwarding-viable"}, | ||
map[string]interface{}{}, | ||
n, | ||
), | ||
} | ||
} | ||
|
||
// ForwardingViable (leaf): This value indicates whether the interface may be used | ||
// to route traffic or not. If set to false, the | ||
// interface is not used for forwarding traffic, but as long as | ||
// it is up, the interface still maintains its layer-2 | ||
// adjacencies and runs its configured layer-2 functions | ||
// (e.g., LLDP, etc.). | ||
// This is used by an external programming entity to disable an interface | ||
// (usually part of an aggregate) for the purposes of forwarding | ||
// traffic. This allows a logical aggregate to continue to be | ||
// used with partial capacity, for example. Note that setting | ||
// `forwarding-viable = false` is not equivalent to | ||
// administratively disabling the interface -- in particular, the | ||
// interface is expected to participate in L2 protocols such as | ||
// LLDP or LACP even if it blocked from forwarding traffic. | ||
// ---------------------------------------- | ||
// Defining module: "openconfig-if-sdn-ext" | ||
// Instantiating module: "openconfig-interfaces" | ||
// Path from parent: "config/forwarding-viable" | ||
// Path from root: "/interfaces/interface/config/forwarding-viable" | ||
func (n *InterfacePathAny) ForwardingViable() *Interface_ForwardingViablePathAny { | ||
return &Interface_ForwardingViablePathAny{ | ||
NodePath: ygot.NewNodePath( | ||
[]string{"config", "forwarding-viable"}, | ||
map[string]interface{}{}, | ||
n, | ||
), | ||
} | ||
} | ||
|
||
// HoldTime (container): Top-level container for hold-time settings to enable | ||
// dampening advertisements of interface transitions. | ||
// ---------------------------------------- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.