| 75 | ==== std::string function_wrapper::node_data(std::vector<std::string> args) ==== |
| 76 | |
| 77 | Description: Returns detailed interface and group information about a node, interface and groups. |
| 78 | |
| 79 | Node: daemon-id, img-flag |
| 80 | Interface: interfcae-id, technology, interface-name, interface-address |
| 81 | Groups: group-name, parent, parent, children |
| 82 | |
| 83 | URL : /node_data |
| 84 | |
| 85 | Arguments : daemon-id |
| 86 | |
| 87 | XML : |
| 88 | {{{ |
| 89 | <name> |
| 90 | daemon-id |
| 91 | </name> |
| 92 | <interfaces> |
| 93 | <interface> |
| 94 | <name> |
| 95 | IPv4 |
| 96 | <name> |
| 97 | <technology> |
| 98 | native |
| 99 | </technology> |
| 100 | <id> |
| 101 | 1 |
| 102 | </id> |
| 103 | <address> |
| 104 | ip-address |
| 105 | </address> |
| 106 | <groups> |
| 107 | <group> |
| 108 | <name> |
| 109 | group1 |
| 110 | </name> |
| 111 | <parent> |
| 112 | address |
| 113 | </parent> |
| 114 | <children> |
| 115 | <child> |
| 116 | address |
| 117 | </child> |
| 118 | <child> |
| 119 | address |
| 120 | </child> |
| 121 | </children> |
| 122 | </group> |
| 123 | </groups> |
| 124 | <interface> |
| 125 | </interfaces> |
| 126 | }}} |