@Test public void testSetRouterMac() throws Exception { config.setRouterMac("00:00:00:00:02:80"); assertThat(config.routerMac(), is(MacAddress.valueOf("00:00:00:00:02:80"))); }
public SegmentRoutingDeviceConfig setRouterMac(String mac) { return (SegmentRoutingDeviceConfig) setOrClear(MAC, mac); }
SegmentRoutingDeviceConfig extends Config<DeviceId> { public SegmentRoutingDeviceConfig setRouterMac(String mac) { return (SegmentRoutingDeviceConfig) setOrClear(MAC, mac); } }
SegmentRoutingDeviceConfig extends Config<DeviceId> { public SegmentRoutingDeviceConfig setRouterMac(String mac) { return (SegmentRoutingDeviceConfig) setOrClear(MAC, mac); }  }
SegmentRoutingDeviceConfig extends Config<DeviceId> { public SegmentRoutingDeviceConfig setRouterMac(String mac) { return (SegmentRoutingDeviceConfig) setOrClear(MAC, mac); }  @Override boolean isValid(); Optional<String> name(); SegmentRoutingDeviceConfig setName(String name); Ip4Address routerIp(); SegmentRoutingDeviceConfig setRouterIp(String ip); MacAddress routerMac(); SegmentRoutingDeviceConfig setRouterMac(String mac); int nodeSid(); SegmentRoutingDeviceConfig setNodeSid(int sid); Boolean isEdgeRouter(); SegmentRoutingDeviceConfig setIsEdgeRouter(boolean isEdgeRouter); Map<Integer, Set<Integer>> adjacencySids(); SegmentRoutingDeviceConfig setAdjacencySids(Map<Integer, Set<Integer>> adjacencySids); }
SegmentRoutingDeviceConfig extends Config<DeviceId> { public SegmentRoutingDeviceConfig setRouterMac(String mac) { return (SegmentRoutingDeviceConfig) setOrClear(MAC, mac); }  @Override boolean isValid(); Optional<String> name(); SegmentRoutingDeviceConfig setName(String name); Ip4Address routerIp(); SegmentRoutingDeviceConfig setRouterIp(String ip); MacAddress routerMac(); SegmentRoutingDeviceConfig setRouterMac(String mac); int nodeSid(); SegmentRoutingDeviceConfig setNodeSid(int sid); Boolean isEdgeRouter(); SegmentRoutingDeviceConfig setIsEdgeRouter(boolean isEdgeRouter); Map<Integer, Set<Integer>> adjacencySids(); SegmentRoutingDeviceConfig setAdjacencySids(Map<Integer, Set<Integer>> adjacencySids);  }