Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions docs/DatastoreIPSearchQuery.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**addressfamily** | **str** | | [optional]
**allocationuuid** | **str** | a unique identifier for this ip address allocation, can be used to distinguish between ip address allocation over time. | [optional]
**ipaddress** | **str** | the address (ipv4 or ipv6) of this ip | [optional]
**machineid** | **str** | the machine an ip address is associated to | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/DatastoreNetworkSearchQuery.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**addressfamily** | **str** | | [optional]
**destinationprefixes** | **list[str]** | | [optional]
**id** | **str** | | [optional]
**labels** | **dict(str, str)** | | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/V1IPAllocateRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**addressfamily** | **str** | the addressfamily to allocate a ip address from the given network, defaults to IPv4 |
**description** | **str** | a description for this entity | [optional]
**machineid** | **str** | the machine id this ip should be associated with | [optional]
**name** | **str** | a readable name for this entity | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/V1IPFindRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**addressfamily** | **str** | | [optional]
**allocationuuid** | **str** | a unique identifier for this ip address allocation, can be used to distinguish between ip address allocation over time. | [optional]
**ipaddress** | **str** | the address (ipv4 or ipv6) of this ip | [optional]
**machineid** | **str** | the machine an ip address is associated to | [optional]
Expand Down
3 changes: 3 additions & 0 deletions docs/V1NetworkAllocateRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**addressfamily** | **str** | the addressfamily to allocate a child network defaults. If not specified, the child network inherits the addressfamilies from the parent. |
**description** | **str** | a description for this entity | [optional]
**destinationprefixes** | **list[str]** | the destination prefixes of this network | [optional]
**labels** | **dict(str, str)** | free labels that you associate with this network. | [optional]
**length** | **dict(str, int)** | the bitlen of the prefix to allocate, defaults to defaultchildprefixlength of super prefix |
**name** | **str** | a readable name for this entity | [optional]
**nat** | **bool** | if set to true, packets leaving this network get masqueraded behind interface ip | [optional]
**parentnetworkid** | **str** | the parent network from which this network should be allocated |
**partitionid** | **str** | the partition this network belongs to | [optional]
**projectid** | **str** | the project id this network belongs to, can be empty if globally available | [optional]
**shared** | **bool** | marks a network as shareable. | [optional]
Expand Down
11 changes: 11 additions & 0 deletions docs/V1NetworkConsumption.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# V1NetworkConsumption

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ipv4** | [**V1NetworkUsage**](V1NetworkUsage.md) | ip and prefix consumption in the ipv4 addressfamily | [optional]
**ipv6** | [**V1NetworkUsage**](V1NetworkUsage.md) | ip and prefix consumption in the ipv6 addressfamily | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


3 changes: 2 additions & 1 deletion docs/V1NetworkCreateRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**additional_announcable_cid_rs** | **list[str]** | list of cidrs which are added to the route maps per tenant private network, these are typically pod- and service cidrs, can only be set for private super networks | [optional]
**defaultchildprefixlength** | **dict(str, int)** | if privatesuper, this defines the bitlen of child prefixes per addressfamily if not nil | [optional]
**description** | **str** | a description for this entity | [optional]
**destinationprefixes** | **list[str]** | the destination prefixes of this network |
**id** | **str** | the unique ID of this entity, auto-generated if left empty |
**labels** | **dict(str, str)** | free labels that you associate with this network. | [optional]
**name** | **str** | a readable name for this entity | [optional]
**nat** | **bool** | if set to true, packets leaving this network get masqueraded behind interface ip |
**nat** | **bool** | if set to true, packets leaving this ipv4 network get masqueraded behind interface ip |
**parentnetworkid** | **str** | the id of the parent network | [optional]
**partitionid** | **str** | the partition this network belongs to | [optional]
**prefixes** | **list[str]** | the prefixes of this network |
Expand Down
1 change: 1 addition & 0 deletions docs/V1NetworkFindRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**addressfamily** | **str** | | [optional]
**destinationprefixes** | **list[str]** | | [optional]
**id** | **str** | | [optional]
**labels** | **dict(str, str)** | | [optional]
Expand Down
3 changes: 2 additions & 1 deletion docs/V1NetworkImmutable.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**additional_announcable_cid_rs** | **list[str]** | list of cidrs which are added to the route maps per tenant private network, these are typically pod- and service cidrs, can only be set for private super networks | [optional]
**defaultchildprefixlength** | **dict(str, int)** | if privatesuper, this defines the bitlen of child prefixes per addressfamily if not nil | [optional]
**destinationprefixes** | **list[str]** | the destination prefixes of this network |
**nat** | **bool** | if set to true, packets leaving this network get masqueraded behind interface ip |
**nat** | **bool** | if set to true, packets leaving this ipv4 network get masqueraded behind interface ip |
**parentnetworkid** | **str** | the id of the parent network | [optional]
**prefixes** | **list[str]** | the prefixes of this network |
**privatesuper** | **bool** | if set to true, this network will serve as a partition's super network for the internal machine networks,there can only be one privatesuper network per partition |
Expand Down
6 changes: 4 additions & 2 deletions docs/V1NetworkResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,23 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**additional_announcable_cid_rs** | **list[str]** | list of cidrs which are added to the route maps per tenant private network, these are typically pod- and service cidrs, can only be set for private super networks | [optional]
**changed** | **datetime** | the last changed timestamp of this entity | [optional]
**consumption** | [**V1NetworkConsumption**](V1NetworkConsumption.md) | consumption of ips and prefixes in this network |
**created** | **datetime** | the creation time of this entity | [optional]
**defaultchildprefixlength** | **dict(str, int)** | if privatesuper, this defines the bitlen of child prefixes per addressfamily if not nil | [optional]
**description** | **str** | a description for this entity | [optional]
**destinationprefixes** | **list[str]** | the destination prefixes of this network |
**id** | **str** | the unique ID of this entity |
**labels** | **dict(str, str)** | free labels that you associate with this network. | [optional]
**name** | **str** | a readable name for this entity | [optional]
**nat** | **bool** | if set to true, packets leaving this network get masqueraded behind interface ip |
**nat** | **bool** | if set to true, packets leaving this ipv4 network get masqueraded behind interface ip |
**parentnetworkid** | **str** | the id of the parent network | [optional]
**partitionid** | **str** | the partition this network belongs to | [optional]
**prefixes** | **list[str]** | the prefixes of this network |
**privatesuper** | **bool** | if set to true, this network will serve as a partition's super network for the internal machine networks,there can only be one privatesuper network per partition |
**projectid** | **str** | the project id this network belongs to, can be empty if globally available | [optional]
**shared** | **bool** | marks a network as shareable. | [optional]
**underlay** | **bool** | if set to true, this network can be used for underlay communication |
**usage** | [**V1NetworkUsage**](V1NetworkUsage.md) | usage of ips and prefixes in this network |
**usage** | [**V1NetworkUsage**](V1NetworkUsage.md) | usage of IPv4 ips and prefixes in this network |
**vrf** | **int** | the vrf this network is associated with | [optional]
**vrfshared** | **bool** | if set to true, given vrf can be used by multiple networks, which is sometimes useful for network partitioning (default: false) | [optional]

Expand Down
1 change: 1 addition & 0 deletions docs/V1NetworkUpdateRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**additional_announcable_cid_rs** | **list[str]** | list of cidrs which are added to the route maps per tenant private network, these are typically pod- and service cidrs, can only be set for private super networks | [optional]
**defaultchildprefixlength** | **dict(str, int)** | if privatesuper, this defines the bitlen of child prefixes per addressfamily if not nil | [optional]
**description** | **str** | a description for this entity | [optional]
**destinationprefixes** | **list[str]** | the destination prefixes of this network | [optional]
**id** | **str** | the unique ID of this entity |
Expand Down
1 change: 0 additions & 1 deletion docs/V1PartitionBase.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Name | Type | Description | Notes
**labels** | **dict(str, str)** | free labels that you associate with this partition | [optional]
**mgmtserviceaddress** | **str** | the address to the management service of this partition | [optional]
**ntp_servers** | [**list[V1NTPServer]**](V1NTPServer.md) | the ntp servers for this partition | [optional]
**privatenetworkprefixlength** | **int** | the length of private networks for the machine's child networks in this partition, default 22 | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 0 additions & 1 deletion docs/V1PartitionCreateRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Name | Type | Description | Notes
**mgmtserviceaddress** | **str** | the address to the management service of this partition | [optional]
**name** | **str** | a readable name for this entity | [optional]
**ntp_servers** | [**list[V1NTPServer]**](V1NTPServer.md) | the ntp servers for this partition | [optional]
**privatenetworkprefixlength** | **int** | the length of private networks for the machine's child networks in this partition, default 22 | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 0 additions & 1 deletion docs/V1PartitionResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Name | Type | Description | Notes
**mgmtserviceaddress** | **str** | the address to the management service of this partition | [optional]
**name** | **str** | a readable name for this entity | [optional]
**ntp_servers** | [**list[V1NTPServer]**](V1NTPServer.md) | the ntp servers for this partition | [optional]
**privatenetworkprefixlength** | **int** | the length of private networks for the machine's child networks in this partition, default 22 | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
3 changes: 2 additions & 1 deletion metal_python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501

OpenAPI spec version: v0.39.9
OpenAPI spec version: v0.40.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down Expand Up @@ -128,6 +128,7 @@
from metal_python.models.v1_ntp_server import V1NTPServer
from metal_python.models.v1_network_allocate_request import V1NetworkAllocateRequest
from metal_python.models.v1_network_base import V1NetworkBase
from metal_python.models.v1_network_consumption import V1NetworkConsumption
from metal_python.models.v1_network_create_request import V1NetworkCreateRequest
from metal_python.models.v1_network_find_request import V1NetworkFindRequest
from metal_python.models.v1_network_immutable import V1NetworkImmutable
Expand Down
2 changes: 1 addition & 1 deletion metal_python/api/audit_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501

OpenAPI spec version: v0.39.9
OpenAPI spec version: v0.40.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion metal_python/api/filesystemlayout_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501

OpenAPI spec version: v0.39.9
OpenAPI spec version: v0.40.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion metal_python/api/firewall_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501

OpenAPI spec version: v0.39.9
OpenAPI spec version: v0.40.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion metal_python/api/firmware_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501

OpenAPI spec version: v0.39.9
OpenAPI spec version: v0.40.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion metal_python/api/health_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501

OpenAPI spec version: v0.39.9
OpenAPI spec version: v0.40.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion metal_python/api/image_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501

OpenAPI spec version: v0.39.9
OpenAPI spec version: v0.40.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion metal_python/api/ip_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501

OpenAPI spec version: v0.39.9
OpenAPI spec version: v0.40.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion metal_python/api/machine_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501

OpenAPI spec version: v0.39.9
OpenAPI spec version: v0.40.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion metal_python/api/network_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501

OpenAPI spec version: v0.39.9
OpenAPI spec version: v0.40.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion metal_python/api/partition_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501

OpenAPI spec version: v0.39.9
OpenAPI spec version: v0.40.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion metal_python/api/project_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501

OpenAPI spec version: v0.39.9
OpenAPI spec version: v0.40.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion metal_python/api/size_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501

OpenAPI spec version: v0.39.9
OpenAPI spec version: v0.40.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion metal_python/api/sizeimageconstraint_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501

OpenAPI spec version: v0.39.9
OpenAPI spec version: v0.40.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion metal_python/api/switch_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501

OpenAPI spec version: v0.39.9
OpenAPI spec version: v0.40.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion metal_python/api/tenant_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501

OpenAPI spec version: v0.39.9
OpenAPI spec version: v0.40.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion metal_python/api/user_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501

OpenAPI spec version: v0.39.9
OpenAPI spec version: v0.40.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion metal_python/api/version_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501

OpenAPI spec version: v0.39.9
OpenAPI spec version: v0.40.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion metal_python/api/vpn_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501

OpenAPI spec version: v0.39.9
OpenAPI spec version: v0.40.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
4 changes: 2 additions & 2 deletions metal_python/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501

OpenAPI spec version: v0.39.9
OpenAPI spec version: v0.40.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down Expand Up @@ -74,7 +74,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'Swagger-Codegen/v0.39.9/python'
self.user_agent = 'Swagger-Codegen/v0.40.0/python'

def __del__(self):
if self._pool is not None:
Expand Down
6 changes: 3 additions & 3 deletions metal_python/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501

OpenAPI spec version: v0.39.9
OpenAPI spec version: v0.40.0

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down Expand Up @@ -254,6 +254,6 @@ def to_debug_report(self):
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: v0.39.9\n"\
"SDK Package Version: v0.39.9".\
"Version of the API: v0.40.0\n"\
"SDK Package Version: v0.40.0".\
format(env=sys.platform, pyversion=sys.version)
Loading