SendRouterIDAdd sends ROUTER_ID_ADD message to zebra daemon.
()
| 1569 | |
| 1570 | // SendRouterIDAdd sends ROUTER_ID_ADD message to zebra daemon. |
| 1571 | func (c *Client) SendRouterIDAdd() { |
| 1572 | bodies := make([]*routerIDUpdateBody, 0) |
| 1573 | for _, afi := range []afi{afiIP, afiIP6} { |
| 1574 | bodies = append(bodies, &routerIDUpdateBody{ |
| 1575 | afi: afi, |
| 1576 | }) |
| 1577 | } |
| 1578 | for _, body := range bodies { |
| 1579 | c.sendCommand(routerIDAdd, DefaultVrf, body) |
| 1580 | } |
| 1581 | } |
| 1582 | |
| 1583 | // SendInterfaceAdd sends INTERFACE_ADD message to zebra daemon. |
| 1584 | func (c *Client) SendInterfaceAdd() { |
no test coverage detected