1.2.0
This commit is contained in:
@@ -160,6 +160,9 @@ func MakeSchemaDataSourceCompute() map[string]schema.Attribute {
|
||||
"arch": schema.StringAttribute{
|
||||
Computed: true,
|
||||
},
|
||||
"auto_start_w_node": schema.BoolAttribute{
|
||||
Computed: true,
|
||||
},
|
||||
"chipset": schema.StringAttribute{
|
||||
Computed: true,
|
||||
},
|
||||
@@ -708,5 +711,8 @@ func MakeSchemaDataSourceCompute() map[string]schema.Attribute {
|
||||
"virtual_image_name": schema.StringAttribute{
|
||||
Computed: true,
|
||||
},
|
||||
"vnc_password": schema.StringAttribute{
|
||||
Computed: true,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -166,6 +166,9 @@ func MakeSchemaDataSourceComputeList() map[string]schema.Attribute {
|
||||
"arch": schema.StringAttribute{
|
||||
Computed: true,
|
||||
},
|
||||
"auto_start_w_node": schema.BoolAttribute{
|
||||
Computed: true,
|
||||
},
|
||||
"chipset": schema.StringAttribute{
|
||||
Computed: true,
|
||||
},
|
||||
|
||||
@@ -158,6 +158,9 @@ func MakeSchemaDataSourceComputeListDeleted() map[string]schema.Attribute {
|
||||
"arch": schema.StringAttribute{
|
||||
Computed: true,
|
||||
},
|
||||
"auto_start_w_node": schema.BoolAttribute{
|
||||
Computed: true,
|
||||
},
|
||||
"chipset": schema.StringAttribute{
|
||||
Computed: true,
|
||||
},
|
||||
|
||||
@@ -291,6 +291,8 @@ func MakeSchemaResourceCompute() map[string]schema.Attribute {
|
||||
},
|
||||
"pin_to_stack": schema.BoolAttribute{
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
Default: booldefault.StaticBool(false),
|
||||
},
|
||||
"description": schema.StringAttribute{
|
||||
Optional: true,
|
||||
@@ -345,23 +347,20 @@ func MakeSchemaResourceCompute() map[string]schema.Attribute {
|
||||
Description: "Flag for redeploy compute",
|
||||
},
|
||||
"started": schema.BoolAttribute{
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
Default: booldefault.StaticBool(true),
|
||||
//Default: true,
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
Default: booldefault.StaticBool(true),
|
||||
Description: "Is compute started.",
|
||||
},
|
||||
"detach_disks": schema.BoolAttribute{
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
Default: booldefault.StaticBool(true),
|
||||
//Default: true,
|
||||
},
|
||||
"permanently": schema.BoolAttribute{
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
Default: booldefault.StaticBool(true),
|
||||
//Default: true,
|
||||
},
|
||||
"is": schema.StringAttribute{
|
||||
Optional: true,
|
||||
@@ -380,13 +379,15 @@ func MakeSchemaResourceCompute() map[string]schema.Attribute {
|
||||
Description: "Rule for VM placement with NUMA affinity.",
|
||||
},
|
||||
"cpu_pin": schema.BoolAttribute{
|
||||
Optional: true,
|
||||
//Default: false,
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
Default: booldefault.StaticBool(false),
|
||||
Description: "Run VM on dedicated CPUs. To use this feature, the system must be pre-configured by allocating CPUs on the physical node.",
|
||||
},
|
||||
"hp_backed": schema.BoolAttribute{
|
||||
Optional: true,
|
||||
//Default: false,
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
Default: booldefault.StaticBool(false),
|
||||
Description: "Use Huge Pages to allocate RAM of the virtual machine. The system must be pre-configured by allocating Huge Pages on the physical node.",
|
||||
},
|
||||
"pci_devices": schema.SetAttribute{
|
||||
@@ -402,6 +403,12 @@ func MakeSchemaResourceCompute() map[string]schema.Attribute {
|
||||
},
|
||||
Description: "Type of the emulated system, Q35 or i440fx",
|
||||
},
|
||||
"auto_start_w_node": schema.BoolAttribute{
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
Description: "Flag for start compute after node exits from MAINTENANCE state",
|
||||
Default: booldefault.StaticBool(false),
|
||||
},
|
||||
|
||||
// computed attributes
|
||||
"compute_id": schema.Int64Attribute{
|
||||
@@ -801,6 +808,9 @@ func MakeSchemaResourceCompute() map[string]schema.Attribute {
|
||||
"virtual_image_name": schema.StringAttribute{
|
||||
Computed: true,
|
||||
},
|
||||
"vnc_password": schema.StringAttribute{
|
||||
Computed: true,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user