Revise resource definition conf
Change-Id: I9354654f99c61961228147ed3e984a63102bbaaa
This commit is contained in:
parent
e6f58709bc
commit
6fd1258861
|
@ -2,7 +2,7 @@
|
|||
resources:
|
||||
- resource_type: os.nova.server
|
||||
traits:
|
||||
instance_flavor_id:
|
||||
flavor:
|
||||
fields: payload.instance_flavor_id
|
||||
resource_ref:
|
||||
fields: payload.instance_id
|
||||
|
@ -10,23 +10,7 @@
|
|||
resources:
|
||||
- resource_type: volume
|
||||
traits:
|
||||
value:
|
||||
size:
|
||||
fields: payload.size
|
||||
resource_ref:
|
||||
fields: payload.volume_id
|
||||
- event_type: network.create.end
|
||||
resources:
|
||||
- resource_type: network
|
||||
traits:
|
||||
resource_ref:
|
||||
fields: payload.network.id
|
||||
user_id:
|
||||
fields: payload.network.tenant_id
|
||||
- event_type: network.delete.end
|
||||
resources:
|
||||
- resource_type: network
|
||||
traits:
|
||||
resource_ref:
|
||||
fields: payload.network_id
|
||||
user_id:
|
||||
fields: payload.network.tenant_id
|
||||
|
|
Loading…
Reference in New Issue