Fix NetworkExplorer creation
After I4dbf40c65042e9a354f3bfadfcd63a63e6e3e418 NetworkExplorer require CloudRegion subclass in owners chain Change-Id: I238e3bd6792312e780bd565c9cd9cf2735f5e25c Closes-bug: #1620271
This commit is contained in:
parent
5f734b16ca
commit
f4cf8b36a6
@ -38,8 +38,7 @@ Properties:
|
||||
Workflow:
|
||||
initialize:
|
||||
Body:
|
||||
- $environment: $.find(std:Environment).require()
|
||||
- $._netExplorer: new(sys:NetworkExplorer, $environment)
|
||||
- $._netExplorer: new(sys:NetworkExplorer, $this.getRegion())
|
||||
- $._networks: null
|
||||
- $._subnetworks: null
|
||||
- $._ports: null
|
||||
@ -99,7 +98,7 @@ Workflow:
|
||||
|
||||
_getNetworks:
|
||||
Body:
|
||||
- If: $._networks = null
|
||||
- If: not $._networks
|
||||
Then:
|
||||
$._networks: $._netExplorer.listNetworks()
|
||||
- Return: $._networks
|
||||
|
@ -24,7 +24,7 @@ Methods:
|
||||
Body:
|
||||
- $._environment: $.find(std:Environment)
|
||||
- $._region: $.getRegion()
|
||||
- $._netExplorer: new(sys:NetworkExplorer, $this)
|
||||
- $._netExplorer: new(sys:NetworkExplorer, $this._region)
|
||||
- $._securityGroupsEnabled: $._netExplorer.listNeutronExtensions().alias.contains('security-group')
|
||||
|
||||
joinInstanceToNetwork:
|
||||
|
Loading…
Reference in New Issue
Block a user