opentelekomcloud / gophertelekomcloud

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

ER: routes #703

Closed artem-lifshits closed 2 months ago

artem-lifshits commented 2 months ago

What this PR does / why we need it

Acceptance tests

=== RUN   TestRoutesLifeCycle
    routes_test.go:41: Attempting to create enterprise router
    routes_test.go:62: Attempting to create route table
    routes_test.go:78: Attempting to create route
    routes_test.go:119: Attempting to create vpc attachemnt
    tools.go:72: {
          "routes": [
            {
              "id": "9149ef1b-c996-4d3e-a4e1-7afba2c90098",
              "type": "static",
              "state": "available",
              "is_blackhole": false,
              "destination": "192.168.0.0/16",
              "route_table_id": "c05c09c3-943a-4a17-92cc-41c7e046ac7c",
              "created_at": "2024-07-31T11:05:35.048Z",
              "updated_at": "2024-07-31T11:06:04.089Z",
              "attachments": [
                {
                  "resource_id": "cf9e960a-59c4-430e-8cd4-ea246bfd50a4",
                  "resource_type": "vpc",
                  "attachment_id": "cea75542-821e-4a36-be14-24edf6ff0c9e"
                }
              ]
            }
          ],
          "page_info": {
            "next_marker": "",
            "current_count": 1
          },
          "request_id": "bdc12a6815c7ba7745ade88c7268493c"
        }
    routes_test.go:127: Attempting to delete vpc attachemnt
    routes_test.go:95: Attempting to delete route
    routes_test.go:72: Attempting to delete route table
    routes_test.go:50: Attempting to delete enterprise router
--- PASS: TestRoutesLifeCycle (124.98s)
PASS

Process finished with the exit code 0