diff --git a/v1/api/swagger/components/schemas/LocationInfo.yaml b/v1/api/swagger/components/schemas/LocationInfo.yaml index bfd9d5d9..aab42a03 100644 --- a/v1/api/swagger/components/schemas/LocationInfo.yaml +++ b/v1/api/swagger/components/schemas/LocationInfo.yaml @@ -7,6 +7,8 @@ required: - Country - Region - DataCenter + - PrivateNetworkVIDSupport + - PrivateNetworkVNISupport properties: ID: type: string @@ -22,3 +24,9 @@ properties: type: string example: FTC1 description: Data center descriptor + PrivateNetworkVIDSupport: + type: boolean + description: Indicates whether or not the fabric dedicated for private networks supports VLAN ID. + PrivateNetworkVNISupport: + type: boolean + description: Indicates whether or not the fabric dedicated for private networks supports VNI ID. diff --git a/v1/api/swagger/components/schemas/NewNetwork.yaml b/v1/api/swagger/components/schemas/NewNetwork.yaml index 9a679f78..ed21a57f 100644 --- a/v1/api/swagger/components/schemas/NewNetwork.yaml +++ b/v1/api/swagger/components/schemas/NewNetwork.yaml @@ -23,3 +23,9 @@ properties: If not specified, the network uses the default IP pool allocated from the hoster/project IP Pool factory and if specified, a new custom IP Pool will be created and used for IP allocations. + VLAN: + type: integer + description: Optional VLAN ID of the network. If not specified, it is allocated from reserved pool. + VNI: + type: integer + description: Optional VNI ID of the network. If not specified, it is allocated from reserved pool if required. diff --git a/v1/html/index.html b/v1/html/index.html index e86a0492..b28fe6b3 100644 --- a/v1/html/index.html +++ b/v1/html/index.html @@ -2712,13 +2712,15 @@
The location ID is the data center location of the resource. The LocationID must be one of those provided by the LocationInfo array returned as part of the get /available-resources call. The locations are typically described by country, region, and data center.
Indicates whether use of the network is required, default, or optional. If the network is required, any new create host request for that location must include this network among the requested networks. Default and Optional are both optional networks, but imply whether they should show up initially in pre-populated fields in a graphical user interface.
Indicates the purpose of the network.
-Optional VLAN ID of the network. If not specified, it is allocated from reserved pool.
+Optional VNI ID of the network. If not specified, it is allocated from reserved pool if required.
+{- "Name": "Private2",
- "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1",
- "Description": "Private network for intra-cluster communication",
- "HostUse": "Default",
- "Purpose": "Storage",
- "NewIPPool": {
- "Name": "string",
- "Description": "string",
- "IPVersion": "IPv4",
- "BaseIP": "10.128.0.0",
- "Netmask": "/8",
- "DefaultRoute": "10.128.0.1",
- "Sources": [
- {
- "Base": "10.128.0.2",
- "Count": 1
}
], - "DNS": [
- "8.8.8.8"
], - "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080",
- "NoProxy": "localhost,15.10.0.10,test.com",
- "NTP": [
- "15.0.0.11"
]
}
}
{- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394",
- "Name": "My Object Name",
- "Created": "2019-06-27T22:59:01.661Z",
- "Modified": "2020-02-27T18:28:02.863Z",
- "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1",
- "Description": "Private network for intra-cluster communication",
- "HostUse": "Default",
- "Purpose": "Storage",
- "IPPoolID": "string",
- "VLAN": 0,
- "VNI": 0
}
{- "Name": "Private2",
- "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1",
- "Description": "Private network for intra-cluster communication",
- "HostUse": "Default",
- "Purpose": "Storage",
- "NewIPPool": {
- "Name": "string",
- "Description": "string",
- "IPVersion": "IPv4",
- "BaseIP": "10.128.0.0",
- "Netmask": "/8",
- "DefaultRoute": "10.128.0.1",
- "Sources": [
- {
- "Base": "10.128.0.2",
- "Count": 1
}
], - "DNS": [
- "8.8.8.8"
], - "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080",
- "NoProxy": "localhost,15.10.0.10,test.com",
- "NTP": [
- "15.0.0.11"
]
}, - "VLAN": 0,
- "VNI": 0
}
{- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394",
- "Name": "My Object Name",
- "Created": "2019-06-27T22:59:01.661Z",
- "Modified": "2020-02-27T18:28:02.863Z",
- "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1",
- "Description": "Private network for intra-cluster communication",
- "HostUse": "Default",
- "Purpose": "Storage",
- "IPPoolID": "string",
- "VLAN": 0,
- "VNI": 0
}
Returns a single network with matching ID
networkId required | string ID of network to return |
{- "Images": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "Category": "Linux",
- "Flavor": "ubuntu",
- "Version": "18.04",
- "Description": "ubuntu OS also including Docker runtime"
}
], - "Locations": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "Country": "USA",
- "Region": "Central",
- "DataCenter": "FTC1"
}
], - "Networks": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "Name": "Private",
- "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1",
- "Description": "Private network for intra-cluster communication",
- "HostUse": "Default",
- "Purpose": "Storage",
- "IPPoolID": "string",
- "VLAN": 200,
- "VNI": 15006
}
], - "MachineSizes": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "Name": "HPE-Large",
- "Details": {
- "Collection": "Collection1",
- "Banner1": "Banner1 value",
- "Banner2": "Banner2 value",
- "Bullets": [
- "string"
], - "InfoLink": "string",
- "Tooltip": "string"
}
}
], - "VolumeFlavors": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "Name": "HighPerfFlash",
- "Details": {
- "Collection": "Collection1",
- "Banner1": "Banner1 value",
- "Banner2": "Banner2 value",
- "Bullets": [
- "string"
], - "InfoLink": "string",
- "Tooltip": "string"
}
}
], - "Volumes": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "Name": "MyVolume",
- "Description": "string",
- "FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51",
- "Capacity": 0,
- "Shareable": true,
- "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1",
- "DiscoveryIP": "string",
- "TargetIQN": "string",
- "State": "new",
- "Status": "ok"
}
], - "MachineInventory": [
- {
- "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1",
- "SizeID": "d7550e28-89e0-4d0b-aa49-7bb3dbddae19",
- "Number": 0
}
], - "StorageInventory": [
- {
- "FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51",
- "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1",
- "Capacity": 0
}
], - "SSHKeys": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "Name": "ExampleKey",
- "Key": "'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCxv1C5uOeG9BBjfQbum9GupGthTFcifS4FNYxZ2ZakN9UcpD05L2lKp4OI6mfCfciOhJ9SHduZWJFM0pYfC99hIsPAHhEwWOjh3/rHKxB/U4RYN4VFWM+ShDv92+k0Hse73HhuiHKVtmRj/fltAeCFm/mPlL+McMYFhFYMIK8b/spKpXxdEBCSowHPGIn3yi0ivPWhC4wcIa9jDIela/a0t/oDnYTeIp2WMLDbpZyQsGHmKopAAvb+83JhwytQMVTI/g5pMerbqPyxKtWaWDVDtpQ7O8G877T5U3kkl4jLLOJywxrvLrfHh1UNdNvPmvRFd+ct9Q5ugj5CIMJHqWTj Joe@Laptop.local'\n"
}
]
}
Operations related to retrieving information about resource usage within the project.
+{- "Images": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "Category": "Linux",
- "Flavor": "ubuntu",
- "Version": "18.04",
- "Description": "ubuntu OS also including Docker runtime"
}
], - "Locations": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "Country": "USA",
- "Region": "Central",
- "DataCenter": "FTC1",
- "PrivateNetworkVIDSupport": true,
- "PrivateNetworkVNISupport": true
}
], - "Networks": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "Name": "Private",
- "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1",
- "Description": "Private network for intra-cluster communication",
- "HostUse": "Default",
- "Purpose": "Storage",
- "IPPoolID": "string",
- "VLAN": 200,
- "VNI": 15006
}
], - "MachineSizes": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "Name": "HPE-Large",
- "Details": {
- "Collection": "Collection1",
- "Banner1": "Banner1 value",
- "Banner2": "Banner2 value",
- "Bullets": [
- "string"
], - "InfoLink": "string",
- "Tooltip": "string"
}
}
], - "VolumeFlavors": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "Name": "HighPerfFlash",
- "Details": {
- "Collection": "Collection1",
- "Banner1": "Banner1 value",
- "Banner2": "Banner2 value",
- "Bullets": [
- "string"
], - "InfoLink": "string",
- "Tooltip": "string"
}
}
], - "Volumes": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "Name": "MyVolume",
- "Description": "string",
- "FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51",
- "Capacity": 0,
- "Shareable": true,
- "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1",
- "DiscoveryIP": "string",
- "TargetIQN": "string",
- "State": "new",
- "Status": "ok"
}
], - "MachineInventory": [
- {
- "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1",
- "SizeID": "d7550e28-89e0-4d0b-aa49-7bb3dbddae19",
- "Number": 0
}
], - "StorageInventory": [
- {
- "FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51",
- "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1",
- "Capacity": 0
}
], - "SSHKeys": [
- {
- "ID": "3892eb50-4697-4c72-aadc-32b766bce3c0",
- "Name": "ExampleKey",
- "Key": "'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCxv1C5uOeG9BBjfQbum9GupGthTFcifS4FNYxZ2ZakN9UcpD05L2lKp4OI6mfCfciOhJ9SHduZWJFM0pYfC99hIsPAHhEwWOjh3/rHKxB/U4RYN4VFWM+ShDv92+k0Hse73HhuiHKVtmRj/fltAeCFm/mPlL+McMYFhFYMIK8b/spKpXxdEBCSowHPGIn3yi0ivPWhC4wcIa9jDIela/a0t/oDnYTeIp2WMLDbpZyQsGHmKopAAvb+83JhwytQMVTI/g5pMerbqPyxKtWaWDVDtpQ7O8G877T5U3kkl4jLLOJywxrvLrfHh1UNdNvPmvRFd+ct9Q5ugj5CIMJHqWTj Joe@Laptop.local'\n"
}
]
}
Creates and returns a usage report based on the parameters passed in the request body
start required | string Start of the billing period |
end | string End of the billing period, default to now if omitted @@ -2805,7 +2807,7 @@Option 2: Getting the token directly from UIResponse samples
Content type application/json { Response samples
Content type application/json { |