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

Skip to content

gNMI-1.10: Replacing component parent<->child relationship check with chassis association check#1195

Merged
sachendras merged 12 commits into
openconfig:mainfrom
sgirishj:gnmi110-1
Mar 3, 2023
Merged

gNMI-1.10: Replacing component parent<->child relationship check with chassis association check#1195
sachendras merged 12 commits into
openconfig:mainfrom
sgirishj:gnmi110-1

Conversation

@sgirishj

@sgirishj sgirishj commented Feb 25, 2023

Copy link
Copy Markdown
Contributor

Component hierarchies could vary widely across vendor implementations and platforms. Also, OpenConfig does not require/enforce specific parent<->child relationships. The requirement around this test mainly is to be able to map various components in the device back to the top level chassis component (without placing any constraints on the number and type of intermediate nodes that may be present in the tree).

Modifying the test to fit the above by:

  • Removing the check for the type of the parent component to be of a specific statically defined value
  • Replacing it with: start from a given component, traverse up the component's hierarchy tree one node a time, looking for the chassis component; the test would pass if the chassis component is found in the tree; it would fail if the chassis component is not to be found

Also:

@sgirishj sgirishj requested a review from a team as a code owner February 25, 2023 23:30
@sgirishj sgirishj requested a review from a team February 25, 2023 23:30
@coveralls

coveralls commented Feb 25, 2023

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 4319612882

  • 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.081%

Totals Coverage Status
Change from base Build 4319287521: 0.0%
Covered Lines: 1181
Relevant Lines: 2069

💛 - Coveralls

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
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
Comment thread feature/gnmi/ate_tests/telemetry_basic_check_test/telemetry_basic_check_test.go Outdated

@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.

Just nits left ...

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 February 27, 2023 22:15
greg-dennis
greg-dennis previously approved these changes Feb 27, 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

Comment thread feature/gnmi/ate_tests/telemetry_basic_check_test/telemetry_basic_check_test.go Outdated
greg-dennis
greg-dennis previously approved these changes Feb 27, 2023
@greg-dennis

Copy link
Copy Markdown
Contributor

/gcbrun

@sachendras

Copy link
Copy Markdown
Contributor

/gcbrun

@sachendras sachendras merged commit e247896 into openconfig:main Mar 3, 2023
@sgirishj sgirishj deleted the gnmi110-1 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
… chassis association check (#1195)

* gNMI-1.10: Replacing component parent<->child relationship check with chassis association check

* gNMI-1.10: Addressing review comments

* gNMI-1.10: Addressing review comments - #2

* gNMI-1.10: Addressing review comments - iteration 3

* gNMI-1.10: Addressing review comments - iteration 4

* gNMI-1.10: Addressing review comments - iteration 5

* gNMI-1.10: Removing fabricChip from TestComponentParent
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.

4 participants