opentelekomcloud / gophertelekomcloud

GopherTelekomCloud is an OpenTelekomCloud clouds Go SDK
Apache License 2.0
20 stars 10 forks source link

[Feat.] Enterprise VPN Connection #733

Closed anton-sidelnikov closed 2 weeks ago

anton-sidelnikov commented 2 weeks ago

What this PR does / why we need it

Implements https://docs.otc.t-systems.com/virtual-private-network/api-ref/api_reference_enterprise_edition_vpn/apis_of_enterprise_edition_vpn/vpn_connection/index.html

Which issue this PR fixes

Part of #724

Special notes for your reviewer

=== RUN   TestConnectionLifecycle
    connection_test.go:140: Attempting to CREATE EIP 1
    connection_test.go:148: Attempting to CREATE EIP 2
    connection_test.go:172: Attempting to CREATE Enterprise VPN Gateway: acc_evpn_gateway_M53b2
    connection_test.go:126: Attempting to CREATE Enterprise VPN Customer Gateway: acc_evpn_cgw_GxFTV
    connection_test.go:68: Attempting to CREATE Enterprise VPN Connection: acc_evpn_connection_wNB
    connection_test.go:80: Attempting to GET Enterprise VPN Connection: 01429abe-9c45-46a5-9649-d163257f2a59
    connection_test.go:87: Attempting to UPDATE Enterprise VPN Connection: 01429abe-9c45-46a5-9649-d163257f2a59
    connection_test.go:104: Attempting to LIST Enterprise VPN Connections
    connection_test.go:74: Attempting to DELETE Enterprise VPN Connection: ee62ba6f-756b-45b5-8d48-478007fa4a5c
    connection_test.go:131: Attempting to DELETE Enterprise VPN Customer Gateway: fa3b35f1-a7e9-4de0-9bda-3a8a89220ad3
    connection_test.go:178: Attempting to DELETE Enterprise VPN Gateway: ee62ba6f-756b-45b5-8d48-478007fa4a5c
    connection_test.go:152: Attempting to DELETE EIP 2: cf16cad9-4e6d-4ad9-8089-d34b9f4b83ec
    connection_test.go:144: Attempting to DELETE EIP 1: 2ad9a092-9979-40df-9aa2-d57d8be57ab9
--- PASS: TestConnectionLifecycle (235.81s)
PASS

Process finished with the exit code 0