4.11.0
This commit is contained in:
@@ -156,7 +156,7 @@ func flattenVinsVNFDev(vd vins.VNFDev) []map[string]interface{} {
|
||||
"type": vd.Type,
|
||||
"vnc_password": vd.VNCPassword,
|
||||
"vins": vd.VINS,
|
||||
"zone_id": vd.ZoneID,
|
||||
"zone_id": vd.ZoneID,
|
||||
}
|
||||
res = append(res, temp)
|
||||
return res
|
||||
@@ -416,10 +416,10 @@ func flattenVinsMGMT(m vins.MGMT) []map[string]interface{} {
|
||||
func flattenVinsResources(r vins.Resources) []map[string]interface{} {
|
||||
res := make([]map[string]interface{}, 0)
|
||||
temp := map[string]interface{}{
|
||||
"cpu": r.CPU,
|
||||
"ram": r.RAM,
|
||||
"stack_id": r.StackID,
|
||||
"uuid": r.UUID,
|
||||
"cpu": r.CPU,
|
||||
"ram": r.RAM,
|
||||
"node_id": r.NodeID,
|
||||
"uuid": r.UUID,
|
||||
}
|
||||
res = append(res, temp)
|
||||
return res
|
||||
|
||||
@@ -94,10 +94,10 @@ func dataSourceVinsSchemaMake() map[string]*schema.Schema {
|
||||
Computed: true,
|
||||
Description: "ram",
|
||||
},
|
||||
"stack_id": {
|
||||
"node_id": {
|
||||
Type: schema.TypeInt,
|
||||
Computed: true,
|
||||
Description: "stack id",
|
||||
Description: "node id",
|
||||
},
|
||||
"uuid": {
|
||||
Type: schema.TypeString,
|
||||
@@ -2322,10 +2322,10 @@ func resourceVinsSchemaMake() map[string]*schema.Schema {
|
||||
Computed: true,
|
||||
Description: "ram",
|
||||
},
|
||||
"stack_id": {
|
||||
"node_id": {
|
||||
Type: schema.TypeInt,
|
||||
Computed: true,
|
||||
Description: "stack id",
|
||||
Description: "node id",
|
||||
},
|
||||
"uuid": {
|
||||
Type: schema.TypeString,
|
||||
|
||||
Reference in New Issue
Block a user