= Collector interface =
==== group_list ====
Description: This call returns a list of HAMcast groups. The groups in this list are a merged set of groups gathered from all reachable HAMcast nodes.
URL : /group_list
Arguments : none
Query :
{{{
POST /group_list HTTP/1.1
User-Agent: HAMcast Monitoring
Content-Length:0
Content-Type: text/plain; charset=utf-8
}}}
Response :
{{{
HTTP/1.1 200 OK
Content-Length: 124
Content-Type: text/xml; charset=utf-8
/group_list
ip://239.0.0.2:1234
}}}
==== node_list ====
Description: Returns a list of daemon-id. The list contains the daemon-ids of all reachable HAMcast nodes.
URL : /node_list
Arguments : none
Query :
{{{
POST /node_list HTTP/1.1
User-Agent: HAMcast Monitoring
Content-Length:0
Content-Type: text/plain; charset=utf-8
}}}
Response :
{{{
HTTP/1.1 200 OK
Content-Length: 402
Content-Type: text/xml; charset=utf-8
/node_list
129.13.214.10
129.13.214.210
129.187.143.20
130.75.73.66
130.83.244.170
131.246.112.2
131.246.112.31
132.187.230.65
84.46.89.78
}}}
==== group_data ====
Description: Returns a list of daemon-id. The list contains the daemon-ids of all reachable HAMcast nodes that joined the given group.
URL : /group_data
Arguments : HAMcast group uri
Query :
{{{
POST /group_data HTTP/1.1
User-Agent: HAMcast Monitoring
Content-Length:26
Content-Type: text/plain; charset=utf-8
arg0=ip://239.0.0.2:1234
}}}
Response :
{{{
HTTP/1.1 200 OK
Content-Length: 419
Content-Type: text/xml; charset=utf-8
/group_data
ip://239.0.0.2:1234
129.13.214.10
129.13.214.210
129.187.143.20
130.75.73.66
130.83.244.170
131.246.112.2
131.246.112.31
132.187.230.65
84.46.89.78
}}}
==== node_data ====
Description: Returns detailed interface and group information about a node, interface and groups.
Node: daemon-id, img-flag
Interface: interfcae-id, technology, interface-name, interface-address
Groups: group-name, parent, parent, children
URL : /node_data
Arguments : daemon-id
Query :
{{{
POST /node_data HTTP/1.1
User-Agent: HAMcast Monitoring
Content-Length:20
Content-Type: text/plain; charset=utf-8
arg0=129.13.214.10
}}}
Response :
{{{
HTTP/1.1 200 OK
Content-Length: 676
Content-Type: text/xml; charset=utf-8
129.13.214.10
false
scribe
ALM
1
scribe://31001132311312033110130111220211220021133010133323303030310133321221122203113311
ip://239.0.0.2:1234
scribe://00303033131001320112231003213203131012203111132203012230202101012110210313231210
scribe://21002321012323310010133022332200330131312130003122221031210122310033231011211301
}}}
==== group_tree ====
Description: Returns a list of edges between nodes for a given group. The edges are directed from source to destination.
URL : /group_tree
Arguments : HAMcast group uri
Query :
{{{
POST /group_tree HTTP/1.1
User-Agent: HAMcast Monitoring
Content-Length:26
Content-Type: text/plain; charset=utf-8
arg0=ip://239.0.0.2:1234
}}}
Response :
{{{
HTTP/1.1 200 OK
Content-Length: 913
Content-Type: text/xml; charset=utf-8
/group_tree
ip://239.0.0.2:1234
129.13.214.10
131.246.112.31
130.75.73.66
131.246.112.31
130.75.73.66
84.46.89.78
130.75.73.66
129.13.214.10
130.83.244.170
130.75.73.66
130.83.244.170
129.13.214.210
130.83.244.170
132.187.230.65
130.83.244.170
129.187.143.20
130.83.244.170
129.13.214.10
130.83.244.170
131.246.112.2
}}}