45f002010a
Renames name of the section containing class methods. New name is more OOP and doesn't cause confusion with Mistral. Old name is still works for backward compatibility Change-Id: I7f6a4af31983f85283e2c91d0a88b9b42367affa Implements: blueprint rename-workflow-to-methods
23 lines
510 B
YAML
23 lines
510 B
YAML
Namespaces:
|
|
=: io.murano.resources
|
|
std: io.murano
|
|
|
|
Name: LinuxInstance
|
|
|
|
Extends: Instance
|
|
|
|
Methods:
|
|
createDefaultInstanceSecurityGroupRules:
|
|
Arguments:
|
|
- groupName:
|
|
Contract: $.string().notNull()
|
|
Body:
|
|
- $environment: $.find(std:Environment).require()
|
|
- $rules:
|
|
- ToPort: 22
|
|
IpProtocol: tcp
|
|
FromPort: 22
|
|
External: true
|
|
- $environment.securityGroupManager.addGroupIngress(
|
|
rules => $rules, groupName => $groupName)
|