use of org.onosproject.kubevirtnode.api.KubevirtNode in project onos by opennetworkinglab.
the class KubevirtNodeManagerTest method testUpdateNode.
/**
* Checks if updating a node works well with proper event.
*/
@Test
public void testUpdateNode() {
KubevirtNode updated = DefaultKubevirtNode.from(WORKER_2).dataIp(IpAddress.valueOf("10.200.0.100")).build();
target.updateNode(updated);
assertEquals(ERR_NOT_MATCH, updated, target.node(WORKER_2_INTG_DEVICE.id()));
validateEvents(KUBEVIRT_NODE_UPDATED);
}
Aggregations