@Test public void testSetRouterIp() throws Exception { config.setRouterIp("10.0.2.254"); assertThat(config.routerIp(), is(IpAddress.valueOf("10.0.2.254"))); }
public SegmentRoutingDeviceConfig setRouterIp(String ip) { return (SegmentRoutingDeviceConfig) setOrClear(IP, ip); }
SegmentRoutingDeviceConfig extends Config<DeviceId> { public SegmentRoutingDeviceConfig setRouterIp(String ip) { return (SegmentRoutingDeviceConfig) setOrClear(IP, ip); } }
SegmentRoutingDeviceConfig extends Config<DeviceId> { public SegmentRoutingDeviceConfig setRouterIp(String ip) { return (SegmentRoutingDeviceConfig) setOrClear(IP, ip); }  }
SegmentRoutingDeviceConfig extends Config<DeviceId> { public SegmentRoutingDeviceConfig setRouterIp(String ip) { return (SegmentRoutingDeviceConfig) setOrClear(IP, ip); }  @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 setRouterIp(String ip) { return (SegmentRoutingDeviceConfig) setOrClear(IP, ip); }  @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);  }