I have a counter that needs to be incremented. Each cluster member may increment it. How to implement the atomic operation of the variable across cluster?
In order to for state to have cluster-wide visibility, it has to be part of a datastore. You're probably interested in using an operational data store for this, which means you'll want to define that state with a yang model and use yangtools to generate the associated java classes needed to implement this state.
This thread is public, all members of ask.opendaylight.org can read this page.
Asked: 2014-11-29 09:50:27 -0700
Seen: 138 times
Last updated: Feb 02 '15
© 2014 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a trademark of The OpenDaylight Project, Inc.
Linux Foundation is a registered trademark of The Linux Foundation.
Linux is a registered trademark of Linus Torvalds.