Skip to content

Commit

Permalink
-Adding changes to deviations.go, metadata.proto & metadata.pb.go for…
Browse files Browse the repository at this point in the history
… EnableTableConnections.

"This code is a Contribution to the OpenConfig Feature Profiles project ("Work") made under the Google Software Grant and Corporate Contributor License Agreement ("CLA") and governed by the Apache License 2.0. No other rights or licenses in or to any of Nokia's intellectual property are granted for any other purpose. This code is provided on an "as is" basis without any warranties of any kind."
  • Loading branch information
snaragund committed Nov 7, 2024
1 parent 16404a0 commit 1b139d5
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 45 deletions.
5 changes: 5 additions & 0 deletions internal/deviations/deviations.go
Original file line number Diff line number Diff line change
Expand Up @@ -1201,3 +1201,8 @@ func BgpSessionStateIdleInPassiveMode(dut *ondatra.DUTDevice) bool {
func EnableMultipathUnderAfiSafi(dut *ondatra.DUTDevice) bool {
return lookupDUTDeviations(dut).GetEnableMultipathUnderAfiSafi()
}

// Admin Enable Table Connections in SRL native

Check failure on line 1205 in internal/deviations/deviations.go

View workflow job for this annotation

GitHub Actions / Static Analysis

comment on exported function EnableTableConnections should be of the form "EnableTableConnections ..."
func EnableTableConnections(dut *ondatra.DUTDevice) bool {
return lookupDUTDeviations(dut).GetEnableTableConnections()
}
3 changes: 3 additions & 0 deletions proto/metadata.proto
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,9 @@ message Metadata {
// CISCO: b/376241033
// CISCO: b/340859662
bool enable_multipath_under_afi_safi = 230;
// Nokia; b/304493065 comment#7 SRL native admin_enable for table-connections
bool enable_table_connections = 231;

// Reserved field numbers and identifiers.
reserved 84, 9, 28, 20, 90, 97, 55, 89, 19, 36, 35, 40, 173;
}
Expand Down
101 changes: 56 additions & 45 deletions proto/metadata_go_proto/metadata.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1b139d5

Please sign in to comment.