Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set GnmiControllerImpl property when loading the pipeconf #496

Merged
merged 2 commits into from
Feb 18, 2022

Conversation

Yi-Tseng
Copy link
Collaborator

The property readPortId is pipeline/pipeconf specific.
We can set it when loading the fabric-tna pipeconf.

Copy link
Collaborator

@pierventre pierventre left a comment

Choose a reason for hiding this comment

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

fyi - https://gerrit.onosproject.org/c/onos/+/25319. The property is now in GnmiControllerImpl

sdn@root > cfg get org.onosproject.gnmi.ctl.GnmiControllerImpl
org.onosproject.gnmi.ctl.GnmiControllerImpl
    name=readPortId, type=boolean, value=true, defaultValue=false, description=Configure read port-id for gnmi drivers; default is false.

@Yi-Tseng Yi-Tseng changed the title Set GeneralDeviceProvide property when loading the pipeconf Set GeneralDeviceProvider property when loading the pipeconf Feb 18, 2022
@Yi-Tseng
Copy link
Collaborator Author

fyi - https://gerrit.onosproject.org/c/onos/+/25319. The property is now in GnmiControllerImpl

sdn@root > cfg get org.onosproject.gnmi.ctl.GnmiControllerImpl
org.onosproject.gnmi.ctl.GnmiControllerImpl
    name=readPortId, type=boolean, value=true, defaultValue=false, description=Configure read port-id for gnmi drivers; default is false.

Got it, will change this

@Yi-Tseng Yi-Tseng changed the title Set GeneralDeviceProvider property when loading the pipeconf Set GnmiControllerImpl property when loading the pipeconf Feb 18, 2022
@Yi-Tseng Yi-Tseng force-pushed the read-port-id-property branch from deaf17c to e483eda Compare February 18, 2022 18:33
@Yi-Tseng
Copy link
Collaborator Author

retest this please

@codecov
Copy link

codecov bot commented Feb 18, 2022

Codecov Report

Merging #496 (e483eda) into main (590b2f4) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #496      +/-   ##
============================================
- Coverage     69.85%   69.84%   -0.02%     
  Complexity      727      727              
============================================
  Files            63       63              
  Lines          4754     4755       +1     
  Branches        527      527              
============================================
  Hits           3321     3321              
- Misses         1158     1159       +1     
  Partials        275      275              
Impacted Files Coverage Δ
.../org/stratumproject/fabric/tna/PipeconfLoader.java 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 590b2f4...e483eda. Read the comment docs.

@Yi-Tseng Yi-Tseng merged commit 204c3ed into main Feb 18, 2022
@Yi-Tseng Yi-Tseng deleted the read-port-id-property branch February 18, 2022 22:46
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.

2 participants