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

Question: Is there a mechanism for tracking the updates to the proto in GNOI? #100

Open
AnandJyrm opened this issue Oct 6, 2022 · 1 comment

Comments

@AnandJyrm
Copy link

Hi all,

Is there some revision/versioning mechanism for GNOI requests similar to the openconfig yang models? Is the version passed as part of the request to the server and what should the expected behavior be if the vendor server supports a lower version?

ex: Vendor server V supports proto P and client uses updated proto P' to send a request to V. What should be the response in the following cases

  1. P' has new Request that is not present in P
  2. P' has modified existing Request (non backward compatible/evolution)
  3. P' has modified existing Request(backward compatible/enhancement)
  oc-ext:openconfig-version "0.20.0";

  revision "2022-08-31" {
    description
      "Add new state data for component CLEI code.";
    reference "0.20.0";
  }

Is gnoi_version the equivalent to openconfig-version?

option (types.gnoi_version) = "1.0.0";

Does the server have to advertise the individual versions per proto? i.e factory reset is 0.1.0, system is 1.0.0, cert is 0.2.0 etc.

@hellt
Copy link
Contributor

hellt commented Oct 7, 2022

Does the server have to advertise the individual versions per proto? i.e factory reset is 0.1.0, system is 1.0.0, cert is 0.2.0 etc.

gNOI services don't have a Capabilities analog. So the server doesn't announce anything.

Currently, what I see is that vendors might document which particular version of a given gnoi service (os, system, cert, etc) they support in which release.
Then the gnoi clients need to use the least common denominator to comply with the implemented service version

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

No branches or pull requests

2 participants