@@ -2,81 +2,84 @@ package api
22
33// Device describes network edge device
44type Device struct {
5- UUID * string `json:"uuid,omitempty"`
6- Name * string `json:"name,omitempty"`
7- DeviceTypeCode * string `json:"deviceTypeCode,omitempty"`
8- Status * string `json:"status,omitempty"`
9- LicenseStatus * string `json:"licenseStatus,omitempty"`
10- MetroCode * string `json:"metroCode,omitempty"`
11- IBX * string `json:"ibx,omitempty"`
12- Region * string `json:"region,omitempty"`
13- Throughput * int `json:"throughput,omitempty,string"`
14- ThroughputUnit * string `json:"throughputUnit,omitempty"`
15- HostName * string `json:"hostName,omitempty"`
16- PackageCode * string `json:"packageCode,omitempty"`
17- Version * string `json:"version,omitempty"`
18- LicenseToken * string `json:"licenseToken,omitempty"`
19- LicenseType * string `json:"licenseType,omitempty"`
20- LicenseFileID * string `json:"licenseFileId,omitempty"`
21- CloudInitFileID * string `json:"CloudInitFileId,omitempty"`
22- ACLTemplateUUID * string `json:"aclTemplateUuid,omitempty"`
23- MgmtAclTemplateUUID * string `json:"mgmtAclTemplateUuid,omitempty"`
24- SSHIPAddress * string `json:"sshIpAddress,omitempty"`
25- SSHIPFqdn * string `json:"sshIpFqdn,omitempty"`
26- AccountNumber * string `json:"accountNumber,omitempty"`
27- Notifications []string `json:"notifications,omitempty"`
28- PurchaseOrderNumber * string `json:"purchaseOrderNumber,omitempty"`
29- RedundancyType * string `json:"redundancyType,omitempty"`
30- RedundantUUID * string `json:"redundantUuid,omitempty"`
31- TermLength * int `json:"termLength,omitempty"`
32- AdditionalBandwidth * int `json:"additionalBandwidth,omitempty"`
33- OrderReference * string `json:"orderReference,omitempty"`
34- InterfaceCount * int `json:"interfaceCount,omitempty"`
35- Core * DeviceCoreInformation `json:"core,omitempty"`
36- DeviceManagementType * string `json:"deviceManagementType,omitempty"`
37- SshInterfaceID * string `json:"sshInterfaceId,omitempty"`
38- Interfaces []DeviceInterface `json:"interfaces,omitempty"`
39- VendorConfig map [string ]string `json:"vendorConfig,omitempty"`
40- UserPublicKey * DeviceUserPublicKey `json:"userPublicKey,omitempty"`
41- ASN * int `json:"asn,omitempty"`
42- ZoneCode * string `json:"zoneCode,omitempty"`
43- ClusterDetails * ClusterDetails `json:"clusterDetails,omitempty"`
44- Connectivity * string `json:"connectivity,omitempty"`
45- ProjectID * string `json:"projectId,omitempty"`
5+ UUID * string `json:"uuid,omitempty"`
6+ Name * string `json:"name,omitempty"`
7+ DeviceTypeCode * string `json:"deviceTypeCode,omitempty"`
8+ Status * string `json:"status,omitempty"`
9+ LicenseStatus * string `json:"licenseStatus,omitempty"`
10+ MetroCode * string `json:"metroCode,omitempty"`
11+ IBX * string `json:"ibx,omitempty"`
12+ Region * string `json:"region,omitempty"`
13+ Throughput * int `json:"throughput,omitempty,string"`
14+ ThroughputUnit * string `json:"throughputUnit,omitempty"`
15+ HostName * string `json:"hostName,omitempty"`
16+ PackageCode * string `json:"packageCode,omitempty"`
17+ Version * string `json:"version,omitempty"`
18+ LicenseToken * string `json:"licenseToken,omitempty"`
19+ LicenseType * string `json:"licenseType,omitempty"`
20+ LicenseFileID * string `json:"licenseFileId,omitempty"`
21+ CloudInitFileID * string `json:"CloudInitFileId,omitempty"`
22+ ACLTemplateUUID * string `json:"aclTemplateUuid,omitempty"`
23+ MgmtAclTemplateUUID * string `json:"mgmtAclTemplateUuid,omitempty"`
24+ SSHIPAddress * string `json:"sshIpAddress,omitempty"`
25+ SSHIPFqdn * string `json:"sshIpFqdn,omitempty"`
26+ AccountNumber * string `json:"accountNumber,omitempty"`
27+ Notifications []string `json:"notifications,omitempty"`
28+ PurchaseOrderNumber * string `json:"purchaseOrderNumber,omitempty"`
29+ RedundancyType * string `json:"redundancyType,omitempty"`
30+ RedundantUUID * string `json:"redundantUuid,omitempty"`
31+ TermLength * int `json:"termLength,omitempty"`
32+ AdditionalBandwidth * int `json:"additionalBandwidth,omitempty"`
33+ OrderReference * string `json:"orderReference,omitempty"`
34+ InterfaceCount * int `json:"interfaceCount,omitempty"`
35+ Core * DeviceCoreInformation `json:"core,omitempty"`
36+ DeviceManagementType * string `json:"deviceManagementType,omitempty"`
37+ SshInterfaceID * string `json:"sshInterfaceId,omitempty"`
38+ Interfaces []DeviceInterface `json:"interfaces,omitempty"`
39+ VendorConfig map [string ]string `json:"vendorConfig,omitempty"`
40+ UserPublicKey * DeviceUserPublicKey `json:"userPublicKey,omitempty"`
41+ ASN * int `json:"asn,omitempty"`
42+ ZoneCode * string `json:"zoneCode,omitempty"`
43+ ClusterDetails * ClusterDetails `json:"clusterDetails,omitempty"`
44+ Connectivity * string `json:"connectivity,omitempty"`
45+ ProjectID * string `json:"projectId,omitempty"`
46+ DiverseFromDeviceUUID * string `json:"diverseFromDeviceUuid,omitempty"`
47+ DiverseFromDeviceName * string `json:"diverseFromDeviceName,omitempty"`
4648}
4749
4850// DeviceRequest describes network edge device creation request
4951type DeviceRequest struct {
50- Throughput * int `json:"throughput,omitempty,string"`
51- ThroughputUnit * string `json:"throughputUnit,omitempty"`
52- MetroCode * string `json:"metroCode,omitempty"`
53- DeviceTypeCode * string `json:"deviceTypeCode,omitempty"`
54- TermLength * string `json:"termLength,omitempty"`
55- LicenseMode * string `json:"licenseMode,omitempty"`
56- LicenseToken * string `json:"licenseToken,omitempty"`
57- LicenseFileID * string `json:"licenseFileId,omitempty"`
58- CloudInitFileID * string `json:"cloudInitFileId,omitempty"`
59- PackageCode * string `json:"packageCode,omitempty"`
60- VirtualDeviceName * string `json:"virtualDeviceName,omitempty"`
61- Notifications []string `json:"notifications,omitempty"`
62- HostNamePrefix * string `json:"hostNamePrefix,omitempty"`
63- OrderReference * string `json:"orderReference,omitempty"`
64- PurchaseOrderNumber * string `json:"purchaseOrderNumber,omitempty"`
65- AccountNumber * string `json:"accountNumber,omitempty"`
66- Version * string `json:"version,omitempty"`
67- InterfaceCount * int `json:"interfaceCount,omitempty"`
68- DeviceManagementType * string `json:"deviceManagementType,omitempty"`
69- SshInterfaceId * string `json:"sshInterfaceId,omitempty"`
70- Core * int `json:"core,omitempty"`
71- AdditionalBandwidth * int `json:"additionalBandwidth,omitempty,string"`
72- ACLTemplateUUID * string `json:"aclTemplateUuid,omitempty"`
73- MgmtAclTemplateUUID * string `json:"mgmtAclTemplateUuid,omitempty"`
74- VendorConfig map [string ]string `json:"vendorConfig,omitempty"`
75- UserPublicKey * DeviceUserPublicKeyRequest `json:"userPublicKey,omitempty"`
76- Secondary * SecondaryDeviceRequest `json:"secondary,omitempty"`
77- ClusterDetails * ClusterDetailsRequest `json:"clusterDetails,omitempty"`
78- Connectivity * string `json:"connectivity,omitempty"`
79- ProjectID * string `json:"projectId,omitempty"`
52+ Throughput * int `json:"throughput,omitempty,string"`
53+ ThroughputUnit * string `json:"throughputUnit,omitempty"`
54+ MetroCode * string `json:"metroCode,omitempty"`
55+ DeviceTypeCode * string `json:"deviceTypeCode,omitempty"`
56+ TermLength * string `json:"termLength,omitempty"`
57+ LicenseMode * string `json:"licenseMode,omitempty"`
58+ LicenseToken * string `json:"licenseToken,omitempty"`
59+ LicenseFileID * string `json:"licenseFileId,omitempty"`
60+ CloudInitFileID * string `json:"cloudInitFileId,omitempty"`
61+ PackageCode * string `json:"packageCode,omitempty"`
62+ VirtualDeviceName * string `json:"virtualDeviceName,omitempty"`
63+ Notifications []string `json:"notifications,omitempty"`
64+ HostNamePrefix * string `json:"hostNamePrefix,omitempty"`
65+ OrderReference * string `json:"orderReference,omitempty"`
66+ PurchaseOrderNumber * string `json:"purchaseOrderNumber,omitempty"`
67+ AccountNumber * string `json:"accountNumber,omitempty"`
68+ Version * string `json:"version,omitempty"`
69+ InterfaceCount * int `json:"interfaceCount,omitempty"`
70+ DeviceManagementType * string `json:"deviceManagementType,omitempty"`
71+ SshInterfaceId * string `json:"sshInterfaceId,omitempty"`
72+ Core * int `json:"core,omitempty"`
73+ AdditionalBandwidth * int `json:"additionalBandwidth,omitempty,string"`
74+ ACLTemplateUUID * string `json:"aclTemplateUuid,omitempty"`
75+ MgmtAclTemplateUUID * string `json:"mgmtAclTemplateUuid,omitempty"`
76+ VendorConfig map [string ]string `json:"vendorConfig,omitempty"`
77+ UserPublicKey * DeviceUserPublicKeyRequest `json:"userPublicKey,omitempty"`
78+ Secondary * SecondaryDeviceRequest `json:"secondary,omitempty"`
79+ ClusterDetails * ClusterDetailsRequest `json:"clusterDetails,omitempty"`
80+ Connectivity * string `json:"connectivity,omitempty"`
81+ ProjectID * string `json:"projectId,omitempty"`
82+ DiverseFromDeviceUUID * string `json:"diverseFromDeviceUuid,omitempty"`
8083}
8184
8285// SecondaryDeviceRequest describes secondary device part of device creation request
0 commit comments