This commit is contained in:
2026-02-11 13:02:14 +03:00
parent 069d63a65c
commit b8283ebfaf
277 changed files with 2184 additions and 4192 deletions

View File

@@ -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

View File

@@ -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,