-
Notifications
You must be signed in to change notification settings - Fork 550
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support new network feature "routed ip". IPv4 now attached to the VM directly. Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev> Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
- Loading branch information
1 parent
eba5daf
commit ee67da1
Showing
6 changed files
with
149 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
64 changes: 64 additions & 0 deletions
64
internal/app/machined/pkg/runtime/v1alpha1/platform/scaleway/testdata/expected-v2.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
addresses: | ||
- address: 2001:111:222:3333::1/64 | ||
linkName: eth0 | ||
family: inet6 | ||
scope: global | ||
flags: permanent | ||
layer: platform | ||
links: | ||
- name: eth0 | ||
logical: false | ||
up: true | ||
mtu: 0 | ||
kind: "" | ||
type: netrom | ||
layer: platform | ||
routes: | ||
- family: inet4 | ||
dst: 169.254.42.42/32 | ||
src: "" | ||
gateway: "" | ||
outLinkName: eth0 | ||
table: main | ||
priority: 1024 | ||
scope: link | ||
type: unicast | ||
flags: "" | ||
protocol: static | ||
layer: platform | ||
- family: inet6 | ||
dst: "" | ||
src: "" | ||
gateway: fe80::dc00:ff:fe12:3456 | ||
outLinkName: eth0 | ||
table: main | ||
priority: 2048 | ||
scope: global | ||
type: unicast | ||
flags: "" | ||
protocol: static | ||
layer: platform | ||
hostnames: | ||
- hostname: scw-talos | ||
domainname: "" | ||
layer: platform | ||
resolvers: [] | ||
timeServers: [] | ||
operators: | ||
- operator: dhcp4 | ||
linkName: eth0 | ||
requireUp: true | ||
dhcp4: | ||
routeMetric: 1024 | ||
layer: platform | ||
externalIPs: | ||
- 11.22.222.222 | ||
- 2001:111:222:3333::1 | ||
metadata: | ||
platform: scaleway | ||
hostname: scw-talos | ||
region: zone-name | ||
zone: zone-name-1 | ||
instanceType: DEV1-S | ||
instanceId: 11111111-1111-1111-1111-111111111111 | ||
providerId: scaleway://instance/zone-name-1/11111111-1111-1111-1111-111111111111 |
File renamed without changes.
34 changes: 34 additions & 0 deletions
34
internal/app/machined/pkg/runtime/v1alpha1/platform/scaleway/testdata/metadata-v2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"id": "11111111-1111-1111-1111-111111111111", | ||
"name": "scw-talos", | ||
"commercial_type": "DEV1-S", | ||
"hostname": "scw-talos", | ||
"tags": [], | ||
"state_detail": "booted", | ||
"public_ip": { | ||
"id": "11111111-1111-1111-1111-111111111111", | ||
"address": "11.22.222.222", | ||
"dynamic": false | ||
}, | ||
"public_ips_v4": [ | ||
{ | ||
"address": "11.22.222.222", | ||
"dynamic": false, | ||
"family": "inet", | ||
"gateway": "11.22.222.1", | ||
"netmask": "32" | ||
} | ||
], | ||
"public_ips_v6": [ | ||
{ | ||
"address": "2001:111:222:3333::1", | ||
"dynamic": false, | ||
"family": "inet6", | ||
"gateway": "fe80::dc00:ff:fe12:3456", | ||
"netmask": "64" | ||
} | ||
], | ||
"location": { | ||
"zone_id": "zone-name-1" | ||
} | ||
} |