Merge "Fix NetworkExplorer creation"
This commit is contained in:
commit
b2e16d8627
|
@ -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