graphiant-sdk 25.10.1__py3-none-any.whl → 25.10.2__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 +62 -1290
- graphiant_sdk/api/__init__.py +1 -16
- graphiant_sdk/api/default_api.py +6589 -7804
- graphiant_sdk/api_client.py +5 -5
- graphiant_sdk/configuration.py +1 -1
- graphiant_sdk/models/__init__.py +31 -1246
- graphiant_sdk/models/v1_auth_login_temp_post_request.py +6 -4
- 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_core_core_vrf_bgp_redistribution_value.py +3 -3
- 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_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response.py +166 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response_ipsec_tunnel_config_inner.py +150 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response_match_details.py +109 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response_match_details_customer.py +94 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response_match_details_service.py +95 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response_match_details_service_prefixes_inner.py +91 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_match_details_get200_response.py +95 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post200_response.py +109 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request.py +140 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request_global_object_ops_value.py +87 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request_policy_inner.py +89 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn.py +95 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details.py +117 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing.py +97 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp.py +115 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_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_match_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_match_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_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_static.py +87 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_tunnel1.py +93 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_post200_response.py +7 -5
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_post_request.py +93 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_post_request_service.py +112 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_post_request_service_nat_inner.py +89 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_post_request_service_service_prefixes_inner.py +89 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_producer_id_matching_customers_summary_get200_response.py +95 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_producer_id_matching_customers_summary_get200_response_info_inner.py +104 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_producer_post_request_policy.py +19 -4
- graphiant_sdk/models/v1_extranets_b2b_post_request_policy.py +33 -4
- graphiant_sdk/models/v1_extranets_b2b_post_request_policy_global_object_device_summaries_value.py +95 -0
- graphiant_sdk/models/v1_extranets_b2b_post_request_policy_global_object_device_summaries_value_routing_policies_inner.py +114 -0
- graphiant_sdk/models/v1_extranets_get200_response_policies_inner_branches_excluded_devices_inner_ipsec_tunnels_inner.py +3 -3
- graphiant_sdk/models/v1_extranets_get200_response_policies_inner_branches_excluded_devices_inner_region.py +5 -3
- graphiant_sdk/models/v1_gateways_guest_consumer_match_id_get200_response.py +103 -0
- graphiant_sdk/models/v1_gateways_put_request_details.py +3 -3
- graphiant_sdk/models/v1_global_config_patch_request_snmps_value_config_notify_filter_profiles_value_notify_filter_profile.py +3 -3
- graphiant_sdk/models/v1_invitation_email_post_request.py +3 -1
- graphiant_sdk/models/v1_temp_password_put_request.py +4 -2
- graphiant_sdk/models/v2_assistant_conversation_interface_state_get200_response.py +87 -0
- {graphiant_sdk-25.10.1.dist-info → graphiant_sdk-25.10.2.dist-info}/METADATA +3 -4
- {graphiant_sdk-25.10.1.dist-info → graphiant_sdk-25.10.2.dist-info}/RECORD +84 -24
- test/test_v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response.py +224 -0
- test/test_v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response_ipsec_tunnel_config_inner.py +82 -0
- test/test_v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response_match_details.py +74 -0
- test/test_v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response_match_details_customer.py +56 -0
- test/test_v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response_match_details_service.py +57 -0
- test/test_v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response_match_details_service_prefixes_inner.py +53 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_match_details_get200_response.py +77 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_post200_response.py +74 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_post_request.py +130 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_post_request_global_object_ops_value.py +53 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_post_request_policy_inner.py +54 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn.py +92 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details.py +87 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing.py +69 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp.py +64 -0
- test/test_v1_extranets_b2b_peering_consumer_match_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_match_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_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_md5_password.py +51 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_static.py +53 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_tunnel1.py +54 -0
- test/test_v1_extranets_b2b_peering_match_service_to_customer_post_request.py +65 -0
- test/test_v1_extranets_b2b_peering_match_service_to_customer_post_request_service.py +63 -0
- test/test_v1_extranets_b2b_peering_match_service_to_customer_post_request_service_nat_inner.py +52 -0
- test/test_v1_extranets_b2b_peering_match_service_to_customer_post_request_service_service_prefixes_inner.py +52 -0
- test/test_v1_extranets_b2b_peering_producer_id_matching_customers_summary_get200_response.py +64 -0
- test/test_v1_extranets_b2b_peering_producer_id_matching_customers_summary_get200_response_info_inner.py +61 -0
- test/test_v1_extranets_b2b_post_request_policy_global_object_device_summaries_value.py +67 -0
- test/test_v1_extranets_b2b_post_request_policy_global_object_device_summaries_value_routing_policies_inner.py +64 -0
- test/test_v1_gateways_guest_consumer_match_id_get200_response.py +131 -0
- test/test_v2_assistant_conversation_interface_state_get200_response.py +51 -0
- {graphiant_sdk-25.10.1.dist-info → graphiant_sdk-25.10.2.dist-info}/WHEEL +0 -0
- {graphiant_sdk-25.10.1.dist-info → graphiant_sdk-25.10.2.dist-info}/licenses/LICENSE +0 -0
- {graphiant_sdk-25.10.1.dist-info → graphiant_sdk-25.10.2.dist-info}/top_level.txt +0 -0
|
@@ -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_match_id_post_request_site_to_site_vpn import V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpn
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpn(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpn 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) -> V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpn:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpn
|
|
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 `V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpn`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpn()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpn(
|
|
38
|
+
emails = [
|
|
39
|
+
'example string'
|
|
40
|
+
],
|
|
41
|
+
ipsec_gateway_details = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_site_to_site_vpn_ipsec_gateway_details._v1_extranets_b2b_peering_consumer__matchId__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__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing._v1_extranets_b2b_peering_consumer__matchId__post_request_siteToSiteVpn_ipsecGatewayDetails_routing(
|
|
48
|
+
bgp = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp._v1_extranets_b2b_peering_consumer__matchId__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp(
|
|
49
|
+
address_families = {
|
|
50
|
+
'key' : graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value._v1_extranets_b2b_peering_consumer__matchId__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_addressFamilies_value(
|
|
51
|
+
family = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value_family._v1_extranets_b2b_peering_consumer__matchId__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__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_md5_password._v1_extranets_b2b_peering_consumer__matchId__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__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_static._v1_extranets_b2b_peering_consumer__matchId__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__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_tunnel1._v1_extranets_b2b_peering_consumer__matchId__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__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_tunnel1._v1_extranets_b2b_peering_consumer__matchId__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 V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpn(
|
|
83
|
+
)
|
|
84
|
+
"""
|
|
85
|
+
|
|
86
|
+
def testV1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpn(self):
|
|
87
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpn"""
|
|
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_match_id_post_request_site_to_site_vpn_ipsec_gateway_details import V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetails
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetails(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetails 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) -> V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetails:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetails
|
|
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 `V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetails`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetails()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetails(
|
|
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__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing._v1_extranets_b2b_peering_consumer__matchId__post_request_siteToSiteVpn_ipsecGatewayDetails_routing(
|
|
44
|
+
bgp = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp._v1_extranets_b2b_peering_consumer__matchId__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp(
|
|
45
|
+
address_families = {
|
|
46
|
+
'key' : graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value._v1_extranets_b2b_peering_consumer__matchId__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_addressFamilies_value(
|
|
47
|
+
family = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value_family._v1_extranets_b2b_peering_consumer__matchId__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__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_md5_password._v1_extranets_b2b_peering_consumer__matchId__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__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_static._v1_extranets_b2b_peering_consumer__matchId__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__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_tunnel1._v1_extranets_b2b_peering_consumer__matchId__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__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_tunnel1._v1_extranets_b2b_peering_consumer__matchId__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 V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetails(
|
|
78
|
+
)
|
|
79
|
+
"""
|
|
80
|
+
|
|
81
|
+
def testV1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetails(self):
|
|
82
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetails"""
|
|
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_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing import V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRouting
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRouting(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRouting 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) -> V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRouting:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRouting
|
|
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 `V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRouting`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRouting()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRouting(
|
|
38
|
+
bgp = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp._v1_extranets_b2b_peering_consumer__matchId__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp(
|
|
39
|
+
address_families = {
|
|
40
|
+
'key' : graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value._v1_extranets_b2b_peering_consumer__matchId__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_addressFamilies_value(
|
|
41
|
+
family = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value_family._v1_extranets_b2b_peering_consumer__matchId__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__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_md5_password._v1_extranets_b2b_peering_consumer__matchId__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__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_static._v1_extranets_b2b_peering_consumer__matchId__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_static(
|
|
54
|
+
destination_prefix = [
|
|
55
|
+
'example string'
|
|
56
|
+
], )
|
|
57
|
+
)
|
|
58
|
+
else:
|
|
59
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRouting(
|
|
60
|
+
)
|
|
61
|
+
"""
|
|
62
|
+
|
|
63
|
+
def testV1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRouting(self):
|
|
64
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRouting"""
|
|
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_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp import V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgp
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgp(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgp 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) -> V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgp:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgp
|
|
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 `V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgp`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgp()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgp(
|
|
38
|
+
address_families = {
|
|
39
|
+
'key' : graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value._v1_extranets_b2b_peering_consumer__matchId__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_addressFamilies_value(
|
|
40
|
+
family = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value_family._v1_extranets_b2b_peering_consumer__matchId__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__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_md5_password._v1_extranets_b2b_peering_consumer__matchId__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_md5Password(),
|
|
50
|
+
peer_asn = 123,
|
|
51
|
+
send_community = True
|
|
52
|
+
)
|
|
53
|
+
else:
|
|
54
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgp(
|
|
55
|
+
)
|
|
56
|
+
"""
|
|
57
|
+
|
|
58
|
+
def testV1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgp(self):
|
|
59
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgp"""
|
|
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_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value import V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValue
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValue(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValue 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) -> V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValue:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValue
|
|
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 `V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValue`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValue()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValue(
|
|
38
|
+
family = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value_family._v1_extranets_b2b_peering_consumer__matchId__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 V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValue(
|
|
47
|
+
)
|
|
48
|
+
"""
|
|
49
|
+
|
|
50
|
+
def testV1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValue(self):
|
|
51
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValue"""
|
|
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_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value_family import V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValueFamily
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValueFamily(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValueFamily 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) -> V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValueFamily:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValueFamily
|
|
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 `V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValueFamily`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValueFamily()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValueFamily(
|
|
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 V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValueFamily(
|
|
46
|
+
)
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
def testV1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValueFamily(self):
|
|
50
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpAddressFamiliesValueFamily"""
|
|
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()
|
|
@@ -0,0 +1,51 @@
|
|
|
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_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_md5_password import V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpMd5Password
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpMd5Password(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpMd5Password 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) -> V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpMd5Password:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpMd5Password
|
|
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 `V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpMd5Password`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpMd5Password()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpMd5Password(
|
|
38
|
+
md5_password = 'example string'
|
|
39
|
+
)
|
|
40
|
+
else:
|
|
41
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpMd5Password(
|
|
42
|
+
)
|
|
43
|
+
"""
|
|
44
|
+
|
|
45
|
+
def testV1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpMd5Password(self):
|
|
46
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingBgpMd5Password"""
|
|
47
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
48
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
49
|
+
|
|
50
|
+
if __name__ == '__main__':
|
|
51
|
+
unittest.main()
|
|
@@ -0,0 +1,53 @@
|
|
|
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_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_static import V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingStatic
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingStatic(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingStatic 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) -> V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingStatic:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingStatic
|
|
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 `V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingStatic`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingStatic()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingStatic(
|
|
38
|
+
destination_prefix = [
|
|
39
|
+
'example string'
|
|
40
|
+
]
|
|
41
|
+
)
|
|
42
|
+
else:
|
|
43
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingStatic(
|
|
44
|
+
)
|
|
45
|
+
"""
|
|
46
|
+
|
|
47
|
+
def testV1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingStatic(self):
|
|
48
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingStatic"""
|
|
49
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
50
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
51
|
+
|
|
52
|
+
if __name__ == '__main__':
|
|
53
|
+
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_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_tunnel1 import V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsTunnel1
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsTunnel1(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsTunnel1 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) -> V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsTunnel1:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsTunnel1
|
|
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 `V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsTunnel1`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsTunnel1()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsTunnel1(
|
|
38
|
+
inside_ipv4_cidr = 'example string',
|
|
39
|
+
inside_ipv6_cidr = 'example string',
|
|
40
|
+
local_ike_peer_identity = 'example string',
|
|
41
|
+
psk = 'example string'
|
|
42
|
+
)
|
|
43
|
+
else:
|
|
44
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsTunnel1(
|
|
45
|
+
)
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
def testV1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsTunnel1(self):
|
|
49
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequestSiteToSiteVpnIpsecGatewayDetailsTunnel1"""
|
|
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()
|