cloudvision.api.arista.subscriptions package
Module contents
- class cloudvision.api.arista.subscriptions.Operation(value: int)[source]
Bases:
Enum- BATCH_END = Operation.BATCH_END
BATCH_END indicates the end of a batch of notifications that began with a BATCH_START message. This message will carry no resource value.
- BATCH_START = Operation.BATCH_START
BATCH_START indicates the beginning of a batch of notifications. This message will carry no resource value. A corresponding BATCH_END message will mark the end of the batch. The semantics of what a batch means is defined by the service.
- DELETED = Operation.DELETED
DETLETED indicates the associated notification carries a deletion. The Resource’s key will always be set in this case, but no other fields should be expected.
- INITIAL = Operation.INITIAL
INITIAL indicates the associated notification is that of the current state and a fully-specified Resource is provided.
- INITIAL_SYNC_COMPLETE = Operation.INITIAL_SYNC_COMPLETE
INITIAL_SYNC_COMPLETE indicates all existing-state has been streamed to the client. This status will be sent in an otherwise-empty message and no subsequent INITIAL messages should be expected.
- PARTIAL_DELETE = Operation.PARTIAL_DELETE
PARTIAL_DELETE indicates the associated notification carries deletions of specific fields within the last-streamed state. The Resource’s key is always set.
Note: Not used at the moment. Deletion of specific fields will come with UPDATED operation.
- UNSPECIFIED = Operation.UNSPECIFIED
- UPDATED = Operation.UPDATED
UPDATED indicates the associated notification carries modification to the last-streamed state. This indicates the contained Resource may be a partial diff, though, it may contain a fully-specified Resource.
- name: str | None
- value: int