Netconf Notifications

断了今生、忘了曾经 提交于 2020-01-05 04:20:18

问题


RFC 5277 defines notification replay support. Just wondering what customer problems this notification replay can solve? What could be the need to scan through list of past notifications? At any point of time, controllers can always fire "get" RPC and determine current state.

Any inputs on this are appreciated.


回答1:


Notification replay is mostly required to sync NETCONF clients with servers without the need to do a full RPC. In some systems, the configuration + operational data becomes quite large, so the notification replay allows for a delta sync.

The main problem with this is that the server will only keep a limited time window of notifications; so if a client asks for a replay of the last week, the server may be only able to provide a subset of that.

RESTCONF has a different solution for this same issue, the last-modified header field(https://tools.ietf.org/html/rfc8040#section-3.4.1.1), which allows for doing a get of 'data that has changed since timestamp x'.



来源:https://stackoverflow.com/questions/57198426/netconf-notifications

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!