membership element
Example XML
<?xml version="1.0" encoding="UTF-8"?>
<membership>
<membershipIdentity>...</membershipIdentity>
<distinguishedNodeIdentity>...</distinguishedNodeIdentity>
<quorum>...</quorum>
<attributes>
<attribute>
<key>...</key>
<value>...</value>
</attribute>
<attribute>
<!--...-->
</attribute>
<!--...more "attribute" elements...-->
</attributes>
<acceptors>
<node>
<nodeIdentity>...</nodeIdentity>
<locationIdentity>...</locationIdentity>
<isLocal>...</isLocal>
<isUp>...</isUp>
<isStopped>...</isStopped>
<lastStatusChange>...</lastStatusChange>
<attributes>
<attribute>
<key>...</key>
<value>...</value>
</attribute>
<attribute>
<!--...-->
</attribute>
<!--...more "attribute" elements...-->
</attributes>
</node>
<node>
<!--...-->
</node>
<!--...more "node" elements...-->
</acceptors>
<proposers>
<node>
<nodeIdentity>...</nodeIdentity>
<locationIdentity>...</locationIdentity>
<isLocal>...</isLocal>
<isUp>...</isUp>
<isStopped>...</isStopped>
<lastStatusChange>...</lastStatusChange>
<attributes>
<attribute>
<key>...</key>
<value>...</value>
</attribute>
<attribute>
<!--...-->
</attribute>
<!--...more "attribute" elements...-->
</attributes>
</node>
<node>
<!--...-->
</node>
<!--...more "node" elements...-->
</proposers>
<learners>
<node>
<nodeIdentity>...</nodeIdentity>
<locationIdentity>...</locationIdentity>
<isLocal>...</isLocal>
<isUp>...</isUp>
<isStopped>...</isStopped>
<lastStatusChange>...</lastStatusChange>
<attributes>
<attribute>
<key>...</key>
<value>...</value>
</attribute>
<attribute>
<!--...-->
</attribute>
<!--...more "attribute" elements...-->
</attributes>
</node>
<node>
<!--...-->
</node>
<!--...more "node" elements...-->
</learners>
</membership>
Example JSON
{
"membershipIdentity" : "...",
"distinguishedNodeIdentity" : "...",
"quorum" : false,
"attributes" : {
"attribute" : [ {
"key" : "...",
"value" : "..."
}, ... ]
},
"acceptors" : {
"node" : [ {
"nodeIdentity" : "...",
"locationIdentity" : "...",
"isLocal" : false,
"isUp" : false,
"isStopped" : false,
"lastStatusChange" : ...,
"attributes" : {
"attribute" : [ {
"key" : "...",
"value" : "..."
}, ... ]
}
}, ... ]
},
"proposers" : {
"node" : [ {
"nodeIdentity" : "...",
"locationIdentity" : "...",
"isLocal" : false,
"isUp" : false,
"isStopped" : false,
"lastStatusChange" : ...,
"attributes" : {
"attribute" : [ {
"key" : "...",
"value" : "..."
}, ... ]
}
}, ... ]
},
"learners" : {
"node" : [ {
"nodeIdentity" : "...",
"locationIdentity" : "...",
"isLocal" : false,
"isUp" : false,
"isStopped" : false,
"lastStatusChange" : ...,
"attributes" : {
"attribute" : [ {
"key" : "...",
"value" : "..."
}, ... ]
}
}, ... ]
}
}