-
Notifications
You must be signed in to change notification settings - Fork 9
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
Streaming telemetry #63
Conversation
@noguchiko Is |
No, it isn't.
Yes. There are two types of telemetry: dial-in (dynamic) telemetry and dial-out (persistent) telemetry. And gNMI Subscribe RPC is a kind of dial-in telemetry. |
In that case, how about creating a new kind of daemon instead of treating it as an xlate daemon? definition: so renaming It might be helpful to use |
@ishidawataru Yes. New Shall I rename |
Yes, please. Thank you! |
done |
@noguchiko How about curving out the openconfig potion of |
@ishidawataru It makes sense. I'll do it. |
@ishidawataru I have moved the |
@noguchiko Thank you. I'm fixing this CI failure. #64 Once that is fixed, I'll work on this PR. |
@noguchiko What do you think of adding Will this be useful for Currently, // goldstone-operational-cache.yang
rpc get-operational-cache {
input {
leaf xpath {
type string;
}
leaf acceptable-cache-age {
...
}
}
output {
anydata data {
...
}
leaf cache-hit {
type boolean;
}
leaf cache-age {
...
}
}
} |
@ishidawataru The general idea of having single central cache is great and useful for
|
@noguchiko The changes look good to me. Please rebase on master and clean up the commits. |
This change adds a new goldstone primitive model goldstone-telemetry. The model defines configuration parameters for telemetry subscriptions and a notification for telemetry updates. The model allows a software serves it to manage subscriptions and send telemetry updates.
This change adds an application for the streaming telemetry feature. It allows users to manage telemetry subscriptions and receive notifications about telemetry updates via the goldstone-telemetry model.
This change enables the CI pipelien to build and push the streaming telemetry server container image (system-telemetry).
This change adds support for openconfig-telemetry model to the OpenConfig translator. Users can retrieve operational state of dynamic-subscriptions (non-persistent dial-in telemetry).
This change adds openconfig-telemetry and openconfig-telemetry-types to supported models of the gNMI server.
This change adds a support for the Subscribe RPC to the gNMI server. It uses the goldstone-telemetry model to provide streaming telemetry updates to an external telemetry collector. It allows users to synchronize the states between a device and a controller/collector.
@ishidawataru Thank you for your review. I have done |
Thank you. Do we need the last commit? If the cache is disabled by default, I don't think we need to include it in this PR. |
@ishidawataru I agree with you. dc72ca0 is not necessary for functionality. It is for performance like #65. May I move the commit to another branch? |
@noguchiko Yes, please remove the commit from this PR and open a new draft PR for with the cache commit for reference. |
@ishidawataru done |
This PR adds the streaming telemetry feature to the Goldstone management framework. It adds:
goldstone-telemetry
model and its server componentxlate-telemetry
Subscribe
PRC support for the gNMI server (north-gnmi
)xlate-oc
)I think the cache for
xlate-oc
is optional. Streaming telemetry subscriptions to OpenConfig model data will introduce lot of read access to operational state data of Goldstone primitive models. The cache mechanism may balances the load.