From c1edbd1aa4c79df238be36bdf954511e47a26e21 Mon Sep 17 00:00:00 2001 From: metal-stack Date: Tue, 19 Nov 2024 13:27:54 +0000 Subject: [PATCH 1/2] Bump releases to version v0.19.2 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7b3fcf9227..51d1d3af72 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ .DEFAULT_GOAL := build -RELEASE_VERSION := $(or ${RELEASE_VERSION},"v0.19.1") +RELEASE_VERSION := $(or ${RELEASE_VERSION},"v0.19.2") ifeq ($(CI),true) DOCKER_TTY_ARG= From 93a5e3109ecbfdb786e335788defe295f07dfe35 Mon Sep 17 00:00:00 2001 From: auto-build Date: Tue, 19 Nov 2024 13:30:21 +0000 Subject: [PATCH 2/2] Auto generate --- .../metalctl/docs/metalctl_firewall_create.md | 2 + .../metalctl/docs/metalctl_machine_create.md | 2 + .../docs/metalctl_partition_capacity.md | 9 ++-- .../docs/metalctl_partition_create.md | 2 + .../external/metalctl/docs/metalctl_switch.md | 1 + .../metalctl/docs/metalctl_switch_migrate.md | 46 +++++++++++++++++++ 6 files changed, 58 insertions(+), 4 deletions(-) create mode 100644 docs/src/external/metalctl/docs/metalctl_switch_migrate.md diff --git a/docs/src/external/metalctl/docs/metalctl_firewall_create.md b/docs/src/external/metalctl/docs/metalctl_firewall_create.md index 32ee95d670..1fe2820493 100644 --- a/docs/src/external/metalctl/docs/metalctl_firewall_create.md +++ b/docs/src/external/metalctl/docs/metalctl_firewall_create.md @@ -11,6 +11,7 @@ metalctl firewall create [flags] ``` --bulk-output when used with --file (bulk operation): prints results at the end as a list. default is printing results intermediately during the operation, which causes single entities to be printed in a row. -d, --description string Description of the firewall to create. [optional] + --dnsservers strings dns servers to add to the machine or firewall. [optional] -f, --file string filename of the create or update request in yaml format, or - for stdin. Example: @@ -85,6 +86,7 @@ metalctl firewall create [flags] MODE can be omitted or one of: auto IP address is automatically acquired from the given network noauto No automatic IP address acquisition + --ntpservers strings ntp servers to add to the machine or firewall. [optional] -S, --partition string partition/datacenter where the firewall is created. [required, except for reserved machines] -P, --project string Project where the firewall should belong to. [required] -s, --size string Size of the firewall. [required, except for reserved machines] diff --git a/docs/src/external/metalctl/docs/metalctl_machine_create.md b/docs/src/external/metalctl/docs/metalctl_machine_create.md index b48c4d55b1..8caf6a7607 100644 --- a/docs/src/external/metalctl/docs/metalctl_machine_create.md +++ b/docs/src/external/metalctl/docs/metalctl_machine_create.md @@ -51,6 +51,7 @@ Once created the machine installation can not be modified anymore. ``` --bulk-output when used with --file (bulk operation): prints results at the end as a list. default is printing results intermediately during the operation, which causes single entities to be printed in a row. -d, --description string Description of the machine to create. [optional] + --dnsservers strings dns servers to add to the machine or firewall. [optional] -f, --file string filename of the create or update request in yaml format, or - for stdin. Example: @@ -77,6 +78,7 @@ Once created the machine installation can not be modified anymore. MODE cane be omitted or one of: auto IP address is automatically acquired from the given network noauto IP address for the given network must be provided via --ips + --ntpservers strings ntp servers to add to the machine or firewall. [optional] -S, --partition string partition/datacenter where the machine is created. [required, except for reserved machines] -P, --project string Project where the machine should belong to. [required] -s, --size string Size of the machine. [required, except for reserved machines] diff --git a/docs/src/external/metalctl/docs/metalctl_partition_capacity.md b/docs/src/external/metalctl/docs/metalctl_partition_capacity.md index f98745a8f1..c2b88eead2 100644 --- a/docs/src/external/metalctl/docs/metalctl_partition_capacity.md +++ b/docs/src/external/metalctl/docs/metalctl_partition_capacity.md @@ -9,10 +9,11 @@ metalctl partition capacity [flags] ## Options ``` - -h, --help help for capacity - --id string filter on partition id. [optional] - --size string filter on size id. [optional] - --sort-by strings order by (comma separated) column(s), sort direction can be changed by appending :asc or :desc behind the column identifier. possible values: description|id|name + -h, --help help for capacity + --id string filter on partition id. [optional] + --project-id string consider project-specific counts, e.g. size reservations. [optional] + --size string filter on size id. [optional] + --sort-by strings order by (comma separated) column(s), sort direction can be changed by appending :asc or :desc behind the column identifier. possible values: description|id|name ``` ## Options inherited from parent commands diff --git a/docs/src/external/metalctl/docs/metalctl_partition_create.md b/docs/src/external/metalctl/docs/metalctl_partition_create.md index 343b26b66d..3b7adbf69d 100644 --- a/docs/src/external/metalctl/docs/metalctl_partition_create.md +++ b/docs/src/external/metalctl/docs/metalctl_partition_create.md @@ -12,6 +12,7 @@ metalctl partition create [flags] --bulk-output when used with --file (bulk operation): prints results at the end as a list. default is printing results intermediately during the operation, which causes single entities to be printed in a row. --cmdline string kernel commandline for the metal-hammer in the partition. [required] -d, --description string Description of the partition. [required] + --dnsservers string dns servers for the machines and firewalls in the partition. [optional] -f, --file string filename of the create or update request in yaml format, or - for stdin. Example: @@ -30,6 +31,7 @@ metalctl partition create [flags] --kernelurl string kernel url for the metal-hammer in the partition. [required] --mgmtserver string management server address in the partition. [required] -n, --name string Name of the partition. [optional] + --ntpservers string ntp servers for the machines and firewalls in the partition. [optional] --skip-security-prompts skips security prompt for bulk operations --timestamps when used with --file (bulk operation): prints timestamps in-between the operations ``` diff --git a/docs/src/external/metalctl/docs/metalctl_switch.md b/docs/src/external/metalctl/docs/metalctl_switch.md index 2d07cad029..f5c7fb6602 100644 --- a/docs/src/external/metalctl/docs/metalctl_switch.md +++ b/docs/src/external/metalctl/docs/metalctl_switch.md @@ -50,6 +50,7 @@ switch are the leaf switches in the data center that are controlled by metal-sta * [metalctl switch detail](metalctl_switch_detail.md) - switch details * [metalctl switch edit](metalctl_switch_edit.md) - edit the switch through an editor and update * [metalctl switch list](metalctl_switch_list.md) - list all switches +* [metalctl switch migrate](metalctl_switch_migrate.md) - migrate machine connections and other configuration from one switch to another * [metalctl switch port](metalctl_switch_port.md) - sets the given switch port state up or down * [metalctl switch replace](metalctl_switch_replace.md) - put a leaf switch into replace mode in preparation for physical replacement. For a description of the steps involved see the long help. * [metalctl switch ssh](metalctl_switch_ssh.md) - connect to the switch via ssh diff --git a/docs/src/external/metalctl/docs/metalctl_switch_migrate.md b/docs/src/external/metalctl/docs/metalctl_switch_migrate.md new file mode 100644 index 0000000000..ab0f1fd29e --- /dev/null +++ b/docs/src/external/metalctl/docs/metalctl_switch_migrate.md @@ -0,0 +1,46 @@ +# metalctl switch migrate + +migrate machine connections and other configuration from one switch to another + +``` +metalctl switch migrate [flags] +``` + +## Options + +``` + -h, --help help for migrate +``` + +## Options inherited from parent commands + +``` + --api-token string api token to authenticate. Can be specified with METALCTL_API_TOKEN environment variable. + --api-url string api server address. Can be specified with METALCTL_API_URL environment variable. + -c, --config string alternative config file path, (default is ~/.metalctl/config.yaml). + Example config.yaml: + + --- + apitoken: "alongtoken" + ... + + + --debug debug output + --force-color force colored output even without tty + --kubeconfig string Path to the kube-config to use for authentication and authorization. Is updated by login. Uses default path if not specified. + --no-headers do not print headers of table output format (default print headers) + -o, --output-format string output format (table|wide|markdown|json|yaml|template), wide is a table with more columns. (default "table") + --template string output template for template output-format, go template format. + For property names inspect the output of -o json or -o yaml for reference. + Example for machines: + + metalctl machine list -o template --template "{{ .id }}:{{ .size.id }}" + + + --yes-i-really-mean-it skips security prompts (which can be dangerous to set blindly because actions can lead to data loss or additional costs) +``` + +## SEE ALSO + +* [metalctl switch](metalctl_switch.md) - manage switch entities +