Current model during master/node sdn setup:
(1) Fetch existing stuff from etcd store (nodes, subnets, namespaces, network namespaces)
(2) Perform some stuff: bookkeeping like VNID map or adding openflow rules, etc.
(3) Watch for any new changes in etcd store
Between steps (1) and (3), if there are any changes to the etcd store,
that information is lost and we may end up with missing/stale OF rules, etc.
We need to synchronize Get/Watch methods for the objects to ensure
no events are missed, meaning if Get() returned some items till revision 'r',
we need to Watch() for any items after revision 'r'.
Current model during master/node sdn setup: (1) Fetch existing stuff from etcd store (nodes, subnets, namespaces, network namespaces) (2) Perform some stuff: bookkeeping like VNID map or adding openflow rules, etc. (3) Watch for any new changes in etcd store
Between steps (1) and (3), if there are any changes to the etcd store, that information is lost and we may end up with missing/stale OF rules, etc. We need to synchronize Get/Watch methods for the objects to ensure no events are missed, meaning if Get() returned some items till revision 'r', we need to Watch() for any items after revision 'r'.