1.2.0
This commit is contained in:
@@ -66,6 +66,7 @@ type RecordVNFDevModel struct {
|
||||
Status types.String `tfsdk:"status"`
|
||||
TechStatus types.String `tfsdk:"tech_status"`
|
||||
Type types.String `tfsdk:"type"`
|
||||
VNCPassword types.String `tfsdk:"vnc_password"`
|
||||
VINS types.List `tfsdk:"vins"`
|
||||
}
|
||||
|
||||
@@ -174,14 +175,10 @@ type RecordDHCPConfigModel struct {
|
||||
}
|
||||
|
||||
type ReservationModel struct {
|
||||
ClientType types.String `tfsdk:"client_type"`
|
||||
Description types.String `tfsdk:"desc"`
|
||||
DomainName types.String `tfsdk:"domainname"`
|
||||
Hostname types.String `tfsdk:"hostname"`
|
||||
IP types.String `tfsdk:"ip"`
|
||||
MAC types.String `tfsdk:"mac"`
|
||||
Type types.String `tfsdk:"type"`
|
||||
VMID types.Int64 `tfsdk:"vm_id"`
|
||||
IP types.String `tfsdk:"ip"`
|
||||
MAC types.String `tfsdk:"mac"`
|
||||
Type types.String `tfsdk:"type"`
|
||||
VMID types.Int64 `tfsdk:"vm_id"`
|
||||
}
|
||||
|
||||
type RecordNATModel struct {
|
||||
@@ -270,6 +267,7 @@ var ItemVNFDev = map[string]attr.Type{
|
||||
"status": types.StringType,
|
||||
"tech_status": types.StringType,
|
||||
"type": types.StringType,
|
||||
"vnc_password": types.StringType,
|
||||
"vins": types.ListType{ElemType: types.Int64Type},
|
||||
}
|
||||
|
||||
@@ -377,14 +375,10 @@ var ItemDHCPConfig = map[string]attr.Type{
|
||||
}
|
||||
|
||||
var ItemReservations = map[string]attr.Type{
|
||||
"client_type": types.StringType,
|
||||
"desc": types.StringType,
|
||||
"domainname": types.StringType,
|
||||
"hostname": types.StringType,
|
||||
"ip": types.StringType,
|
||||
"mac": types.StringType,
|
||||
"type": types.StringType,
|
||||
"vm_id": types.Int64Type,
|
||||
"ip": types.StringType,
|
||||
"mac": types.StringType,
|
||||
"type": types.StringType,
|
||||
"vm_id": types.Int64Type,
|
||||
}
|
||||
|
||||
var ItemGW = map[string]attr.Type{
|
||||
|
||||
@@ -13,12 +13,12 @@ type ResourceVINSStaticRouteModel struct {
|
||||
Gateway types.String `tfsdk:"gateway"`
|
||||
|
||||
// optional fields
|
||||
RouteID types.Int64 `tfsdk:"route_id"`
|
||||
ComputeIDs types.List `tfsdk:"compute_ids"`
|
||||
Timeouts timeouts.Value `tfsdk:"timeouts"`
|
||||
RouteID types.Int64 `tfsdk:"route_id"`
|
||||
Timeouts timeouts.Value `tfsdk:"timeouts"`
|
||||
|
||||
// response fields
|
||||
Id types.String `tfsdk:"id"`
|
||||
LastUpdated types.String `tfsdk:"last_updated"`
|
||||
ComputeIDs types.List `tfsdk:"compute_ids"`
|
||||
GUID types.String `tfsdk:"guid"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user