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

Skip to content

Update telemetry_basic_check_test.go#545

Merged
sezhang2 merged 2 commits into
mainfrom
sezhang2-patch-35
Sep 22, 2022
Merged

Update telemetry_basic_check_test.go#545
sezhang2 merged 2 commits into
mainfrom
sezhang2-patch-35

Conversation

@sezhang2

Copy link
Copy Markdown
Contributor

Check telemetry path: /interfaces/interface/state/physical-channel

  • Test passed on hardware platform

Check telemetry path: /interfaces/interface/state/physical-channel
  - Test passed on hardware platform
@sezhang2 sezhang2 requested a review from a team as a code owner September 22, 2022 00:01
@coveralls

coveralls commented Sep 22, 2022

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 3102127043

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

Totals Coverage Status
Change from base Build 3093990884: 0.0%
Covered Lines: 1462
Relevant Lines: 2012

💛 - Coveralls

amrindrr
amrindrr previously approved these changes Sep 22, 2022
wenovus
wenovus previously approved these changes Sep 22, 2022
dp := dut.Port(t, "port1")

phyChannel := dut.Telemetry().Interface(dp.Name()).PhysicalChannel().Get(t)
t.Logf("Got %s PhysicalChannel from telmetry: %v", dp.Name(), phyChannel)

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.

Got PhysicalChannel %q from telemetry. TODO for me to add a pretty print utility in ygot for GoStructs.

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

@sezhang2 sezhang2 dismissed stale reviews from wenovus and amrindrr via 6661dd3 September 22, 2022 00:54
Using '%q' (instead of '%s') to safely escape a string and add quotes to it.
@sezhang2 sezhang2 requested a review from wenovus September 22, 2022 00:56
@sezhang2 sezhang2 merged commit 371f102 into main Sep 22, 2022
Ankur19 pushed a commit to cprabha/featureprofiles that referenced this pull request Sep 23, 2022
* Update telemetry_basic_check_test.go

Check telemetry path: /interfaces/interface/state/physical-channel
  - Test passed on hardware platform

* Update telemetry_basic_check_test.go

Using '%q' (instead of '%s') to safely escape a string and add quotes to it.
liulk added a commit that referenced this pull request Sep 27, 2022
* Adding a test file to new_branch

* initial commit

* added gribitest

* Write

* commit gribi test

* Delete feature/gribi/ate_tests/gribi_ipv4_entry_test directory

* Delete atedut_3_phy.binding

* Update supervisor_switchover_test.go (#522)

Added watch for interface status up

* Fixed discrepancies in listing of tests (#520)

* Allow 198.18.0.0/15 from RFC 2544 to be used in tests (#529)

* Allow 198.18.0.0/15 from RFC 2544 to be used in tests

* Update CONTRIBUTING.md

* Update per_component_reboot_test.go (#500)

Update Fatal messages

* Admin - copy of ate-tests RT-5.2, RT-5.3 and TE-3.2 (#516)

* - Base ate-test copy for RT-1.3, TE-3.6 and TE-4.2
- new ixia-c version

* - downgrading gosnappi version

* - updated to latest ondatra
- latest otg version and its compatible gosnappi
- added juniper config and textproto
- added arista_ixia_lag textproto
- added lag testbed file

* corrected juniper.config file

* Moved the lag testbed file under topologies/kne

* Changed dut images to "latest"

* Latest ondatra to support otg lacp telemetry

* ate copies for the lag related tests

* Added LAG testbed file

* Updated the arista config

* atedut_lag.testbed is in the kne folder
updated to gosnappi 0.9.4
updated ixia-c version 3383

* Adding nokia / ixia files

* Removed folder ate_tests from the otg_tests

* Update per_component_reboot_test.go (#531)

Removed the redundant check after line cared reboot

* Fix failedBGP tests (#527)

* Add Apache license header (#525)

* Update complete_chassis_reboot_test.go (#532)

Removed duplicated  SW versions before comparison 
  - Test passed on hardware platform

* qos_output_queue_counters_test: add deviation quard to sen ipv4/enabled (#503)

* add deviation guard for ipv4/enabled

* add deviation guard for ipv4/enabled

* Add static route entry to ceos startup config (#535)

* Add default route entry to the startup config needed in TE-3.2: Traffic Balancing According to Weights

* Add gribi service to the arista_ixia_lag.textproto kne file

* Pin KNE version to a working tag (#526)

* Component helper function  (#533)

* Replace component related tests with helper function

* Adding optics test to use helper function

* Nit

* Fmt fix

* Remove cmp import

* Update optics_power_and_bias_current_test.go (#538)

Removed the skip for Innolight optics

* Update telemetry_basic_check_test.go (#545)

* Update telemetry_basic_check_test.go

Check telemetry path: /interfaces/interface/state/physical-channel
  - Test passed on hardware platform

* Update telemetry_basic_check_test.go

Using '%q' (instead of '%s') to safely escape a string and add quotes to it.

* PR 548

* modified:   feature/platform/tests/optics_power_and_bias_current_test/optics_power_and_bias_current_test.go

* remove atedut_3.testbed

Co-authored-by: sezhang2 <[email protected]>
Co-authored-by: Likai Liu <[email protected]>
Co-authored-by: Octavian Petre <[email protected]>
Co-authored-by: hariramnat <[email protected]>
Co-authored-by: Brandon Stoll <[email protected]>
Co-authored-by: mojiiba <[email protected]>
Co-authored-by: Amrinder Randhawa <[email protected]>
Co-authored-by: Ankur19 <[email protected]>
@dplore dplore deleted the sezhang2-patch-35 branch December 19, 2022 21:52
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
* Update telemetry_basic_check_test.go

Check telemetry path: /interfaces/interface/state/physical-channel
  - Test passed on hardware platform

* Update telemetry_basic_check_test.go

Using '%q' (instead of '%s') to safely escape a string and add quotes to it.
prinikasn pushed a commit that referenced this pull request Jun 30, 2023
* Adding a test file to new_branch

* initial commit

* added gribitest

* Write

* commit gribi test

* Delete feature/gribi/ate_tests/gribi_ipv4_entry_test directory

* Delete atedut_3_phy.binding

* Update supervisor_switchover_test.go (#522)

Added watch for interface status up

* Fixed discrepancies in listing of tests (#520)

* Allow 198.18.0.0/15 from RFC 2544 to be used in tests (#529)

* Allow 198.18.0.0/15 from RFC 2544 to be used in tests

* Update CONTRIBUTING.md

* Update per_component_reboot_test.go (#500)

Update Fatal messages

* Admin - copy of ate-tests RT-5.2, RT-5.3 and TE-3.2 (#516)

* - Base ate-test copy for RT-1.3, TE-3.6 and TE-4.2
- new ixia-c version

* - downgrading gosnappi version

* - updated to latest ondatra
- latest otg version and its compatible gosnappi
- added juniper config and textproto
- added arista_ixia_lag textproto
- added lag testbed file

* corrected juniper.config file

* Moved the lag testbed file under topologies/kne

* Changed dut images to "latest"

* Latest ondatra to support otg lacp telemetry

* ate copies for the lag related tests

* Added LAG testbed file

* Updated the arista config

* atedut_lag.testbed is in the kne folder
updated to gosnappi 0.9.4
updated ixia-c version 3383

* Adding nokia / ixia files

* Removed folder ate_tests from the otg_tests

* Update per_component_reboot_test.go (#531)

Removed the redundant check after line cared reboot

* Fix failedBGP tests (#527)

* Add Apache license header (#525)

* Update complete_chassis_reboot_test.go (#532)

Removed duplicated  SW versions before comparison 
  - Test passed on hardware platform

* qos_output_queue_counters_test: add deviation quard to sen ipv4/enabled (#503)

* add deviation guard for ipv4/enabled

* add deviation guard for ipv4/enabled

* Add static route entry to ceos startup config (#535)

* Add default route entry to the startup config needed in TE-3.2: Traffic Balancing According to Weights

* Add gribi service to the arista_ixia_lag.textproto kne file

* Pin KNE version to a working tag (#526)

* Component helper function  (#533)

* Replace component related tests with helper function

* Adding optics test to use helper function

* Nit

* Fmt fix

* Remove cmp import

* Update optics_power_and_bias_current_test.go (#538)

Removed the skip for Innolight optics

* Update telemetry_basic_check_test.go (#545)

* Update telemetry_basic_check_test.go

Check telemetry path: /interfaces/interface/state/physical-channel
  - Test passed on hardware platform

* Update telemetry_basic_check_test.go

Using '%q' (instead of '%s') to safely escape a string and add quotes to it.

* PR 548

* modified:   feature/platform/tests/optics_power_and_bias_current_test/optics_power_and_bias_current_test.go

* remove atedut_3.testbed

Co-authored-by: sezhang2 <[email protected]>
Co-authored-by: Likai Liu <[email protected]>
Co-authored-by: Octavian Petre <[email protected]>
Co-authored-by: hariramnat <[email protected]>
Co-authored-by: Brandon Stoll <[email protected]>
Co-authored-by: mojiiba <[email protected]>
Co-authored-by: Amrinder Randhawa <[email protected]>
Co-authored-by: Ankur19 <[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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants