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
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .github/workflows/auto_generate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: "3.10"
- name: Generate
run: |
if ! which yq; then
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: "3.10"
- name: Test
run: |
pip install .[dev]
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: "3.10"
- name: Test
run: |
pip install .[dev]
Expand Down
16 changes: 16 additions & 0 deletions docs/MetalSwitchBGPPortState.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# MetalSwitchBGPPortState

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**accepted_prefix_counter** | **int** | |
**bgp_state** | **str** | |
**bgp_timer_up_established** | **int** | |
**neighbor** | **str** | |
**peer_group** | **str** | |
**sent_prefix_counter** | **int** | |
**vrf_name** | **str** | |

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


16 changes: 16 additions & 0 deletions docs/V1SwitchBGPPortState.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# V1SwitchBGPPortState

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**accepted_prefix_counter** | **int** | |
**bgp_state** | **str** | |
**bgp_timer_up_established** | **int** | |
**neighbor** | **str** | |
**peer_group** | **str** | |
**sent_prefix_counter** | **int** | |
**vrf_name** | **str** | |

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


1 change: 1 addition & 0 deletions docs/V1SwitchNic.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**actual** | **str** | the current state of the nic |
**bgp_port_state** | [**MetalSwitchBGPPortState**](MetalSwitchBGPPortState.md) | the current bgp port state | [optional]
**filter** | [**V1BGPFilter**](V1BGPFilter.md) | configures the bgp filter applied at the switch port | [optional]
**identifier** | **str** | the identifier of this network interface |
**mac** | **str** | the mac address of this network interface |
Expand Down
1 change: 1 addition & 0 deletions docs/V1SwitchNotifyRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**bgp_port_states** | [**dict(str, V1SwitchBGPPortState)**](V1SwitchBGPPortState.md) | the current bgp port states | [optional]
**error** | **str** | |
**port_states** | **dict(str, str)** | the current switch port states |
**sync_duration** | **int** | the duration of the switch synchronization |
Expand Down
4 changes: 3 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.4
OpenAPI spec version: v0.39.5

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down Expand Up @@ -45,6 +45,7 @@
from metal_python.models.datastore_network_search_query import DatastoreNetworkSearchQuery
from metal_python.models.datastore_switch_search_query import DatastoreSwitchSearchQuery
from metal_python.models.httperrors_http_error_response import HttperrorsHTTPErrorResponse
from metal_python.models.metal_switch_bgp_port_state import MetalSwitchBGPPortState
from metal_python.models.rest_health_response import RestHealthResponse
from metal_python.models.rest_version import RestVersion
from metal_python.models.v1_audit_find_request import V1AuditFindRequest
Expand Down Expand Up @@ -168,6 +169,7 @@
from metal_python.models.v1_size_response import V1SizeResponse
from metal_python.models.v1_size_suggest_request import V1SizeSuggestRequest
from metal_python.models.v1_size_update_request import V1SizeUpdateRequest
from metal_python.models.v1_switch_bgp_port_state import V1SwitchBGPPortState
from metal_python.models.v1_switch_base import V1SwitchBase
from metal_python.models.v1_switch_connection import V1SwitchConnection
from metal_python.models.v1_switch_find_request import V1SwitchFindRequest
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.4
OpenAPI spec version: v0.39.5

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.4
OpenAPI spec version: v0.39.5

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.4
OpenAPI spec version: v0.39.5

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.4
OpenAPI spec version: v0.39.5

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.4
OpenAPI spec version: v0.39.5

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.4
OpenAPI spec version: v0.39.5

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.4
OpenAPI spec version: v0.39.5

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.4
OpenAPI spec version: v0.39.5

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.4
OpenAPI spec version: v0.39.5

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.4
OpenAPI spec version: v0.39.5

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.4
OpenAPI spec version: v0.39.5

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.4
OpenAPI spec version: v0.39.5

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.4
OpenAPI spec version: v0.39.5

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.4
OpenAPI spec version: v0.39.5

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.4
OpenAPI spec version: v0.39.5

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.4
OpenAPI spec version: v0.39.5

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.4
OpenAPI spec version: v0.39.5

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.4
OpenAPI spec version: v0.39.5

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.4
OpenAPI spec version: v0.39.5

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.4/python'
self.user_agent = 'Swagger-Codegen/v0.39.5/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.4
OpenAPI spec version: v0.39.5

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.4\n"\
"SDK Package Version: v0.39.4".\
"Version of the API: v0.39.5\n"\
"SDK Package Version: v0.39.5".\
format(env=sys.platform, pyversion=sys.version)
4 changes: 3 additions & 1 deletion metal_python/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,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.4
OpenAPI spec version: v0.39.5

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand All @@ -21,6 +21,7 @@
from metal_python.models.datastore_network_search_query import DatastoreNetworkSearchQuery
from metal_python.models.datastore_switch_search_query import DatastoreSwitchSearchQuery
from metal_python.models.httperrors_http_error_response import HttperrorsHTTPErrorResponse
from metal_python.models.metal_switch_bgp_port_state import MetalSwitchBGPPortState
from metal_python.models.rest_health_response import RestHealthResponse
from metal_python.models.rest_version import RestVersion
from metal_python.models.v1_audit_find_request import V1AuditFindRequest
Expand Down Expand Up @@ -144,6 +145,7 @@
from metal_python.models.v1_size_response import V1SizeResponse
from metal_python.models.v1_size_suggest_request import V1SizeSuggestRequest
from metal_python.models.v1_size_update_request import V1SizeUpdateRequest
from metal_python.models.v1_switch_bgp_port_state import V1SwitchBGPPortState
from metal_python.models.v1_switch_base import V1SwitchBase
from metal_python.models.v1_switch_connection import V1SwitchConnection
from metal_python.models.v1_switch_find_request import V1SwitchFindRequest
Expand Down
2 changes: 1 addition & 1 deletion metal_python/models/datastore_image_search_query.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.4
OpenAPI spec version: v0.39.5

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion metal_python/models/datastore_ip_search_query.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.4
OpenAPI spec version: v0.39.5

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion metal_python/models/datastore_machine_search_query.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.4
OpenAPI spec version: v0.39.5

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion metal_python/models/datastore_network_search_query.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.4
OpenAPI spec version: v0.39.5

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion metal_python/models/datastore_switch_search_query.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.4
OpenAPI spec version: v0.39.5

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion metal_python/models/httperrors_http_error_response.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.4
OpenAPI spec version: v0.39.5

Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
Loading