Update edge direction
Host contains instance, so the direction of the side is that the host points to the insatnce Change-Id: I24703c1a257a4cdadd0506b55d835a68841ff0ea
This commit is contained in:
parent
6631134c9f
commit
baea187596
@ -71,16 +71,17 @@ class TestEntityGraphManager(base.TestBaseProcessor):
|
||||
entity_graph = NXGraph("Entity Graph")
|
||||
|
||||
# create vertex properties
|
||||
|
||||
vertex1 = self._update_vertex_to_graph(entity_graph,
|
||||
EntityCategory.RESOURCE,
|
||||
'INSTANCE',
|
||||
'12345',
|
||||
False, True, {})
|
||||
vertex2 = self._update_vertex_to_graph(entity_graph,
|
||||
EntityCategory.RESOURCE,
|
||||
'HOST',
|
||||
'54321',
|
||||
False, True, {})
|
||||
vertex2 = self._update_vertex_to_graph(entity_graph,
|
||||
EntityCategory.RESOURCE,
|
||||
'INSTANCE',
|
||||
'12345',
|
||||
False, True, {})
|
||||
edge = self._update_edge_to_graph(entity_graph,
|
||||
vertex1.vertex_id,
|
||||
vertex2.vertex_id,
|
||||
|
Loading…
Reference in New Issue
Block a user