:GatewayInterface is located 1 level deeper
This commit is contained in:
parent
04810c1039
commit
8d1380e6fd
|
@ -157,7 +157,7 @@ Shindo.tests('Compute::VcloudDirector | edge gateway requests', ['vclouddirector
|
||||||
|
|
||||||
tests('#check Static Routing service configuration').returns(true) do
|
tests('#check Static Routing service configuration').returns(true) do
|
||||||
edge_gateway = @service.get_edge_gateway(@edge_gateway_id).body
|
edge_gateway = @service.get_edge_gateway(@edge_gateway_id).body
|
||||||
gateway_interface = edge_gateway[:Configuration][:GatewayInterface].first
|
gateway_interface = edge_gateway[:Configuration][:GatewayInterfaces][:GatewayInterface].first
|
||||||
@routing_service_configuration[:StaticRoutingService][:StaticRoute].first[:GatewayInterface] = {
|
@routing_service_configuration[:StaticRoutingService][:StaticRoute].first[:GatewayInterface] = {
|
||||||
:type => gateway_interface[:type],
|
:type => gateway_interface[:type],
|
||||||
:name => gateway_interface[:name],
|
:name => gateway_interface[:name],
|
||||||
|
|
Loading…
Reference in New Issue