Commit Graph

19 Commits

Author SHA1 Message Date
Kubernetes Prow Robot aeaed55a30
Merge pull request #16961 from infonova/delete-ports-based-on-tags
fix(openstack): determine ports to delete based on tags
2025-07-04 12:21:25 -07:00
Gerd Aschemann 3fe038a1bf Create FloatingIP 2025-05-26 10:35:54 +02:00
Gerd Aschemann dbc5472107 Start OpenStack instanceactions implementation 2025-05-26 10:30:55 +02:00
Gerd Aschemann 0f3c092245 Add the referenced flavor to a new Server 2025-05-26 10:30:55 +02:00
ederst 6344657882 fix(openstack): determine ports to delete based on tags 2025-04-24 11:10:43 +02:00
Pierre Prinetti 1005dda58e
Upgrade to Gophercloud v2
Essentially:

* Add a context argument to Gophercloud functions
* Refactor scheduler hints for server creation
2024-10-23 12:33:34 +02:00
ederst 3eb39a42ad Allow getting a server in OpenStack mock cloud 2023-02-24 01:28:05 +01:00
Ciprian Hacman d29812fc6e Replace fi.Bool/Float*/Int*/StringValue() with fi.ValueOf 2022-11-19 03:45:23 +02:00
Ciprian Hacman 8f79c9bd68 Replace fi.Bool/Float*/Int*/String() with fi.PtrTo() 2022-11-19 03:45:22 +02:00
Ole Markus With ce2e877aeb Remove bazel files from vendor 2022-04-12 13:29:03 +02:00
Ciprian Hacman ea7df00719 Run hack/update-gofmt.sh 2021-12-01 22:39:50 +02:00
Jesse Haka 185ccba246 Use random instance names in OpenStack 2021-01-12 14:52:39 +02:00
Ole Markus With 80ef2473b5 Various mock fixes 2020-10-01 19:15:40 +02:00
Ole Markus With 6615d55eb1 Remove duplicate code 2020-08-23 06:46:22 +02:00
Ole Markus With 8e5e3d4ea5 Mock create server should associate with mock ports 2020-08-22 22:08:02 +02:00
Ole Markus With 29682700c7 Don't use nova for glance mocks
Fetching images through nova is deprecated and removed in newer versions
of the compute API. Mocks now reflect this behavior.
2020-08-21 10:18:52 +02:00
Ole Markus With 9890839cec Add an integration test for openstack floating ip
* Integration test for floatingip cluster
* Implements mocking of floatingIP (only list for now)
* Expands various cloudmocks
* Fixes an NPR in openstack validation
* Fixes a bug where kops tries to use DNS even if the cluster is gossip
2020-08-12 12:59:30 +02:00
Peter Rifel 230d870ad6
Implement CRUD logic for cloudmock openstack
This is the bulk of the changes necessary to support openstack integration tests.

As mentioned in cloudmock/openstack/README.md, this involved a lot of wireshark to understand
how the gophercloud clients builds the requests and expects the responses.
2020-08-10 15:22:49 -05:00
Peter Rifel 23dc8383da
Add an initial structure for openstack cloudmock
More info in the docs changes. This adds stubbed http handlers for every resource type used by Kops.
2020-08-05 23:13:34 -05:00