|
|
The idealised command to execute.
enum Cmd {ADD, DELETE, REPLACE} | Cmd |
RouteCmd ()
| RouteCmd |
RouteCmd (Cmd cmd, A node, A nexthop, A prevhop, int weight = 0,
bool next_hop_changed = false, bool weight_changed = false)
| RouteCmd |
Cmd cmd ()
| cmd |
[const]
const A& node ()
| node |
[const]
const A& nexthop ()
| nexthop |
[const]
const A& prevhop ()
| prevhop |
[const]
int weight ()
| weight |
[const]
bool next_hop_changed ()
| next_hop_changed |
[const]
bool weight_changed ()
| weight_changed |
[const]
bool operator== (const RouteCmd& lhs)
| operator== |
string c ()
| c |
[const]
string str ()
| str |
[const]