The first pic is the screenshot of sample "chassis-ui and chassis-service" in SDK 5.1,and in the marked place,lists shows the same.In the java-service code is the BOLD font code.
But in the second pic,no IP list in the left side,in fact ,it should show the two IP in the left side.And I can't find where to set the "REGISTER_IP" to make the param showed in the left side.
public Object createChassis() {
int index = _chassisDataStore.size();
// Creates a new object
Object chassisReference = _objectRefService.getReference(
CHASSIS_TYPE, "chassis-test-"+index, null);
String uid = _objectRefService.getUid(chassisReference);
// Creates 2 properties
Map<String, Object> propertiesMap = new HashMap<String, Object>();
propertiesMap.put(CHASSIS_NAME, "Chassis-beta"+index);
propertiesMap.put(CHASSIS_SERVER_TYPE, "Chassis_Type"+index);
_chassisDataStore.put(uid, propertiesMap);
return chassisReference;
}
Object chassisReference = _objectRefService.getReference( CHASSIS_TYPE, ip, null); String uid = _objectRefService.getUid(chassisReference); Map<String, Object> propertiesMap = new HashMap<String, Object>(); propertiesMap.put(REGISTER_IP, ip); propertiesMap.put(REGISTER_USERNAME, username); propertiesMap.put(REGISTER_PORT, port); _chassisDataStore.put(uid, propertiesMap);











