Skip to content

feat(server,load-balancer): add --ip-range argument to attach-to-network commands#1164

Merged
phm07 merged 5 commits intomainfrom
attach-to-network-ip-range
Oct 15, 2025
Merged

feat(server,load-balancer): add --ip-range argument to attach-to-network commands#1164
phm07 merged 5 commits intomainfrom
attach-to-network-ip-range

Conversation

@phm07
Copy link
Copy Markdown
Contributor

@phm07 phm07 commented Sep 22, 2025

A new ip_range attribute was introduced into the API (Changelog). This PR implements new arguments to allow setting this property when attaching Servers or Load Balancers to a Network.

@phm07 phm07 self-assigned this Sep 22, 2025
@phm07 phm07 requested a review from a team as a code owner September 22, 2025 11:48
@phm07
Copy link
Copy Markdown
Contributor Author

phm07 commented Sep 22, 2025

TODO: add e2e tests as well

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.76%. Comparing base (73b208f) to head (ee4ac0a).
⚠️ Report is 23 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1164      +/-   ##
==========================================
- Coverage   70.33%   69.76%   -0.57%     
==========================================
  Files         245      271      +26     
  Lines       10772    12302    +1530     
==========================================
+ Hits         7576     8582    +1006     
- Misses       2509     2913     +404     
- Partials      687      807     +120     
Flag Coverage Δ
e2e 52.37% <60.00%> (+0.47%) ⬆️
unit 63.90% <100.00%> (-0.16%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread internal/cmd/loadbalancer/attach_to_network.go Outdated
Comment thread internal/cmd/loadbalancer/attach_to_network.go Outdated
Comment thread internal/cmd/server/attach_to_network.go Outdated
@phm07 phm07 merged commit a87f996 into main Oct 15, 2025
10 of 11 checks passed
@phm07 phm07 deleted the attach-to-network-ip-range branch October 15, 2025 11:13
apricote pushed a commit that referenced this pull request Oct 21, 2025
### Storage Box API Experimental

This release adds support for the [Storage Box
API](https://docs.hetzner.cloud/reference/hetzner#storage-boxes).

The Storage Box integration will be introduced as an **experimental**
feature. This experimental phase is expected to last until **21 November
2025**. During this period, upcoming minor releases of the project may
include breaking changes to features related to the Storage Box API. You
can find out the current state of this in
[#1202](#1202).

This release includes all changes from the recent [Storage Box API
changelog](https://docs.hetzner.cloud/changelog#2025-10-21-storage-box-api-update)
entry.

#### Examples

```shell
hcloud storage-box create \
    --name backups \
    --type bx11 \
    --location fsn1 \
    --password "$PASSWORD" \
    --enable-ssh \
    --reachable-externally

hcloud storage-box enable-snapshot-plan backups \
    --max-snapshots 10 \
    --minute 0 \
    --hour 2
```

### Features

- **server,load-balancer**: add --ip-range argument to attach-to-network
commands (#1164)
- add support for Storage Boxes (#1118)

### Bug Fixes

- list commands print `null` instead of `[]` in JSON mode (#1191)
- outdated JSON output after creating resources (#1194)
- formatting of server-type describe output (#1196)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants