Skip to content

Commit

Permalink
feat: Fabric 4.18 spec update (#39)
Browse files Browse the repository at this point in the history
* Manual Commit to upgrade to Fabric 4.18 API Spec
* Commit for Auto Generation of Fabric 4.18 Service


## Changes in SDK

### Enhancements

**Additional methods->**
- Methods added for Route Aggregation 

- Methods added for Route Aggregation Rules

**Additional models ->**
- Models added for Route Aggregation:
        - Connection Route Aggregation Data

        - Connection Route Aggregation Data Attachment Status

        - Connection Route Aggregation Data Type

        - Get All Connection Route Aggregations Response

        - Get Route Aggregation Get Connections Response

        - Route Aggregation Change Data

        - Route Aggregation Change Data Response

        - Route Aggregation Connections Data

        - Route Aggregation Sort Item

        - Route Aggregation Sort Item Property

        - Route Aggregation State

        - Route Aggregations Base

        - Route Aggregations Base Type

        - Route Aggregations Change

        - Route Aggregations Change Operation

        - Route Aggregations Change Type

        - Route Aggregations Data

        - Route Aggregations Data Project

        - Route Aggregations Patch Request Item

        - Route Aggregations Search Base

        - Route Aggregations Search Base Filter

        - Route Aggregations Search Filter Item

        - Route Aggregations Search Response 


- Models added for Route Aggregation Rules:
        - Get Route Aggregation Rules Response

        - Route Aggregation Rule State

        - Route Aggregation Rules Base

        - Route Aggregation Rules Change

        - Route Aggregation Rules Change Data

        - Route Aggregation Rules Change Data Response

        - Route Aggregation Rules Change Operation

        - Route Aggregation Rules Change Type

        - Route Aggregation Rules Data

        - Route Aggregation Rules Data Type

        - Route Aggregation Rules Patch Request Item

        - Route Aggregation Rules Post Request Item

- Model added for End Customer

- Model added for Precision Time Price

- Model added for Router Filter Base Type

- Model added for Stream Asset Type

- Model added for Stream Subscription Selector

- Models added for Time Service Price



**Method extended->**
- Cloud Routers added DryRun query parameter

- Connections added DryRun query parameter

- Networks added DryRun query parameter

- Service Tokens added DryRun query parameter

**Models extended->**
- Asset added organizations and projects as Asset Values(Enum)
- Connection Post Request added EndCustomer attribute

- Port and Port Request added End Customer attribute

- Precision Time added Pricing attribute

- Price added TimeService attribute

- Price Location added IBX attribute

- Service Token added deprecated attributes Expiry and Issuerside

- Stream Asset added Type attribute

- Stream Subscription, Stream Subscription Post Request and Stream
Subscription Put Request added MetricSelector, EventSelector attributes

- Subscription Response added  MetrocCodes attribute



**Constants added->**
- Asset added ASSET_ORGANIZATIONS and ASSET_PROJECTS

- Geo Scope Type added GEOSCOPETYPE_JAPAN

- Marketplace Subscription added
MARKETPLACESUBSCRIPTIONTYPE_GCP_MARKETPLACE_SUBSCRIPTION and
MARKETPLACESUBSCRIPTIONTYPE_AZURE_MARKETPLACE_SUBSCRIPTION

- Precision Time Service Response added
PRECISIONTIMESERVICERESPONSESTATE_CANCELLING

- Product Type added PRODUCTTYPE_PRECISION_TIME_PRODUCT

- Service Token Connection added SERVICETOKENCONNECTIONTYPE_EPL_VC

### Breaking Changes
 
**Models changed->**

- Conenction Route Filter Data :
ConnectionRouteFilterDataAttachmentStatus changed to
ConnectionRouteAggregationDataAttachmentStatus

- Route Filters Base: ConnectionRouteFilterDataType changed to
RouteFiltersBaseType

- Route Filters Data: ConnectionRouteFilterDataType changed to
RouteFiltersBaseType

- Simplified Location Without IBX: Href renamed to MetroHref
Stream:
Changelog renamed to ChangeLog





**Models Deleted->**
- Cloud Router Package removed StaticIPv4RoutesMax, StaticIPv6RoutesMax,
NaclsMax, NaclRulesMax, HaSupported, NatType attributes

- Cloud Router Package removed Nat Type

- CloudRouter removed BgpIpv4RoutesCount and BgpIpv6RoutesCount 

- Connection Route Filter Data Attachment removed

- Service Token Issuer Side removed

- Subscription Response removed Subscription Key


  • Loading branch information
thogarty authored Dec 18, 2024
2 parents 7e6877f + f9d2edb commit e30ee9b
Show file tree
Hide file tree
Showing 1,237 changed files with 33,640 additions and 10,978 deletions.
2 changes: 1 addition & 1 deletion Makefile.fabricv4
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
include Makefile

PACKAGE_NAME=fabricv4
SPEC_BASE_URL:=https://api.swaggerhub.com/apis/equinix-api/fabric/4.17
SPEC_BASE_URL:=https://api.swaggerhub.com/apis/equinix-api/fabric/4.18
SPEC_ROOT_FILE:=swagger.yaml

QUALIFIED_PACKAGE_NAME=equinix.services.${PACKAGE_NAME}
Expand Down
51 changes: 47 additions & 4 deletions equinix/services/fabricv4/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Equinix Fabric is an advanced software-defined interconnection solution that enables you to directly, securely and dynamically connect to distributed infrastructure and digital ecosystems on platform Equinix via a single port, Customers can use Fabric to connect to: </br> 1. Cloud Service Providers - Clouds, network and other service providers. </br> 2. Enterprises - Other Equinix customers, vendors and partners. </br> 3. Myself - Another customer instance deployed at Equinix. </br> </br> <b>Integrations (SDKs, Tools) links:</b> </br> <a href=\"https://deploy.equinix.com/labs/fabric-java\\\">Fabric Java SDK</a> </br> <a href=\"https://deploy.equinix.com/labs/equinix-sdk-go\\\">Fabric Go SDK</a> </br> <a href=\"https://deploy.equinix.com/labs/equinix-sdk-python\\\">Fabric Python SDK</a> </br> <a href=\"https://deploy.equinix.com/labs/terraform-provider-equinix\\\">Equinix Terraform Provider</a> </br> <a href=\"https://deploy.equinix.com/labs/terraform-equinix-fabric\\\">Fabric Terraform Modules</a> </br> <a href=\"https://deploy.equinix.com/labs/pulumi-provider-equinix/\">Equinix Pulumi Provider</a> </br>
The version of the OpenAPI document: 4.17
The version of the OpenAPI document: 4.18
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
Expand All @@ -26,6 +26,8 @@
from equinix.services.fabricv4.api.ports_api import PortsApi
from equinix.services.fabricv4.api.precision_time_api import PrecisionTimeApi
from equinix.services.fabricv4.api.prices_api import PricesApi
from equinix.services.fabricv4.api.route_aggregation_rules_api import RouteAggregationRulesApi
from equinix.services.fabricv4.api.route_aggregations_api import RouteAggregationsApi
from equinix.services.fabricv4.api.route_filter_rules_api import RouteFilterRulesApi
from equinix.services.fabricv4.api.route_filters_api import RouteFiltersApi
from equinix.services.fabricv4.api.routing_protocols_api import RoutingProtocolsApi
Expand Down Expand Up @@ -100,7 +102,6 @@
from equinix.services.fabricv4.models.cloud_router_filters import CloudRouterFilters
from equinix.services.fabricv4.models.cloud_router_or_filter import CloudRouterOrFilter
from equinix.services.fabricv4.models.cloud_router_package import CloudRouterPackage
from equinix.services.fabricv4.models.cloud_router_package_nat_type import CloudRouterPackageNatType
from equinix.services.fabricv4.models.cloud_router_package_type import CloudRouterPackageType
from equinix.services.fabricv4.models.cloud_router_post_request import CloudRouterPostRequest
from equinix.services.fabricv4.models.cloud_router_post_request_package import CloudRouterPostRequestPackage
Expand Down Expand Up @@ -130,14 +131,16 @@
from equinix.services.fabricv4.models.connection_priority import ConnectionPriority
from equinix.services.fabricv4.models.connection_redundancy import ConnectionRedundancy
from equinix.services.fabricv4.models.connection_response import ConnectionResponse
from equinix.services.fabricv4.models.connection_route_aggregation_data import ConnectionRouteAggregationData
from equinix.services.fabricv4.models.connection_route_aggregation_data_attachment_status import ConnectionRouteAggregationDataAttachmentStatus
from equinix.services.fabricv4.models.connection_route_aggregation_data_type import ConnectionRouteAggregationDataType
from equinix.services.fabricv4.models.connection_route_entry_filter import ConnectionRouteEntryFilter
from equinix.services.fabricv4.models.connection_route_entry_filters import ConnectionRouteEntryFilters
from equinix.services.fabricv4.models.connection_route_entry_or_filter import ConnectionRouteEntryOrFilter
from equinix.services.fabricv4.models.connection_route_entry_simple_expression import ConnectionRouteEntrySimpleExpression
from equinix.services.fabricv4.models.connection_route_entry_sort_by import ConnectionRouteEntrySortBy
from equinix.services.fabricv4.models.connection_route_entry_sort_direction import ConnectionRouteEntrySortDirection
from equinix.services.fabricv4.models.connection_route_filter_data import ConnectionRouteFilterData
from equinix.services.fabricv4.models.connection_route_filter_data_attachment_status import ConnectionRouteFilterDataAttachmentStatus
from equinix.services.fabricv4.models.connection_route_filter_data_direction import ConnectionRouteFilterDataDirection
from equinix.services.fabricv4.models.connection_route_filter_data_type import ConnectionRouteFilterDataType
from equinix.services.fabricv4.models.connection_route_filters_base import ConnectionRouteFiltersBase
Expand All @@ -162,6 +165,7 @@
from equinix.services.fabricv4.models.direct_connection_ipv6 import DirectConnectionIpv6
from equinix.services.fabricv4.models.direction import Direction
from equinix.services.fabricv4.models.duration import Duration
from equinix.services.fabricv4.models.end_customer import EndCustomer
from equinix.services.fabricv4.models.equinix_status import EquinixStatus
from equinix.services.fabricv4.models.error import Error
from equinix.services.fabricv4.models.expression import Expression
Expand All @@ -172,11 +176,14 @@
from equinix.services.fabricv4.models.filter_body import FilterBody
from equinix.services.fabricv4.models.geo_coordinates import GeoCoordinates
from equinix.services.fabricv4.models.geo_scope_type import GeoScopeType
from equinix.services.fabricv4.models.get_all_connection_route_aggregations_response import GetAllConnectionRouteAggregationsResponse
from equinix.services.fabricv4.models.get_all_connection_route_filters_response import GetAllConnectionRouteFiltersResponse
from equinix.services.fabricv4.models.get_all_stream_asset_response import GetAllStreamAssetResponse
from equinix.services.fabricv4.models.get_all_stream_response import GetAllStreamResponse
from equinix.services.fabricv4.models.get_all_stream_subscription_response import GetAllStreamSubscriptionResponse
from equinix.services.fabricv4.models.get_response import GetResponse
from equinix.services.fabricv4.models.get_route_aggregation_get_connections_response import GetRouteAggregationGetConnectionsResponse
from equinix.services.fabricv4.models.get_route_aggregation_rules_response import GetRouteAggregationRulesResponse
from equinix.services.fabricv4.models.get_route_filter_get_connections_response import GetRouteFilterGetConnectionsResponse
from equinix.services.fabricv4.models.get_route_filter_rules_response import GetRouteFilterRulesResponse
from equinix.services.fabricv4.models.get_service_profiles_view_point_parameter import GetServiceProfilesViewPointParameter
Expand Down Expand Up @@ -300,6 +307,7 @@
from equinix.services.fabricv4.models.precision_time_package_request_code import PrecisionTimePackageRequestCode
from equinix.services.fabricv4.models.precision_time_package_response import PrecisionTimePackageResponse
from equinix.services.fabricv4.models.precision_time_package_response_type import PrecisionTimePackageResponseType
from equinix.services.fabricv4.models.precision_time_price import PrecisionTimePrice
from equinix.services.fabricv4.models.precision_time_service_connections_response import PrecisionTimeServiceConnectionsResponse
from equinix.services.fabricv4.models.precision_time_service_packages_response import PrecisionTimeServicePackagesResponse
from equinix.services.fabricv4.models.precision_time_service_request import PrecisionTimeServiceRequest
Expand Down Expand Up @@ -332,6 +340,35 @@
from equinix.services.fabricv4.models.query_direction import QueryDirection
from equinix.services.fabricv4.models.remove_operation import RemoveOperation
from equinix.services.fabricv4.models.replace_operation import ReplaceOperation
from equinix.services.fabricv4.models.route_aggregation_change_data import RouteAggregationChangeData
from equinix.services.fabricv4.models.route_aggregation_change_data_response import RouteAggregationChangeDataResponse
from equinix.services.fabricv4.models.route_aggregation_connections_data import RouteAggregationConnectionsData
from equinix.services.fabricv4.models.route_aggregation_rule_state import RouteAggregationRuleState
from equinix.services.fabricv4.models.route_aggregation_rules_base import RouteAggregationRulesBase
from equinix.services.fabricv4.models.route_aggregation_rules_change import RouteAggregationRulesChange
from equinix.services.fabricv4.models.route_aggregation_rules_change_data import RouteAggregationRulesChangeData
from equinix.services.fabricv4.models.route_aggregation_rules_change_data_response import RouteAggregationRulesChangeDataResponse
from equinix.services.fabricv4.models.route_aggregation_rules_change_operation import RouteAggregationRulesChangeOperation
from equinix.services.fabricv4.models.route_aggregation_rules_change_type import RouteAggregationRulesChangeType
from equinix.services.fabricv4.models.route_aggregation_rules_data import RouteAggregationRulesData
from equinix.services.fabricv4.models.route_aggregation_rules_data_type import RouteAggregationRulesDataType
from equinix.services.fabricv4.models.route_aggregation_rules_patch_request_item import RouteAggregationRulesPatchRequestItem
from equinix.services.fabricv4.models.route_aggregation_rules_post_request import RouteAggregationRulesPostRequest
from equinix.services.fabricv4.models.route_aggregation_sort_item import RouteAggregationSortItem
from equinix.services.fabricv4.models.route_aggregation_sort_item_property import RouteAggregationSortItemProperty
from equinix.services.fabricv4.models.route_aggregation_state import RouteAggregationState
from equinix.services.fabricv4.models.route_aggregations_base import RouteAggregationsBase
from equinix.services.fabricv4.models.route_aggregations_base_type import RouteAggregationsBaseType
from equinix.services.fabricv4.models.route_aggregations_change import RouteAggregationsChange
from equinix.services.fabricv4.models.route_aggregations_change_operation import RouteAggregationsChangeOperation
from equinix.services.fabricv4.models.route_aggregations_change_type import RouteAggregationsChangeType
from equinix.services.fabricv4.models.route_aggregations_data import RouteAggregationsData
from equinix.services.fabricv4.models.route_aggregations_data_project import RouteAggregationsDataProject
from equinix.services.fabricv4.models.route_aggregations_patch_request_item import RouteAggregationsPatchRequestItem
from equinix.services.fabricv4.models.route_aggregations_search_base import RouteAggregationsSearchBase
from equinix.services.fabricv4.models.route_aggregations_search_base_filter import RouteAggregationsSearchBaseFilter
from equinix.services.fabricv4.models.route_aggregations_search_filter_item import RouteAggregationsSearchFilterItem
from equinix.services.fabricv4.models.route_aggregations_search_response import RouteAggregationsSearchResponse
from equinix.services.fabricv4.models.route_filter_change_data import RouteFilterChangeData
from equinix.services.fabricv4.models.route_filter_change_data_response import RouteFilterChangeDataResponse
from equinix.services.fabricv4.models.route_filter_connections_data import RouteFilterConnectionsData
Expand All @@ -349,6 +386,7 @@
from equinix.services.fabricv4.models.route_filter_rules_post_request import RouteFilterRulesPostRequest
from equinix.services.fabricv4.models.route_filter_state import RouteFilterState
from equinix.services.fabricv4.models.route_filters_base import RouteFiltersBase
from equinix.services.fabricv4.models.route_filters_base_type import RouteFiltersBaseType
from equinix.services.fabricv4.models.route_filters_change import RouteFiltersChange
from equinix.services.fabricv4.models.route_filters_change_operation import RouteFiltersChangeOperation
from equinix.services.fabricv4.models.route_filters_change_type import RouteFiltersChangeType
Expand Down Expand Up @@ -431,7 +469,6 @@
from equinix.services.fabricv4.models.service_token_change_operation import ServiceTokenChangeOperation
from equinix.services.fabricv4.models.service_token_connection import ServiceTokenConnection
from equinix.services.fabricv4.models.service_token_connection_type import ServiceTokenConnectionType
from equinix.services.fabricv4.models.service_token_issuer_side import ServiceTokenIssuerSide
from equinix.services.fabricv4.models.service_token_search_expression import ServiceTokenSearchExpression
from equinix.services.fabricv4.models.service_token_search_expression_operator import ServiceTokenSearchExpressionOperator
from equinix.services.fabricv4.models.service_token_search_field_name import ServiceTokenSearchFieldName
Expand Down Expand Up @@ -478,6 +515,7 @@
from equinix.services.fabricv4.models.stream_asset_sort_by import StreamAssetSortBy
from equinix.services.fabricv4.models.stream_asset_sort_criteria import StreamAssetSortCriteria
from equinix.services.fabricv4.models.stream_asset_sort_direction import StreamAssetSortDirection
from equinix.services.fabricv4.models.stream_asset_type import StreamAssetType
from equinix.services.fabricv4.models.stream_filter import StreamFilter
from equinix.services.fabricv4.models.stream_filter_or_filter import StreamFilterOrFilter
from equinix.services.fabricv4.models.stream_filter_simple_expression import StreamFilterSimpleExpression
Expand All @@ -491,6 +529,7 @@
from equinix.services.fabricv4.models.stream_subscription_post_request import StreamSubscriptionPostRequest
from equinix.services.fabricv4.models.stream_subscription_post_request_type import StreamSubscriptionPostRequestType
from equinix.services.fabricv4.models.stream_subscription_put_request import StreamSubscriptionPutRequest
from equinix.services.fabricv4.models.stream_subscription_selector import StreamSubscriptionSelector
from equinix.services.fabricv4.models.stream_subscription_sink import StreamSubscriptionSink
from equinix.services.fabricv4.models.stream_subscription_sink_credential import StreamSubscriptionSinkCredential
from equinix.services.fabricv4.models.stream_subscription_sink_credential_type import StreamSubscriptionSinkCredentialType
Expand All @@ -512,6 +551,10 @@
from equinix.services.fabricv4.models.time_service_filter import TimeServiceFilter
from equinix.services.fabricv4.models.time_service_filters import TimeServiceFilters
from equinix.services.fabricv4.models.time_service_or_filter import TimeServiceOrFilter
from equinix.services.fabricv4.models.time_service_price import TimeServicePrice
from equinix.services.fabricv4.models.time_service_price_connection import TimeServicePriceConnection
from equinix.services.fabricv4.models.time_service_price_connection_a_side import TimeServicePriceConnectionASide
from equinix.services.fabricv4.models.time_service_price_connection_access_point import TimeServicePriceConnectionAccessPoint
from equinix.services.fabricv4.models.time_service_simple_expression import TimeServiceSimpleExpression
from equinix.services.fabricv4.models.time_service_sort_by import TimeServiceSortBy
from equinix.services.fabricv4.models.time_service_sort_criteria import TimeServiceSortCriteria
Expand Down
2 changes: 2 additions & 0 deletions equinix/services/fabricv4/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
from equinix.services.fabricv4.api.ports_api import PortsApi
from equinix.services.fabricv4.api.precision_time_api import PrecisionTimeApi
from equinix.services.fabricv4.api.prices_api import PricesApi
from equinix.services.fabricv4.api.route_aggregation_rules_api import RouteAggregationRulesApi
from equinix.services.fabricv4.api.route_aggregations_api import RouteAggregationsApi
from equinix.services.fabricv4.api.route_filter_rules_api import RouteFilterRulesApi
from equinix.services.fabricv4.api.route_filters_api import RouteFiltersApi
from equinix.services.fabricv4.api.routing_protocols_api import RoutingProtocolsApi
Expand Down
Loading

0 comments on commit e30ee9b

Please sign in to comment.