Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gnmi 1.10: add deviations MissingInterfacePhysicalChannel, MissingInterfaceHardwarePort, and MissingCPUMfgName#1248

Merged
prinikasn merged 27 commits into
openconfig:mainfrom
mojiiba:moji/gnmi-1.10
Mar 13, 2023
Merged

gnmi 1.10: add deviations MissingInterfacePhysicalChannel, MissingInterfaceHardwarePort, and MissingCPUMfgName#1248
prinikasn merged 27 commits into
openconfig:mainfrom
mojiiba:moji/gnmi-1.10

Conversation

@mojiiba

@mojiiba mojiiba commented Mar 9, 2023

Copy link
Copy Markdown
Contributor

This pull adds three deviations MissingInterfacePhysicalChannel, MissingInterfaceHardwarePort, and MissingCPUMfgName to skips the checks for interface/physicalchannel, interface/hardwareport, component/MfgName accordingly.

Also, two of the subtests for QoS counter and LACP member assume the device already has base config for QoS and LACP. So, we add two arguments to skip the test when related base config is not loaded.

@mojiiba mojiiba requested a review from a team as a code owner March 9, 2023 21:55
@mojiiba mojiiba requested a review from a team March 9, 2023 21:55
@coveralls

coveralls commented Mar 9, 2023

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 4409279838

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 56.292%

Totals Coverage Status
Change from base Build 4408872586: 0.0%
Covered Lines: 1181
Relevant Lines: 2098

💛 - Coveralls

Comment thread internal/args/args.go Outdated
P4RTNodeName2 = flag.String("arg_p4rt_node_name_2", "", "The P4RT Node Name for the second FAP. Test that reserves ports in two different FAPs should configure this P4RT Node in addition to the Node defined in P4RTNodeName1. The value will only be used if deviation ExplicitP4RTNodeComponent is applied.")
FullConfigReplaceTime = flag.Duration("arg_full_config_replace_time", 0, "Time taken for gNMI set operation to complete full configuration replace. Expected duration is in nanoseconds. Expectation is not checked when value is 0.")
SubsetConfigReplaceTime = flag.Duration("arg_subset_config_replace_time", 0, "Time taken for gNMI set operation to modify a subset of configuration. Expected duration is in nanoseconds. Expectation is not checked when value is 0.")
QoSBaseConfigPresent = flag.Bool("arg_qos_baseconfig_present", false, "QoS Counter subtest in gNMI-1.10 requires related base config to be loaded. Use this flag to skip the when base config is not loaded.")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default value should be true, and I will change it for Cisco tests.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Comment thread internal/args/args.go Outdated
FullConfigReplaceTime = flag.Duration("arg_full_config_replace_time", 0, "Time taken for gNMI set operation to complete full configuration replace. Expected duration is in nanoseconds. Expectation is not checked when value is 0.")
SubsetConfigReplaceTime = flag.Duration("arg_subset_config_replace_time", 0, "Time taken for gNMI set operation to modify a subset of configuration. Expected duration is in nanoseconds. Expectation is not checked when value is 0.")
QoSBaseConfigPresent = flag.Bool("arg_qos_baseconfig_present", false, "QoS Counter subtest in gNMI-1.10 requires related base config to be loaded. Use this flag to skip the when base config is not loaded.")
LACPBaseConfigPresent = flag.Bool("arg_lacp_baseconfig_present", false, "LACP subtest in gNMI-1.10 requires related base config to be loaded. Use this flag to skip the test when base config is not loaded.")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default value should be true, and I will change it for Cisco tests.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@guoshiuan

Copy link
Copy Markdown
Contributor

b/272600177 has the internal test results.

@xw-g

xw-g commented Mar 11, 2023

Copy link
Copy Markdown
Collaborator

Can we have internal bugs to track the deviations? Thanks.

@guoshiuan

Copy link
Copy Markdown
Contributor

Can we have internal bugs to track the deviations? Thanks.

Done. Please see them in the internal bug.

@prinikasn prinikasn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/gcbrun

@prinikasn prinikasn merged commit c1f2fe2 into openconfig:main Mar 13, 2023
jasdeep-hundal added a commit to jasdeep-hundal/featureprofiles that referenced this pull request Apr 11, 2023
jasdeep-hundal added a commit to jasdeep-hundal/featureprofiles that referenced this pull request Apr 12, 2023
jasdeep-hundal added a commit that referenced this pull request Apr 19, 2023
)

* Replicate PR545/546 in OTG telemetry basic test

References:
- #545
- #546

* Replicate PR642 in OTG telemetry basic test

Reference: #642

* Replicate PR890 in OTG telemetry basic test

Reference: #890

* Replicate PR1025 in OTG telemetry basic test

Reference: #1025

* Replicate PR652 in OTG telemetry basic test

Reference: #652

* Replicate PR1196 in OTG telemetry basic test

Reference: #1196

* Replicate PR1195 in OTG telemetry basic test

Reference: #1195

* Replicate PR1211 in OTG telemetry basic test

Reference: #1211

* Replicate PR1248 in OTG telemetry basic test

Reference: #1248

* Replicate PR1212 in OTG telemetry basic test

Reference: #1212

* Replicate PR1317 in OTG telemetry basic test

Reference: #1317

* Remove extra subintf enabled bit not guarded by correct deviations
prinikasn added a commit that referenced this pull request Jun 30, 2023
…erfaceHardwarePort, and MissingCPUMfgName (#1248)

* change test to assign interfaces to vrf after configuring them

* Revert "change test to assign interfaces to vrf after configuring them"

This reverts commit 98cc122.

* increase timeout for awit call

* Revert "increase timeout for awit call"

This reverts commit 2ac995b.

* add deviations MissingInterfacePhysicalChannel, MissingInterfaceHardwarePort, and MissingCPUMfgName

* cleanup

* cleanup

* Update args.go

* gofmt

---------

Co-authored-by: prinikasn <[email protected]>
prinikasn pushed a commit that referenced this pull request Jun 30, 2023
)

* Replicate PR545/546 in OTG telemetry basic test

References:
- #545
- #546

* Replicate PR642 in OTG telemetry basic test

Reference: #642

* Replicate PR890 in OTG telemetry basic test

Reference: #890

* Replicate PR1025 in OTG telemetry basic test

Reference: #1025

* Replicate PR652 in OTG telemetry basic test

Reference: #652

* Replicate PR1196 in OTG telemetry basic test

Reference: #1196

* Replicate PR1195 in OTG telemetry basic test

Reference: #1195

* Replicate PR1211 in OTG telemetry basic test

Reference: #1211

* Replicate PR1248 in OTG telemetry basic test

Reference: #1248

* Replicate PR1212 in OTG telemetry basic test

Reference: #1212

* Replicate PR1317 in OTG telemetry basic test

Reference: #1317

* Remove extra subintf enabled bit not guarded by correct deviations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants