graphiant-sdk 25.9.1__py3-none-any.whl → 25.10.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- graphiant_sdk/__init__.py +271 -76
- graphiant_sdk/api/default_api.py +25113 -10436
- graphiant_sdk/api_client.py +1 -1
- graphiant_sdk/configuration.py +1 -1
- graphiant_sdk/models/__init__.py +180 -50
- graphiant_sdk/models/v1_auth_login_temp_post200_response.py +91 -0
- graphiant_sdk/models/v1_auth_login_temp_post_request.py +89 -0
- graphiant_sdk/models/v1_b2b_extranet_monitoring_filter_post200_response.py +91 -0
- graphiant_sdk/models/v1_b2b_extranet_monitoring_filter_post200_response_filters.py +104 -0
- graphiant_sdk/models/{v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary_running_version.py → v1_b2b_extranet_monitoring_filter_post200_response_filters_customers_inner.py} +12 -10
- graphiant_sdk/models/v1_b2b_extranet_monitoring_filter_post_request.py +91 -0
- graphiant_sdk/models/v1_backbone_health_device_device_id_post200_response.py +3 -3
- graphiant_sdk/models/v1_bwtracker_enterprise_details_post200_response_bwusage_details.py +11 -2
- graphiant_sdk/models/v1_devices_device_id_config_put_request_core_core_vrf_bgp_neighbors_value_neighbor.py +6 -6
- graphiant_sdk/models/v1_devices_device_id_config_put_request_edge_interfaces_value_interface.py +6 -2
- graphiant_sdk/models/v1_devices_device_id_config_put_request_edge_site_to_site_vpn_value_site_to_site_vpn.py +3 -3
- graphiant_sdk/models/v1_devices_running_version_post200_response_versions_inner.py +3 -3
- graphiant_sdk/models/v1_devices_upgrade_schedule_put_request.py +14 -4
- graphiant_sdk/models/{v1_devices_device_id_staged_config_compare_get200_response.py → v1_diagnostic_reboot_device_id_put_request.py} +8 -8
- graphiant_sdk/models/v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary.py +17 -5
- graphiant_sdk/models/v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary_schedule.py +3 -3
- graphiant_sdk/models/v1_enterprise_allocation_get200_response_consumption_summary_global_summary.py +5 -1
- graphiant_sdk/models/v1_enterprises_get200_response_enterprises_inner.py +3 -1
- graphiant_sdk/models/v1_enterprises_patch_request.py +3 -1
- graphiant_sdk/models/{v1_extranet_sites_usage_post200_response.py → v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post200_response.py} +9 -9
- graphiant_sdk/models/{v2_extranet_service_overtime_consumption_post200_response_dl_agg_stats_inner.py → v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post200_response_dl_stats_inner.py} +4 -4
- graphiant_sdk/models/{v1_extranet_sites_usage_post_request.py → v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request.py} +4 -4
- graphiant_sdk/models/{v1_bwtracker_region_site_summary_post200_response_bwusage_summary.py → v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post200_response.py} +18 -21
- graphiant_sdk/models/{v2_extranet_consumers_usage_top_post200_response_top_consumers_inner.py → v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post200_response_top_consumers_inner.py} +4 -4
- graphiant_sdk/models/{v2_extranet_lan_segments_usage_top_post_request.py → v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request.py} +4 -4
- graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_consumption_overview_post200_response.py +115 -0
- graphiant_sdk/models/{v2_extranet_sites_consumption_overview_post200_response_lan_segments_inner.py → v1_extranet_b2b_monitoring_peering_service_consumption_overview_post200_response_first_level_inner.py} +4 -4
- graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request.py +105 -0
- graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_service_customer_list_post200_response.py +87 -0
- graphiant_sdk/models/{v2_extranet_consumers_usage_top_post_request.py → v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request.py} +7 -7
- graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_service_health_post200_response.py +95 -0
- graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_service_health_post200_response_service_health_inner.py +100 -0
- graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_service_health_post200_response_service_health_inner_customer_prefix_health.py +89 -0
- graphiant_sdk/models/{v2_extranet_service_overtime_consumption_post200_response.py → v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post200_response.py} +9 -9
- graphiant_sdk/models/{v2_extranet_sites_consumption_overview_post_request.py → v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request.py} +4 -4
- graphiant_sdk/models/v1_extranets_b2b_general_customers_summary_get200_response.py +95 -0
- graphiant_sdk/models/v1_extranets_b2b_general_customers_summary_get200_response_customers_inner.py +104 -0
- graphiant_sdk/models/{v1_healthcheck_devices_get200_response.py → v1_extranets_b2b_peering_consumer_customer_id_match_details_get200_response.py} +8 -8
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_customer_id_match_details_get200_response_details_inner.py +109 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_customer_id_match_details_get200_response_details_inner_customer.py +94 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_customer_id_match_details_get200_response_details_inner_service.py +93 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_post200_response.py +109 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_post_request.py +123 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_post_request_policy_inner.py +89 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn.py +95 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details.py +117 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing.py +97 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp.py +115 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value.py +91 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value_family.py +98 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_md5_password.py +87 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_static.py +87 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_tunnel1.py +93 -0
- graphiant_sdk/models/{v1_healthcheck_devices_get200_response_details_inner_onboarding_status.py → v1_extranets_b2b_peering_customer_id_get200_response.py} +17 -10
- graphiant_sdk/models/v1_extranets_b2b_peering_customer_id_put_request.py +87 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_customer_post200_response.py +93 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_customer_post_request.py +95 -0
- graphiant_sdk/models/{v1_global_site_lists_id_sites_get200_response_entries_inner_tag_inner.py → v1_extranets_b2b_peering_customer_post_request_invite.py} +11 -12
- graphiant_sdk/models/v1_extranets_b2b_peering_match_customers_post200_response.py +95 -0
- graphiant_sdk/models/{v2_extranet_consumers_usage_top_post200_response.py → v1_extranets_b2b_peering_match_customers_post_request.py} +17 -15
- graphiant_sdk/models/v1_extranets_b2b_peering_match_customers_post_request_info_inner.py +104 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_post200_response.py +95 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_put200_response.py +91 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_put_request.py +93 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_put_request_service.py +112 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_put_request_service_nat_inner.py +89 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_put_request_service_service_prefixes_inner.py +89 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_services_summary_get200_response.py +95 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_services_summary_get200_response_services_inner.py +104 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_producer_id_get200_response.py +95 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_producer_id_put_request.py +91 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_producer_post200_response.py +93 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_producer_post200_response_policy.py +93 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_producer_post_request.py +95 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_producer_post_request_policy.py +111 -0
- graphiant_sdk/models/v1_extranets_b2b_post_request_policy.py +19 -2
- graphiant_sdk/models/v1_extranets_b2b_producers_summary_get200_response_info_inner.py +16 -3
- graphiant_sdk/models/v1_extranets_get200_response_policies_inner_branches_excluded_devices_inner_ipsec_tunnels_inner.py +3 -3
- graphiant_sdk/models/{v1_bwtracker_region_site_summary_post200_response.py → v1_gateways_guest_consumer_get200_response.py} +11 -11
- graphiant_sdk/models/v1_gateways_put_request_details.py +3 -3
- graphiant_sdk/models/v1_global_site_lists_id_sites_get200_response_entries_inner.py +3 -3
- graphiant_sdk/models/v1_groups_get200_response_groups_inner_permissions.py +3 -1
- graphiant_sdk/models/v1_groups_id_members_get200_response_users_inner.py +7 -1
- graphiant_sdk/models/v1_groups_id_members_post_request.py +5 -3
- graphiant_sdk/models/{v1_healthcheck_devices_get200_response_details_inner_odp_status.py → v1_invitation_email_post_request.py} +17 -11
- graphiant_sdk/models/v1_software_auto_upgrade_default_get200_response.py +7 -7
- graphiant_sdk/models/v1_software_releases_summary_get200_response_summaries_inner.py +6 -1
- graphiant_sdk/models/v1_temp_password_put_request.py +91 -0
- graphiant_sdk/models/v1_troubleshooting_device_device_id_post200_response.py +3 -3
- graphiant_sdk/models/{v2_assistant_conversation_context_history_post_request.py → v2_aggregated_notification_enable_disable_post_request.py} +4 -4
- graphiant_sdk/models/v2_aggregated_notification_get_state_get200_response.py +87 -0
- graphiant_sdk/models/v2_assistant_add_to_conversation_post200_response.py +4 -2
- graphiant_sdk/models/v2_assistant_get_conversations_post200_response.py +5 -3
- graphiant_sdk/models/v2_assistant_get_conversations_post200_response_conversation_list_inner.py +5 -3
- graphiant_sdk/models/v2_assurance_applicationdetailsbyname_post200_response_app_id_record.py +13 -1
- graphiant_sdk/models/{v1_software_auto_upgrade_default_get200_response_details.py → v2_assurance_applicationdetailsbyname_post200_response_app_id_record_exchange_service_inner.py} +9 -15
- graphiant_sdk/models/v2_assurance_applicationdetailsbyname_post200_response_app_name_record.py +11 -1
- graphiant_sdk/models/v2_assurance_bucket_app_servers_post_request.py +3 -1
- graphiant_sdk/models/v2_assurance_bucket_apps_post200_response_apps_inner.py +7 -1
- graphiant_sdk/models/v2_assurance_bucket_apps_post_request.py +3 -1
- graphiant_sdk/models/v2_assurance_bucket_services_post200_response.py +95 -0
- graphiant_sdk/models/{v2_assurance_bucket_topologies_post_request.py → v2_assurance_bucket_services_post_request.py} +4 -4
- graphiant_sdk/models/v2_extranet_lan_segments_usage_top_post200_response.py +3 -3
- graphiant_sdk/models/v2_extranet_sites_consumption_overview_post200_response.py +7 -7
- {graphiant_sdk-25.9.1.dist-info → graphiant_sdk-25.10.1.dist-info}/METADATA +3 -3
- {graphiant_sdk-25.9.1.dist-info → graphiant_sdk-25.10.1.dist-info}/RECORD +185 -65
- test/test_v1_auth_login_temp_post200_response.py +53 -0
- test/test_v1_auth_login_temp_post_request.py +52 -0
- test/test_v1_b2b_extranet_monitoring_filter_post200_response.py +65 -0
- test/test_v1_b2b_extranet_monitoring_filter_post200_response_filters.py +64 -0
- test/test_v1_b2b_extranet_monitoring_filter_post200_response_filters_customers_inner.py +54 -0
- test/test_v1_b2b_extranet_monitoring_filter_post_request.py +53 -0
- test/test_v1_diagnostic_reboot_device_id_put_request.py +51 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post200_response.py +67 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post200_response_dl_stats_inner.py +55 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request.py +64 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post200_response.py +58 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post200_response_top_consumers_inner.py +53 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request.py +61 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_consumption_overview_post200_response.py +81 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_consumption_overview_post200_response_first_level_inner.py +57 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request.py +65 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_service_customer_list_post200_response.py +53 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request.py +60 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_service_health_post200_response.py +62 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_service_health_post200_response_service_health_inner.py +62 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_service_health_post200_response_service_health_inner_customer_prefix_health.py +54 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post200_response.py +66 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request.py +63 -0
- test/test_v1_extranets_b2b_general_customers_summary_get200_response.py +64 -0
- test/test_v1_extranets_b2b_general_customers_summary_get200_response_customers_inner.py +61 -0
- test/test_v1_extranets_b2b_peering_consumer_customer_id_match_details_get200_response.py +75 -0
- test/test_v1_extranets_b2b_peering_consumer_customer_id_match_details_get200_response_details_inner.py +72 -0
- test/test_v1_extranets_b2b_peering_consumer_customer_id_match_details_get200_response_details_inner_customer.py +56 -0
- test/test_v1_extranets_b2b_peering_consumer_customer_id_match_details_get200_response_details_inner_service.py +56 -0
- test/test_v1_extranets_b2b_peering_consumer_id_post200_response.py +74 -0
- test/test_v1_extranets_b2b_peering_consumer_id_post_request.py +123 -0
- test/test_v1_extranets_b2b_peering_consumer_id_post_request_policy_inner.py +54 -0
- test/test_v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn.py +92 -0
- test/test_v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details.py +87 -0
- test/test_v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing.py +69 -0
- test/test_v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp.py +64 -0
- test/test_v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value.py +56 -0
- test/test_v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value_family.py +55 -0
- test/test_v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_md5_password.py +51 -0
- test/test_v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_static.py +53 -0
- test/test_v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_tunnel1.py +54 -0
- test/test_v1_extranets_b2b_peering_customer_id_get200_response.py +57 -0
- test/test_v1_extranets_b2b_peering_customer_id_put_request.py +51 -0
- test/test_v1_extranets_b2b_peering_customer_post200_response.py +56 -0
- test/test_v1_extranets_b2b_peering_customer_post_request.py +57 -0
- test/test_v1_extranets_b2b_peering_customer_post_request_invite.py +54 -0
- test/test_v1_extranets_b2b_peering_match_customers_post200_response.py +64 -0
- test/test_v1_extranets_b2b_peering_match_customers_post_request.py +65 -0
- test/test_v1_extranets_b2b_peering_match_customers_post_request_info_inner.py +61 -0
- test/test_v1_extranets_b2b_peering_match_service_to_customer_post200_response.py +66 -0
- test/test_v1_extranets_b2b_peering_match_service_to_customer_put200_response.py +64 -0
- test/test_v1_extranets_b2b_peering_match_service_to_customer_put_request.py +65 -0
- test/test_v1_extranets_b2b_peering_match_service_to_customer_put_request_service.py +63 -0
- test/test_v1_extranets_b2b_peering_match_service_to_customer_put_request_service_nat_inner.py +52 -0
- test/test_v1_extranets_b2b_peering_match_service_to_customer_put_request_service_service_prefixes_inner.py +52 -0
- test/test_v1_extranets_b2b_peering_match_services_summary_get200_response.py +62 -0
- test/test_v1_extranets_b2b_peering_match_services_summary_get200_response_services_inner.py +59 -0
- test/test_v1_extranets_b2b_peering_producer_id_get200_response.py +80 -0
- test/test_v1_extranets_b2b_peering_producer_id_put_request.py +76 -0
- test/test_v1_extranets_b2b_peering_producer_post200_response.py +79 -0
- test/test_v1_extranets_b2b_peering_producer_post200_response_policy.py +77 -0
- test/test_v1_extranets_b2b_peering_producer_post_request.py +78 -0
- test/test_v1_extranets_b2b_peering_producer_post_request_policy.py +75 -0
- test/test_v1_gateways_guest_consumer_get200_response.py +93 -0
- test/test_v1_invitation_email_post_request.py +55 -0
- test/test_v1_temp_password_put_request.py +55 -0
- test/test_v2_aggregated_notification_enable_disable_post_request.py +51 -0
- test/test_v2_aggregated_notification_get_state_get200_response.py +51 -0
- test/test_v2_assurance_applicationdetailsbyname_post200_response_app_id_record_exchange_service_inner.py +52 -0
- test/test_v2_assurance_bucket_services_post200_response.py +55 -0
- test/test_v2_assurance_bucket_services_post_request.py +51 -0
- graphiant_sdk/models/v1_healthcheck_devices_get200_response_details_inner.py +0 -124
- {graphiant_sdk-25.9.1.dist-info → graphiant_sdk-25.10.1.dist-info}/WHEEL +0 -0
- {graphiant_sdk-25.9.1.dist-info → graphiant_sdk-25.10.1.dist-info}/licenses/LICENSE +0 -0
- {graphiant_sdk-25.9.1.dist-info → graphiant_sdk-25.10.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
Graphiant API documentation.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_id_post_request import V1ExtranetsB2bPeeringConsumerIdPostRequest
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerIdPostRequest(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerIdPostRequest unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> V1ExtranetsB2bPeeringConsumerIdPostRequest:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerIdPostRequest
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `V1ExtranetsB2bPeeringConsumerIdPostRequest`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerIdPostRequest()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerIdPostRequest(
|
|
38
|
+
customer_id = 1234567891011,
|
|
39
|
+
nat = [
|
|
40
|
+
graphiant_sdk.models._v1_extranets_b2b_peering_match_service_to_customer_put_request_service_nat_inner._v1_extranets_b2b_peering_match_service_to_customer_put_request_service_nat_inner(
|
|
41
|
+
outside_nat_prefix = 'example string',
|
|
42
|
+
prefix = 'example string', )
|
|
43
|
+
],
|
|
44
|
+
policy = [
|
|
45
|
+
graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_policy_inner._v1_extranets_b2b_peering_consumer__id__post_request_policy_inner(
|
|
46
|
+
consumer_prefixes = [
|
|
47
|
+
'example string'
|
|
48
|
+
],
|
|
49
|
+
lan_segment = 1234567891011, )
|
|
50
|
+
],
|
|
51
|
+
site_information = [
|
|
52
|
+
graphiant_sdk.models._v1_extranets_b2b_consumer_post_request_site_information_inner._v1_extranets_b2b_consumer_post_request_siteInformation_inner(
|
|
53
|
+
bw_allocation_site_lists = 123,
|
|
54
|
+
bw_allocation_sites = 123,
|
|
55
|
+
policer_site_lists = graphiant_sdk.models._v1_extranets_b2b_consumer_post_request_site_information_inner_policer_site_lists._v1_extranets_b2b_consumer_post_request_siteInformation_inner_policerSiteLists(
|
|
56
|
+
burst_size = 123,
|
|
57
|
+
bw = 123, ),
|
|
58
|
+
policer_sites = graphiant_sdk.models._v1_extranets_b2b_consumer_post_request_site_information_inner_policer_site_lists._v1_extranets_b2b_consumer_post_request_siteInformation_inner_policerSiteLists(
|
|
59
|
+
burst_size = 123,
|
|
60
|
+
bw = 123, ),
|
|
61
|
+
site_lists = [
|
|
62
|
+
1234567891011
|
|
63
|
+
],
|
|
64
|
+
sites = [
|
|
65
|
+
1234567891011
|
|
66
|
+
], )
|
|
67
|
+
],
|
|
68
|
+
site_to_site_vpn = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn(
|
|
69
|
+
emails = [
|
|
70
|
+
'example string'
|
|
71
|
+
],
|
|
72
|
+
ipsec_gateway_details = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails(
|
|
73
|
+
destination_address = 'example string',
|
|
74
|
+
ike_initiator = True,
|
|
75
|
+
mtu = 123,
|
|
76
|
+
name = 'example string',
|
|
77
|
+
remote_ike_peer_identity = 'example string',
|
|
78
|
+
routing = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing(
|
|
79
|
+
bgp = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp(
|
|
80
|
+
address_families = {
|
|
81
|
+
'key' : graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_addressFamilies_value(
|
|
82
|
+
family = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value_family._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_addressFamilies_value_family(
|
|
83
|
+
address_family = 'ENUM_VALUE',
|
|
84
|
+
inbound_policy = graphiant_sdk.models._v1_global_config_patch_request_routing_policies_value_policy_statements_value_statement_actions_value_action_call_policy._v1_global_config_patch_request_routingPolicies_value_policy_statements_value_statement_actions_value_action_callPolicy(
|
|
85
|
+
policy = 'example string', ),
|
|
86
|
+
outbound_policy = graphiant_sdk.models._v1_global_config_patch_request_routing_policies_value_policy_statements_value_statement_actions_value_action_call_policy._v1_global_config_patch_request_routingPolicies_value_policy_statements_value_statement_actions_value_action_callPolicy(
|
|
87
|
+
policy = 'example string', ), ), )
|
|
88
|
+
},
|
|
89
|
+
hold_timer = 123,
|
|
90
|
+
keepalive_timer = 123,
|
|
91
|
+
md5_password = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_md5_password._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_md5Password(),
|
|
92
|
+
peer_asn = 123,
|
|
93
|
+
send_community = True, ),
|
|
94
|
+
static = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_static._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_static(
|
|
95
|
+
destination_prefix = [
|
|
96
|
+
'example string'
|
|
97
|
+
], ), ),
|
|
98
|
+
tcp_mss = 123,
|
|
99
|
+
tunnel1 = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_tunnel1._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_tunnel1(
|
|
100
|
+
inside_ipv4_cidr = 'example string',
|
|
101
|
+
inside_ipv6_cidr = 'example string',
|
|
102
|
+
local_ike_peer_identity = 'example string',
|
|
103
|
+
psk = 'example string', ),
|
|
104
|
+
tunnel2 = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_tunnel1._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_tunnel1(
|
|
105
|
+
inside_ipv4_cidr = 'example string',
|
|
106
|
+
inside_ipv6_cidr = 'example string',
|
|
107
|
+
local_ike_peer_identity = 'example string',
|
|
108
|
+
psk = 'example string', ),
|
|
109
|
+
vpn_profile = 'example string', ),
|
|
110
|
+
region_id = 123, )
|
|
111
|
+
)
|
|
112
|
+
else:
|
|
113
|
+
return V1ExtranetsB2bPeeringConsumerIdPostRequest(
|
|
114
|
+
)
|
|
115
|
+
"""
|
|
116
|
+
|
|
117
|
+
def testV1ExtranetsB2bPeeringConsumerIdPostRequest(self):
|
|
118
|
+
"""Test V1ExtranetsB2bPeeringConsumerIdPostRequest"""
|
|
119
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
120
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
121
|
+
|
|
122
|
+
if __name__ == '__main__':
|
|
123
|
+
unittest.main()
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
Graphiant API documentation.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_id_post_request_policy_inner import V1ExtranetsB2bPeeringConsumerIdPostRequestPolicyInner
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerIdPostRequestPolicyInner(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerIdPostRequestPolicyInner unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> V1ExtranetsB2bPeeringConsumerIdPostRequestPolicyInner:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerIdPostRequestPolicyInner
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `V1ExtranetsB2bPeeringConsumerIdPostRequestPolicyInner`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerIdPostRequestPolicyInner()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerIdPostRequestPolicyInner(
|
|
38
|
+
consumer_prefixes = [
|
|
39
|
+
'example string'
|
|
40
|
+
],
|
|
41
|
+
lan_segment = 1234567891011
|
|
42
|
+
)
|
|
43
|
+
else:
|
|
44
|
+
return V1ExtranetsB2bPeeringConsumerIdPostRequestPolicyInner(
|
|
45
|
+
)
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
def testV1ExtranetsB2bPeeringConsumerIdPostRequestPolicyInner(self):
|
|
49
|
+
"""Test V1ExtranetsB2bPeeringConsumerIdPostRequestPolicyInner"""
|
|
50
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
51
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
52
|
+
|
|
53
|
+
if __name__ == '__main__':
|
|
54
|
+
unittest.main()
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
Graphiant API documentation.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn import V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpn
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpn(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpn unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpn:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpn
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpn`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpn()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpn(
|
|
38
|
+
emails = [
|
|
39
|
+
'example string'
|
|
40
|
+
],
|
|
41
|
+
ipsec_gateway_details = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails(
|
|
42
|
+
destination_address = 'example string',
|
|
43
|
+
ike_initiator = True,
|
|
44
|
+
mtu = 123,
|
|
45
|
+
name = 'example string',
|
|
46
|
+
remote_ike_peer_identity = 'example string',
|
|
47
|
+
routing = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing(
|
|
48
|
+
bgp = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp(
|
|
49
|
+
address_families = {
|
|
50
|
+
'key' : graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_addressFamilies_value(
|
|
51
|
+
family = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value_family._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_addressFamilies_value_family(
|
|
52
|
+
address_family = 'ENUM_VALUE',
|
|
53
|
+
inbound_policy = graphiant_sdk.models._v1_global_config_patch_request_routing_policies_value_policy_statements_value_statement_actions_value_action_call_policy._v1_global_config_patch_request_routingPolicies_value_policy_statements_value_statement_actions_value_action_callPolicy(
|
|
54
|
+
policy = 'example string', ),
|
|
55
|
+
outbound_policy = graphiant_sdk.models._v1_global_config_patch_request_routing_policies_value_policy_statements_value_statement_actions_value_action_call_policy._v1_global_config_patch_request_routingPolicies_value_policy_statements_value_statement_actions_value_action_callPolicy(
|
|
56
|
+
policy = 'example string', ), ), )
|
|
57
|
+
},
|
|
58
|
+
hold_timer = 123,
|
|
59
|
+
keepalive_timer = 123,
|
|
60
|
+
md5_password = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_md5_password._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_md5Password(),
|
|
61
|
+
peer_asn = 123,
|
|
62
|
+
send_community = True, ),
|
|
63
|
+
static = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_static._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_static(
|
|
64
|
+
destination_prefix = [
|
|
65
|
+
'example string'
|
|
66
|
+
], ), ),
|
|
67
|
+
tcp_mss = 123,
|
|
68
|
+
tunnel1 = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_tunnel1._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_tunnel1(
|
|
69
|
+
inside_ipv4_cidr = 'example string',
|
|
70
|
+
inside_ipv6_cidr = 'example string',
|
|
71
|
+
local_ike_peer_identity = 'example string',
|
|
72
|
+
psk = 'example string', ),
|
|
73
|
+
tunnel2 = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_tunnel1._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_tunnel1(
|
|
74
|
+
inside_ipv4_cidr = 'example string',
|
|
75
|
+
inside_ipv6_cidr = 'example string',
|
|
76
|
+
local_ike_peer_identity = 'example string',
|
|
77
|
+
psk = 'example string', ),
|
|
78
|
+
vpn_profile = 'example string', ),
|
|
79
|
+
region_id = 123
|
|
80
|
+
)
|
|
81
|
+
else:
|
|
82
|
+
return V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpn(
|
|
83
|
+
)
|
|
84
|
+
"""
|
|
85
|
+
|
|
86
|
+
def testV1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpn(self):
|
|
87
|
+
"""Test V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpn"""
|
|
88
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
89
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
90
|
+
|
|
91
|
+
if __name__ == '__main__':
|
|
92
|
+
unittest.main()
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
Graphiant API documentation.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details import V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetails
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetails(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetails unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetails:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetails
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetails`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetails()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetails(
|
|
38
|
+
destination_address = 'example string',
|
|
39
|
+
ike_initiator = True,
|
|
40
|
+
mtu = 123,
|
|
41
|
+
name = 'example string',
|
|
42
|
+
remote_ike_peer_identity = 'example string',
|
|
43
|
+
routing = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing(
|
|
44
|
+
bgp = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp(
|
|
45
|
+
address_families = {
|
|
46
|
+
'key' : graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_addressFamilies_value(
|
|
47
|
+
family = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value_family._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_addressFamilies_value_family(
|
|
48
|
+
address_family = 'ENUM_VALUE',
|
|
49
|
+
inbound_policy = graphiant_sdk.models._v1_global_config_patch_request_routing_policies_value_policy_statements_value_statement_actions_value_action_call_policy._v1_global_config_patch_request_routingPolicies_value_policy_statements_value_statement_actions_value_action_callPolicy(
|
|
50
|
+
policy = 'example string', ),
|
|
51
|
+
outbound_policy = graphiant_sdk.models._v1_global_config_patch_request_routing_policies_value_policy_statements_value_statement_actions_value_action_call_policy._v1_global_config_patch_request_routingPolicies_value_policy_statements_value_statement_actions_value_action_callPolicy(
|
|
52
|
+
policy = 'example string', ), ), )
|
|
53
|
+
},
|
|
54
|
+
hold_timer = 123,
|
|
55
|
+
keepalive_timer = 123,
|
|
56
|
+
md5_password = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_md5_password._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_md5Password(),
|
|
57
|
+
peer_asn = 123,
|
|
58
|
+
send_community = True, ),
|
|
59
|
+
static = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_static._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_static(
|
|
60
|
+
destination_prefix = [
|
|
61
|
+
'example string'
|
|
62
|
+
], ), ),
|
|
63
|
+
tcp_mss = 123,
|
|
64
|
+
tunnel1 = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_tunnel1._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_tunnel1(
|
|
65
|
+
inside_ipv4_cidr = 'example string',
|
|
66
|
+
inside_ipv6_cidr = 'example string',
|
|
67
|
+
local_ike_peer_identity = 'example string',
|
|
68
|
+
psk = 'example string', ),
|
|
69
|
+
tunnel2 = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_tunnel1._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_tunnel1(
|
|
70
|
+
inside_ipv4_cidr = 'example string',
|
|
71
|
+
inside_ipv6_cidr = 'example string',
|
|
72
|
+
local_ike_peer_identity = 'example string',
|
|
73
|
+
psk = 'example string', ),
|
|
74
|
+
vpn_profile = 'example string'
|
|
75
|
+
)
|
|
76
|
+
else:
|
|
77
|
+
return V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetails(
|
|
78
|
+
)
|
|
79
|
+
"""
|
|
80
|
+
|
|
81
|
+
def testV1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetails(self):
|
|
82
|
+
"""Test V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetails"""
|
|
83
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
84
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
85
|
+
|
|
86
|
+
if __name__ == '__main__':
|
|
87
|
+
unittest.main()
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
Graphiant API documentation.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing import V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRouting
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRouting(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRouting unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRouting:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRouting
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRouting`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRouting()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRouting(
|
|
38
|
+
bgp = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp(
|
|
39
|
+
address_families = {
|
|
40
|
+
'key' : graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_addressFamilies_value(
|
|
41
|
+
family = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value_family._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_addressFamilies_value_family(
|
|
42
|
+
address_family = 'ENUM_VALUE',
|
|
43
|
+
inbound_policy = graphiant_sdk.models._v1_global_config_patch_request_routing_policies_value_policy_statements_value_statement_actions_value_action_call_policy._v1_global_config_patch_request_routingPolicies_value_policy_statements_value_statement_actions_value_action_callPolicy(
|
|
44
|
+
policy = 'example string', ),
|
|
45
|
+
outbound_policy = graphiant_sdk.models._v1_global_config_patch_request_routing_policies_value_policy_statements_value_statement_actions_value_action_call_policy._v1_global_config_patch_request_routingPolicies_value_policy_statements_value_statement_actions_value_action_callPolicy(
|
|
46
|
+
policy = 'example string', ), ), )
|
|
47
|
+
},
|
|
48
|
+
hold_timer = 123,
|
|
49
|
+
keepalive_timer = 123,
|
|
50
|
+
md5_password = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_md5_password._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_md5Password(),
|
|
51
|
+
peer_asn = 123,
|
|
52
|
+
send_community = True, ),
|
|
53
|
+
static = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_static._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_static(
|
|
54
|
+
destination_prefix = [
|
|
55
|
+
'example string'
|
|
56
|
+
], )
|
|
57
|
+
)
|
|
58
|
+
else:
|
|
59
|
+
return V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRouting(
|
|
60
|
+
)
|
|
61
|
+
"""
|
|
62
|
+
|
|
63
|
+
def testV1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRouting(self):
|
|
64
|
+
"""Test V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRouting"""
|
|
65
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
66
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
67
|
+
|
|
68
|
+
if __name__ == '__main__':
|
|
69
|
+
unittest.main()
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
Graphiant API documentation.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp import V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgp
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgp(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgp unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgp:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgp
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgp`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgp()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgp(
|
|
38
|
+
address_families = {
|
|
39
|
+
'key' : graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_addressFamilies_value(
|
|
40
|
+
family = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value_family._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_addressFamilies_value_family(
|
|
41
|
+
address_family = 'ENUM_VALUE',
|
|
42
|
+
inbound_policy = graphiant_sdk.models._v1_global_config_patch_request_routing_policies_value_policy_statements_value_statement_actions_value_action_call_policy._v1_global_config_patch_request_routingPolicies_value_policy_statements_value_statement_actions_value_action_callPolicy(
|
|
43
|
+
policy = 'example string', ),
|
|
44
|
+
outbound_policy = graphiant_sdk.models._v1_global_config_patch_request_routing_policies_value_policy_statements_value_statement_actions_value_action_call_policy._v1_global_config_patch_request_routingPolicies_value_policy_statements_value_statement_actions_value_action_callPolicy(
|
|
45
|
+
policy = 'example string', ), ), )
|
|
46
|
+
},
|
|
47
|
+
hold_timer = 123,
|
|
48
|
+
keepalive_timer = 123,
|
|
49
|
+
md5_password = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_md5_password._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_md5Password(),
|
|
50
|
+
peer_asn = 123,
|
|
51
|
+
send_community = True
|
|
52
|
+
)
|
|
53
|
+
else:
|
|
54
|
+
return V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgp(
|
|
55
|
+
)
|
|
56
|
+
"""
|
|
57
|
+
|
|
58
|
+
def testV1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgp(self):
|
|
59
|
+
"""Test V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgp"""
|
|
60
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
61
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
62
|
+
|
|
63
|
+
if __name__ == '__main__':
|
|
64
|
+
unittest.main()
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
Graphiant API documentation.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value import V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValue
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValue(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValue unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValue:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValue
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValue`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValue()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValue(
|
|
38
|
+
family = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value_family._v1_extranets_b2b_peering_consumer__id__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_addressFamilies_value_family(
|
|
39
|
+
address_family = 'ENUM_VALUE',
|
|
40
|
+
inbound_policy = graphiant_sdk.models._v1_global_config_patch_request_routing_policies_value_policy_statements_value_statement_actions_value_action_call_policy._v1_global_config_patch_request_routingPolicies_value_policy_statements_value_statement_actions_value_action_callPolicy(
|
|
41
|
+
policy = 'example string', ),
|
|
42
|
+
outbound_policy = graphiant_sdk.models._v1_global_config_patch_request_routing_policies_value_policy_statements_value_statement_actions_value_action_call_policy._v1_global_config_patch_request_routingPolicies_value_policy_statements_value_statement_actions_value_action_callPolicy(
|
|
43
|
+
policy = 'example string', ), )
|
|
44
|
+
)
|
|
45
|
+
else:
|
|
46
|
+
return V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValue(
|
|
47
|
+
)
|
|
48
|
+
"""
|
|
49
|
+
|
|
50
|
+
def testV1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValue(self):
|
|
51
|
+
"""Test V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValue"""
|
|
52
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
53
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
54
|
+
|
|
55
|
+
if __name__ == '__main__':
|
|
56
|
+
unittest.main()
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
Graphiant API documentation.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value_family import V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValueFamily
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValueFamily(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValueFamily unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValueFamily:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValueFamily
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValueFamily`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValueFamily()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValueFamily(
|
|
38
|
+
address_family = 'ENUM_VALUE',
|
|
39
|
+
inbound_policy = graphiant_sdk.models._v1_global_config_patch_request_routing_policies_value_policy_statements_value_statement_actions_value_action_call_policy._v1_global_config_patch_request_routingPolicies_value_policy_statements_value_statement_actions_value_action_callPolicy(
|
|
40
|
+
policy = 'example string', ),
|
|
41
|
+
outbound_policy = graphiant_sdk.models._v1_global_config_patch_request_routing_policies_value_policy_statements_value_statement_actions_value_action_call_policy._v1_global_config_patch_request_routingPolicies_value_policy_statements_value_statement_actions_value_action_callPolicy(
|
|
42
|
+
policy = 'example string', )
|
|
43
|
+
)
|
|
44
|
+
else:
|
|
45
|
+
return V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValueFamily(
|
|
46
|
+
)
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
def testV1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValueFamily(self):
|
|
50
|
+
"""Test V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValueFamily"""
|
|
51
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
52
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
53
|
+
|
|
54
|
+
if __name__ == '__main__':
|
|
55
|
+
unittest.main()
|