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

Skip to content

gNMI-1.10: Update HardwarePort test as per Pull/1318#1212

Merged
ming2004 merged 12 commits into
openconfig:mainfrom
sgirishj:gnmi110-3
Mar 27, 2023
Merged

gNMI-1.10: Update HardwarePort test as per Pull/1318#1212
ming2004 merged 12 commits into
openconfig:mainfrom
sgirishj:gnmi110-3

Conversation

@sgirishj

@sgirishj sgirishj commented Mar 3, 2023

Copy link
Copy Markdown
Contributor

Script was expecting specific hardcoded string formation for the below leaf which appears to be vendor specific:
/interfaces/interface/state/hardware-port

Updating it as per #1318

Checking for CHASSIS to be an ancestor of a given component -> this step is common between TestHardwarePort and TestComponentParent; hence moved the code to a common func that can be reused between the two tests.

@sgirishj sgirishj requested a review from a team as a code owner March 3, 2023 23:52
@sgirishj sgirishj requested a review from a team March 3, 2023 23:52
@coveralls

coveralls commented Mar 3, 2023

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 4507084916

  • 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 57.063%

Totals Coverage Status
Change from base Build 4506581308: 0.0%
Covered Lines: 1232
Relevant Lines: 2159

💛 - Coveralls

@greg-dennis greg-dennis changed the title Replace hardcoded Hadware Port name check with presence check Replace hardcoded Hardware Port name check with presence check Mar 6, 2023
greg-dennis
greg-dennis previously approved these changes Mar 6, 2023

@greg-dennis greg-dennis left a comment

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.

Approving for Go quality only

@sachendras

Copy link
Copy Markdown
Contributor

/gcbrun

@sachendras

Copy link
Copy Markdown
Contributor

Please modify the test as per #1318

@sgirishj sgirishj changed the title Replace hardcoded Hardware Port name check with presence check gNMI-1.10: Update HardwarePort test as per Pull/1318 Mar 23, 2023
Comment thread feature/gnmi/ate_tests/telemetry_basic_check_test/telemetry_basic_check_test.go Outdated
Comment thread feature/gnmi/ate_tests/telemetry_basic_check_test/telemetry_basic_check_test.go Outdated
Comment thread feature/gnmi/ate_tests/telemetry_basic_check_test/telemetry_basic_check_test.go Outdated
Comment thread feature/gnmi/ate_tests/telemetry_basic_check_test/telemetry_basic_check_test.go Outdated
Comment thread feature/gnmi/ate_tests/telemetry_basic_check_test/telemetry_basic_check_test.go Outdated
@sgirishj sgirishj requested a review from greg-dennis March 23, 2023 23:19

@greg-dennis greg-dennis left a comment

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.

Approving for Go quality only

@greg-dennis

Copy link
Copy Markdown
Contributor

/gcbrun

@ming2004 ming2004 merged commit 338a771 into openconfig:main Mar 27, 2023
@sgirishj sgirishj deleted the gnmi110-3 branch April 11, 2023 06:56
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 pushed a commit that referenced this pull request Jun 30, 2023
* Replace hardcoded Hadware Port name check with presence check

* Modified test as per Pull/1318

* Addressing review comments

---------

Co-authored-by: sachendras <[email protected]>
Co-authored-by: Greg Dennis <[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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants