Rework address roles, making Address::role optional, rework determining uplink/downlinks/parent/children
This commit is contained in:
@@ -120,7 +120,7 @@ class TestNodeHierarchy extends Seeder
|
||||
'node_id'=>$nid,
|
||||
'point_id'=>0,
|
||||
'system_id'=>$so->id,
|
||||
'role'=>Address::NODE_ACTIVE,
|
||||
'role'=>Address::NODE_NN,
|
||||
'created_at'=>Carbon::now(),
|
||||
'updated_at'=>Carbon::now(),
|
||||
]);
|
||||
@@ -167,7 +167,7 @@ class TestNodeHierarchy extends Seeder
|
||||
'node_id'=>$nid,
|
||||
'point_id'=>0,
|
||||
'system_id'=>$so->id,
|
||||
'role'=>Address::NODE_ACTIVE,
|
||||
'role'=>Address::NODE_NN,
|
||||
'created_at'=>Carbon::now(),
|
||||
'updated_at'=>Carbon::now(),
|
||||
]);
|
||||
@@ -214,7 +214,7 @@ class TestNodeHierarchy extends Seeder
|
||||
'node_id'=>$nid,
|
||||
'point_id'=>0,
|
||||
'system_id'=>$so->id,
|
||||
'role'=>Address::NODE_ACTIVE,
|
||||
'role'=>Address::NODE_NN,
|
||||
'created_at'=>Carbon::now(),
|
||||
'updated_at'=>Carbon::now(),
|
||||
]);
|
||||
@@ -251,7 +251,7 @@ class TestNodeHierarchy extends Seeder
|
||||
'point_id'=>0,
|
||||
'system_id'=>$so->id,
|
||||
'hub_id'=>$hub->id,
|
||||
'role'=>Address::NODE_ACTIVE,
|
||||
'role'=>Address::NODE_NN,
|
||||
'created_at'=>Carbon::now(),
|
||||
'updated_at'=>Carbon::now(),
|
||||
]);
|
||||
|
Reference in New Issue
Block a user