mirror of https://github.com/apache/cloudstack.git
marvin_refactor: Additional entities in post-transform
- UserVm -> VirtualMachine - ApplicationLoadBalancer -> LoadBalancer Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
parent
1731a961ac
commit
c3246f4309
|
|
@ -110,6 +110,12 @@ def post_transform_adjust(entity):
|
|||
return 'SecurityGroupIngress'
|
||||
elif entity == 'SecurityGroupEgres':
|
||||
return 'SecurityGroupEgress'
|
||||
#CloudStack denotes VirtualMachine as UserVm
|
||||
elif entity == 'UserVm':
|
||||
return 'VirtualMachine'
|
||||
#CloudStak denotes LoadBalancer as ApplicationLoadBalancer
|
||||
elif entity == 'ApplicationLoadBalancer':
|
||||
return 'LoadBalancer'
|
||||
return entity
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue