Fix defaultGroupName of SecurityGroupManager Class

If the environment name contains '/', default security group
resource name contains '/' and heat deployment fails.

This patch changes defaultGroupName of SecurityGroupManager Class
 to 'MuranoSecurityGroup-' + environment id.

Change-Id: I68266815c40b9ccccca9c34bf6ed70db5f176fe0
Closes-Bug: #1590497
This commit is contained in:
Hidekazu Nakamura 2016-06-17 14:07:21 +09:00
parent 81ede22e78
commit c0bfff29bd

View File

@ -22,7 +22,7 @@ Properties:
defaultGroupName:
Contract: $.string()
Default: format('MuranoSecurityGroup-{0}', $.environment.name)
Default: format('MuranoSecurityGroup-{0}', $.environment.id())
Methods:
addGroupIngress:
@ -49,4 +49,4 @@ Methods:
Ethertype: $.string().check($ in list(null, 'IPv4', 'IPv6'))
- groupName:
Contract: $.string().notNull()
Default: $this.defaultGroupName
Default: $this.defaultGroupName