1.2.1
This commit is contained in:
@@ -14,12 +14,14 @@ type DataSourceNode struct {
|
||||
Consumption *ConsumptionModel `tfsdk:"consumption"`
|
||||
CpuInfo *CpuInfoModel `tfsdk:"cpu_info"`
|
||||
CPUAllocationRatio types.Int64 `tfsdk:"cpu_allocation_ratio"`
|
||||
DPDK *DPDKModel `tfsdk:"dpdk"`
|
||||
GID types.Int64 `tfsdk:"gid"`
|
||||
ID types.String `tfsdk:"id"`
|
||||
IPAddr types.List `tfsdk:"ipaddr"`
|
||||
IsolatedCPUs types.List `tfsdk:"isolated_cpus"`
|
||||
Name types.String `tfsdk:"name"`
|
||||
NeedReboot types.Bool `tfsdk:"need_reboot"`
|
||||
NetworkMode types.String `tfsdk:"network_mode"`
|
||||
NicInfo []NicInfoModel `tfsdk:"nic_info"`
|
||||
NumaTopology *NumaTopologyModel `tfsdk:"numa_topology"`
|
||||
ReservedCPUs types.List `tfsdk:"reserved_cpus"`
|
||||
@@ -27,6 +29,10 @@ type DataSourceNode struct {
|
||||
SriovEnabled types.Bool `tfsdk:"sriov_enabled"`
|
||||
StackId types.Int64 `tfsdk:"stack_id"`
|
||||
Status types.String `tfsdk:"status"`
|
||||
ToActive *Role `tfsdk:"to_active"`
|
||||
ToInstalling *Role `tfsdk:"to_installing"`
|
||||
ToMaintenance *Role `tfsdk:"to_maintenance"`
|
||||
ToRestricted *Role `tfsdk:"to_restricted"`
|
||||
Version types.String `tfsdk:"version"`
|
||||
}
|
||||
|
||||
@@ -85,3 +91,24 @@ type NumaTopologyNodesMemory struct {
|
||||
TwoM types.Int64 `tfsdk:"two_m"`
|
||||
Total types.Int64 `tfsdk:"total"`
|
||||
}
|
||||
|
||||
type DPDKModel struct {
|
||||
Bridges *Bridges `tfsdk:"bridges"`
|
||||
HPMemory types.Map `tfsdk:"hp_memory"`
|
||||
PMDCPU types.List `tfsdk:"pmd_cpu"`
|
||||
}
|
||||
|
||||
type Bridges struct {
|
||||
Backplane1 *Backplane1 `tfsdk:"backplane1"`
|
||||
}
|
||||
|
||||
type Backplane1 struct {
|
||||
Interfaces types.List `tfsdk:"interfaces"`
|
||||
NumaNode types.Int64 `tfsdk:"numa_node"`
|
||||
}
|
||||
|
||||
type Role struct {
|
||||
Actor types.String `tfsdk:"actor"`
|
||||
Reason types.String `tfsdk:"reason"`
|
||||
Time types.Int64 `tfsdk:"time"`
|
||||
}
|
||||
|
||||
@@ -25,44 +25,46 @@ type DataSourceNodeList struct {
|
||||
}
|
||||
|
||||
type ItemNodeModel struct {
|
||||
AdditionalPkgs types.List `tfsdk:"additional_pkgs"`
|
||||
CpuInfo *CpuInfoModel `tfsdk:"cpu_info"`
|
||||
Description types.String `tfsdk:"description"`
|
||||
GID types.Int64 `tfsdk:"gid"`
|
||||
GUID types.String `tfsdk:"guid"`
|
||||
HostKey types.String `tfsdk:"hostkey"`
|
||||
IPAddr types.List `tfsdk:"ipaddr"`
|
||||
IsolatedCPUs types.List `tfsdk:"isolated_cpus"`
|
||||
LastCheck types.Int64 `tfsdk:"lastcheck"`
|
||||
MachineGUID types.String `tfsdk:"machine_guid"`
|
||||
MainboardSN types.String `tfsdk:"mainboard_sn"`
|
||||
Memory types.Int64 `tfsdk:"memory"`
|
||||
Milestones types.Int64 `tfsdk:"milestones"`
|
||||
Model types.String `tfsdk:"model"`
|
||||
Name types.String `tfsdk:"name"`
|
||||
NeedReboot types.Bool `tfsdk:"need_reboot"`
|
||||
NetAddr []NetAddrModel `tfsdk:"net_addr"`
|
||||
NetworkMode types.String `tfsdk:"network_mode"`
|
||||
NicInfo []NicInfoModel `tfsdk:"nic_info"`
|
||||
NodeUUID types.String `tfsdk:"node_uuid"`
|
||||
NodeID types.Int64 `tfsdk:"node_id"`
|
||||
NumaTopology *NumaTopologyModel `tfsdk:"numa_topology"`
|
||||
PeerBackup types.Int64 `tfsdk:"peer_backup"`
|
||||
PeerLog types.Int64 `tfsdk:"peer_log"`
|
||||
PeerStats types.Int64 `tfsdk:"peer_stats"`
|
||||
Pgpus types.List `tfsdk:"pgpus"`
|
||||
PublicKeys types.List `tfsdk:"public_keys"`
|
||||
Release types.String `tfsdk:"release"`
|
||||
ReservedCPUs types.List `tfsdk:"reserved_cpus"`
|
||||
Roles types.List `tfsdk:"roles"`
|
||||
SEPs types.List `tfsdk:"seps"`
|
||||
SerialNum types.String `tfsdk:"serial_num"`
|
||||
SriovEnabled types.Bool `tfsdk:"sriov_enabled"`
|
||||
StackId types.Int64 `tfsdk:"stack_id"`
|
||||
Status types.String `tfsdk:"status"`
|
||||
Tags types.List `tfsdk:"tags"`
|
||||
Type types.String `tfsdk:"type"`
|
||||
Version types.String `tfsdk:"version"`
|
||||
AdditionalPkgs types.List `tfsdk:"additional_pkgs"`
|
||||
CpuInfo *CpuInfoModel `tfsdk:"cpu_info"`
|
||||
Description types.String `tfsdk:"description"`
|
||||
DPDK *DPDKModel `tfsdk:"dpdk"`
|
||||
GID types.Int64 `tfsdk:"gid"`
|
||||
GUID types.String `tfsdk:"guid"`
|
||||
HostKey types.String `tfsdk:"hostkey"`
|
||||
IPAddr types.List `tfsdk:"ipaddr"`
|
||||
IsolatedCPUs types.List `tfsdk:"isolated_cpus"`
|
||||
LastCheck types.Int64 `tfsdk:"lastcheck"`
|
||||
MachineGUID types.String `tfsdk:"machine_guid"`
|
||||
MainboardSN types.String `tfsdk:"mainboard_sn"`
|
||||
Memory types.Int64 `tfsdk:"memory"`
|
||||
Milestones types.Int64 `tfsdk:"milestones"`
|
||||
Model types.String `tfsdk:"model"`
|
||||
Name types.String `tfsdk:"name"`
|
||||
NeedReboot types.Bool `tfsdk:"need_reboot"`
|
||||
NetAddr []NetAddrModel `tfsdk:"net_addr"`
|
||||
NetworkMode types.String `tfsdk:"network_mode"`
|
||||
NicInfo []NicInfoModel `tfsdk:"nic_info"`
|
||||
NodeUUID types.String `tfsdk:"node_uuid"`
|
||||
NodeID types.Int64 `tfsdk:"node_id"`
|
||||
NumaTopology *NumaTopologyModel `tfsdk:"numa_topology"`
|
||||
PeerBackup types.Int64 `tfsdk:"peer_backup"`
|
||||
PeerLog types.Int64 `tfsdk:"peer_log"`
|
||||
PeerStats types.Int64 `tfsdk:"peer_stats"`
|
||||
Pgpus types.List `tfsdk:"pgpus"`
|
||||
PublicKeys types.List `tfsdk:"public_keys"`
|
||||
Release types.String `tfsdk:"release"`
|
||||
ReservedCPUs types.List `tfsdk:"reserved_cpus"`
|
||||
Roles types.List `tfsdk:"roles"`
|
||||
SEPs types.List `tfsdk:"seps"`
|
||||
SerialNum types.String `tfsdk:"serial_num"`
|
||||
SriovEnabled types.Bool `tfsdk:"sriov_enabled"`
|
||||
StackId types.Int64 `tfsdk:"stack_id"`
|
||||
Status types.String `tfsdk:"status"`
|
||||
Tags types.List `tfsdk:"tags"`
|
||||
Type types.String `tfsdk:"type"`
|
||||
UEFIFirmwareFile types.String `tfsdk:"uefi_firmware_file"`
|
||||
Version types.String `tfsdk:"version"`
|
||||
}
|
||||
|
||||
type NetAddrModel struct {
|
||||
|
||||
Reference in New Issue
Block a user