Compare commits

..

6 Commits

Author SHA1 Message Date
Simon Pacotte
4e0e30272f fix rebase 2026-11-27 09:48:59 +01:00
Simon Pacotte
b941b95f2a refix rebase 2026-11-26 16:39:09 +01:00
Simon Pacotte
374f5c58a9 fix rebase 2026-11-26 16:38:03 +01:00
Simon Pacotte
abe75edf10 fix review Ayoub 2026-11-26 16:36:31 +01:00
Simon Pacotte
c5371a1aa4 update changelog 2026-11-26 16:36:30 +01:00
Simon Pacotte
cc60453b4e fix(xo-server): keep server statuses in sync with the live connections 2026-11-26 16:36:07 +01:00
90 changed files with 528 additions and 2560 deletions

View File

@@ -13,7 +13,7 @@
"url": "https://vates.fr"
},
"license": "ISC",
"version": "3.7.2",
"version": "3.7.1",
"engines": {
"node": ">=14.0"
},

View File

@@ -1,7 +1,7 @@
{
"name": "@vates/types",
"private": false,
"version": "3.1.0",
"version": "3.0.0",
"main": "./dist/index.mjs",
"exports": {
".": {

View File

@@ -462,7 +462,6 @@ export interface Xapi {
stream: Readable | Buffer,
opts: { signal?: AbortSignal; format: SUPPORTED_VDI_FORMAT }
): Promise<void>
VDI_resize(vdiRef: XenApiVdi['$ref'], size: number): Promise<void>
VIF_create(
options: {
currently_attached?: boolean

View File

@@ -30,7 +30,7 @@
},
"devDependencies": {
"@eslint/js": "^9.19.0",
"@vates/types": "^3.1.0",
"@vates/types": "^3.0.0",
"rimraf": "^6.0.1",
"typescript": "~5.6",
"typescript-eslint": "^8.61.0"

View File

@@ -21,7 +21,7 @@
"tar-stream": "^3.1.8",
"@types/tar-stream": "^3.1.4",
"tmp": "^0.2.1",
"@vates/types": "^3.1.0"
"@vates/types": "^3.0.0"
},
"dependencies": {
"@xen-orchestra/log": "^1.0.0",

View File

@@ -8,7 +8,7 @@
"dependencies": {
"@vates/async-each": "^1.0.3",
"@xen-orchestra/async-map": "^0.1.5",
"@xen-orchestra/backups": "^1.0.1",
"@xen-orchestra/backups": "^1.0.0",
"@xen-orchestra/fs": "^4.11.0",
"filenamify": "^6.0.0",
"getopts": "^2.2.5",

View File

@@ -8,7 +8,7 @@
"type": "git",
"url": "https://github.com/vatesfr/xen-orchestra.git"
},
"version": "1.0.1",
"version": "1.0.0",
"engines": {
"node": ">=22.19"
},
@@ -27,10 +27,10 @@
"@vates/disposable": "^0.1.7",
"@vates/fuse-vhd": "^2.1.4",
"@vates/generator-toolbox": "^1.1.3",
"@vates/nbd-client": "^3.7.2",
"@vates/nbd-client": "^3.7.1",
"@vates/parse-duration": "^0.1.1",
"@vates/task": "^0.7.0",
"@vates/types": "^3.1.0",
"@vates/types": "^3.0.0",
"@xen-orchestra/async-map": "^0.1.5",
"@xen-orchestra/disk-transform": "^1.3.4",
"@xen-orchestra/fs": "^4.11.0",

View File

@@ -20,7 +20,7 @@
},
"dependencies": {
"@vates/async-each": "^1.0.3",
"@xen-orchestra/backups": "^1.0.1",
"@xen-orchestra/backups": "^1.0.0",
"@xen-orchestra/backup-archive": "^1.2.1",
"@xen-orchestra/disk-transform": "^1.3.4",
"@xen-orchestra/fs": "^4.11.0",

View File

@@ -22,7 +22,7 @@
},
"dependencies": {
"@vates/async-each": "^1.0.3",
"@xen-orchestra/backups": "^1.0.1",
"@xen-orchestra/backups": "^1.0.0",
"@xen-orchestra/log": "^1.0.0",
"app-conf": "^3.0.0",
"execa": "^5.0.0",

View File

@@ -27,13 +27,13 @@
"@types/file-saver": "^2.0.7",
"@types/lodash-es": "^4.17.12",
"@types/node": "^18.19.80",
"@vates/types": "^3.1.0",
"@vates/types": "^3.0.0",
"@vitejs/plugin-vue": "^6.0.0",
"@vue/tsconfig": "^0.9.0",
"@vueuse/core": "^14.0.0",
"@vueuse/math": "^14.0.0",
"@vueuse/shared": "^14.0.0",
"@xen-orchestra/web-core": "^0.66.1",
"@xen-orchestra/web-core": "^0.66.0",
"complex-matcher": "^1.1.1",
"d3-time-format": "^4.1.0",
"decorator-synchronized": "^0.6.0",

View File

@@ -34,7 +34,7 @@
"devDependencies": {
"@eslint/js": "^9.19.0",
"@types/node": "^22.3.0",
"@vates/types": "^3.1.0",
"@vates/types": "^3.0.0",
"rimraf": "^6.0.0",
"typescript": "~5.6.3",
"typescript-eslint": "^8.61.0"

View File

@@ -36,7 +36,7 @@
"xo-common": "^0.11.0"
},
"devDependencies": {
"@vates/types": "^3.1.0"
"@vates/types": "^3.0.0"
},
"scripts": {
"postversion": "npm publish --access public",

View File

@@ -1,7 +1,7 @@
{
"private": true,
"name": "@xen-orchestra/proxy",
"version": "0.35.1",
"version": "0.35.0",
"license": "AGPL-3.0-or-later",
"description": "XO Proxy used to remotely execute backup jobs",
"keywords": [
@@ -34,7 +34,7 @@
"@vates/disposable": "^0.1.7",
"@vates/task": "^0.7.0",
"@xen-orchestra/async-map": "^0.1.5",
"@xen-orchestra/backups": "^1.0.1",
"@xen-orchestra/backups": "^1.0.0",
"@xen-orchestra/fs": "^4.11.0",
"@xen-orchestra/log": "^1.0.0",
"@xen-orchestra/mixin": "^0.2.1",

View File

@@ -22,10 +22,10 @@
"dependencies": {
"@vates/async-each": "^1.0.3",
"@vates/read-chunk": "^1.2.1",
"@xen-orchestra/backups": "^1.0.1",
"@xen-orchestra/backups": "^1.0.0",
"@xen-orchestra/fs": "^4.11.0",
"@xen-orchestra/log": "^1.0.0",
"@xen-orchestra/vmware-explorer": "^1.4.0",
"@xen-orchestra/vmware-explorer": "^1.3.0",
"nodemailer": "^7.0.13",
"xo-lib": "^0.11.2"
},

View File

@@ -6,7 +6,7 @@
"main": "./dist/index.mjs",
"name": "@xen-orchestra/rest-api",
"homepage": "https://github.com/vatesfr/xen-orchestra/tree/master/@xen-orchestra/rest-api",
"version": "0.43.0",
"version": "0.42.0",
"description": "REST API to manage your XOA",
"license": "AGPL-3.0-or-later",
"private": false,
@@ -38,9 +38,9 @@
"@vates/async-each": "^1.0.3",
"@vates/obfuscate": "^0.2.0",
"@vates/task": "^0.7.0",
"@vates/types": "^3.1.0",
"@vates/types": "^3.0.0",
"@xen-orchestra/acl": "^1.9.0",
"@xen-orchestra/backups": "^1.0.1",
"@xen-orchestra/backups": "^1.0.0",
"@xen-orchestra/cron": "^1.0.7",
"@xen-orchestra/log": "^1.0.0",
"@xen-orchestra/qcow2": "^1.4.1",

View File

@@ -33,6 +33,7 @@ import type {
} from '@vates/types'
import { SUPPORTED_ACTIONS_BY_RESOURCE, type SupportedActions } from '@xen-orchestra/acl'
import { invalidParameters } from 'xo-common/api-errors.js'
import { acl, actionsFromBody } from '../middlewares/acl.middleware.mjs'
import { AlarmService } from '../alarms/alarm.service.mjs'
@@ -244,7 +245,11 @@ export class VdiController extends XapiXoController<XoVdi> {
await $xapi.call('VDI.set_name_description', $ref, name_description)
}
if (size !== undefined) {
await $xapi.VDI_resize($ref, size)
const currentSize = this.getObject(id as XoVdi['id']).size
if (size < currentSize) {
throw invalidParameters(`cannot set new size (${size}) below the current size (${currentSize})`)
}
await $xapi.callAsync('VDI.resize', $ref, size)
}
}

View File

@@ -1,7 +1,7 @@
{
"license": "ISC",
"private": false,
"version": "1.4.0",
"version": "1.3.0",
"name": "@xen-orchestra/vmware-explorer",
"description": "Reads the VMs and the disks of an ESXi host or a vCenter",
"dependencies": {

View File

@@ -299,21 +299,6 @@ dependencies = [
"miniz_oxide",
]
[[package]]
name = "foreign-types"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
dependencies = [
"foreign-types-shared",
]
[[package]]
name = "foreign-types-shared"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
[[package]]
name = "fs_extra"
version = "1.3.0"
@@ -475,59 +460,12 @@ version = "1.70.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
[[package]]
name = "openssl"
version = "0.10.82"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4de8111e94a56adca7ebfe6c365b6d42f99deb69b74b6becacd4204e2f193aa2"
dependencies = [
"bitflags",
"cfg-if",
"foreign-types",
"libc",
"openssl-macros",
"openssl-sys",
]
[[package]]
name = "openssl-macros"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.119",
]
[[package]]
name = "openssl-probe"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe"
[[package]]
name = "openssl-src"
version = "300.6.1+3.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "46eb8fb9fb3b61ce1c0f8a026c4c1a0714d3a9e138e7fbde78753ce2babc3846"
dependencies = [
"cc",
]
[[package]]
name = "openssl-sys"
version = "0.9.118"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "19c413d6ec9ebaf5e1c829d355cb3e9f783778d700f135be0921d52fce3c60ae"
dependencies = [
"cc",
"libc",
"openssl-src",
"pkg-config",
"vcpkg",
]
[[package]]
name = "pkg-config"
version = "0.3.34"
@@ -863,21 +801,13 @@ version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
[[package]]
name = "vcpkg"
version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
[[package]]
name = "vectura"
version = "0.3.0"
version = "0.2.1"
dependencies = [
"aws-lc-rs",
"clap",
"flate2",
"openssl",
"openssl-src",
"quick-xml",
"rcgen",
"rustls",

View File

@@ -1,6 +1,6 @@
[package]
name = "vectura"
version = "0.3.0"
version = "0.2.1"
edition = "2024"
description = "Standalone client for VMware's NFC disk-read protocol"
# The license of the Xen Orchestra application components, see LICENSE.md at
@@ -15,20 +15,12 @@ publish = false
aws-lc-rs = "1.18.1"
clap = { version = "4.6.6", features = ["derive"] }
flate2 = { version = "1.1.10", default-features = false, features = ["rust_backend"] }
openssl = { version = "0.10.82", features = ["vendored"] }
quick-xml = "0.42.0"
rustls = "0.23"
rustls-native-certs = "0.8.4"
rustls-pki-types = "1.15.1"
thiserror = "2.0.20"
[build-dependencies]
# Not used by a build script: the entry only turns on a feature of the
# OpenSSL build `openssl` asks for. Without DSO support OpenSSL cannot load
# an engine or a provider from a file at run time, whatever a configuration
# file or the environment asks.
openssl-src = { version = "300.6.1", features = ["no-dso"] }
[dev-dependencies]
rcgen = { version = "0.14.10", default-features = false, features = ["aws_lc_rs"] }
serde_json = "1.0.151"

View File

@@ -117,8 +117,7 @@ scripts/build.sh .
```
The build is reproducible: `scripts/build.sh` keeps the paths of the machine
out of the binary, builds under `/tmp/vectura-build`, a path OpenSSL writes
into the binary, and refuses any zig or cargo-zigbuild but the versions the
out of the binary and refuses any zig or cargo-zigbuild but the versions the
workflow installs. Linux x86_64 machines build the same binary; macOS and
aarch64 hosts are untested.
@@ -129,8 +128,3 @@ and Ubuntu 20.04. It needs [zig](https://ziglang.org/download/) 0.16.0 and:
```sh
cargo install --locked cargo-zigbuild@0.23.4
```
OpenSSL is compiled from its sources, which takes perl, to run its
`Configure` script, and make. Debian and Ubuntu install both with
`build-essential`; on Fedora and RHEL, `perl-core` brings the perl modules
`Configure` loads.

View File

@@ -29,10 +29,8 @@ unmaintained = "workspace"
unsound = "workspace"
[licenses]
# What may enter the binary. The OpenSSL license is on the list for
# aws-lc-sys, which the default rustls crypto provider builds on; nothing else
# needs it. The OpenSSL 3 sources the RSA key exchange fallback links are
# under Apache-2.0.
# What may enter the binary. OpenSSL is on the list for aws-lc-sys, which the
# default rustls crypto provider builds on; nothing else needs it.
allow = [
"0BSD",
"Apache-2.0",

View File

@@ -71,14 +71,10 @@ thirty minutes, makes the ordinary run not need one.
## Why rustls, synchronous I/O and two threads
- **rustls with aws-lc-rs, and OpenSSL for one handshake.** The TLS
stack is in the binary, with no system library to match at run time
and no shell out. ESXi 6.0, 7 and 8 hosts negotiate TLS 1.2 with ECDHE
and AES-GCM on both ports, which rustls speaks. The data port of some
ESXi 6.5 hosts accepts RSA key exchange alone, which rustls leaves out
on purpose, so a copy of OpenSSL is compiled in and used for that port
when the host has refused rustls, and for nothing else. The security
model says what such a session gives up.
- **rustls with aws-lc-rs, no OpenSSL.** One TLS stack, in the binary,
with no system library to match at run time and no shell out. ESXi 6.0,
7 and 8 hosts negotiate TLS 1.2 with ECDHE and AES-GCM on both ports,
which rustls speaks.
- **Synchronous `std` I/O, no async runtime.** A run is two sockets and
two pipes. Two threads joined by a bounded channel cover that with
back pressure for free and nothing to schedule. An async runtime would

View File

@@ -64,39 +64,6 @@ presenting the same certificate. There is no flag to accept or refuse
this: a 6.x host is served like any other, and the management port, which
carries the password, is verified the same way on every host.
The data port of some ESXi 6.5 hosts accepts no ECDHE suite. When the
host answers the first handshake with a `handshake_failure` alert, and
only then, Vectura connects again and offers TLS 1.2 with RSA key
exchange and AES-GCM. The certificate is judged by its thumbprint, compared
with the ticket's once the handshake completes. By then the client has
sent `ClientKeyExchange` and `Finished`, but no ticket and no application
data go out before the check, and the second session must present the
same certificate. With RSA key exchange the host signs
nothing: it proves it holds the private key by decrypting the secret the
client sent, which the `Finished` messages confirm, so the pinned
certificate still authenticates it. Two things are given up, on such a
host and on port 902 only:
- **Forward secrecy.** With RSA key exchange the session keys are sent
encrypted to the host's key. Whoever records the session and later
obtains that private key can read the disk that was carried.
- **The choice of suites.** An attacker on the network can forge the
alert, which is not authenticated, and so make Vectura offer RSA key
exchange to a host that has ECDHE. They gain nothing at once, since
the handshake still needs the host's private key, but the session
they record loses forward secrecy.
There is no flag to forbid the retry, as there is none for the 6.x
dialect. The transcript says when it happened, and the management port,
which carries the password, never uses it.
OpenSSL is in the binary, built without the means to load code from a
file. When the retry opens it, it still reads its configuration file if
one exists: `/usr/local/ssl/openssl.cnf`, or the file `OPENSSL_CONF`
names. Vectura sets the protocol version and the two suites itself after
that. Whoever can write that file or set the environment of the process
is already trusted with the password.
An attacker who controls the network between Vectura and the host sees
TLS on 443 and TLS on 902, and can complete neither handshake without the
host's private key. What they can do is drop the connection, which ends

View File

@@ -27,7 +27,6 @@ are most likely to meet, what each means and what to do.
| Message | Meaning | Do |
| ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| `host refused every supported TLS suite (ECDHE, then RSA key exchange with AES-GCM)` | The data port accepts neither ECDHE nor RSA key exchange with AES-GCM. | Not supported: Vectura offers nothing weaker. |
| `greeting: the host does not announce "NFCSSL supported"; announced: [...]` | The host cannot carry the disk inside a second TLS session. | Not seen on a supported host. `--transport nfc` would carry the disk in clear text; understand what that means before using it. |
| `open "[ds] vm/x.vmdk": the host reported error 11: NfcAioProcessOpenFileMsg: permission check failed ...` | The ticket covers the files of the virtual machine `--vm-id` names, and this path is not one of them, or the account may not read it. | Check `--vm-id` against `--disk`. |
| `... Thin/TBZ/Sparse disks cannot be opened in multiwriter mode` | The disk is the link a running virtual machine writes to. | Power the virtual machine off, or take a snapshot and read a base link. |

View File

@@ -9,7 +9,7 @@ documentation is cited where it states the limit.
| Requirement | Detail |
| ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ESXi 6.x, 7.x or 8.x directly; 6.5, 6.7, 7.x or 8.x through a vCenter | With a vCenter, `--host` names the vCenter and the ticket names the ESXi host that holds the virtual machine; the data port is opened on that host. |
| ESXi 7.x or 8.x, directly or through a vCenter; ESXi 6.x directly | With a vCenter, `--host` names the vCenter and the ticket names the ESXi host that holds the virtual machine; the data port is opened on that host. |
| `SHA256 supported` in the data port's greeting, for the modern dialect | The ticket dialogue confirms the data port's certificate by its SHA-256. A host that does not announce it, ESXi 6.x, is read in the [legacy dialect](#esxi-6x-hosts). |
| `NFCSSL supported` in the greeting, for `--transport nfcssl` | Without it, only `--transport nfc` can run, in clear text. Every host measured, 6.0 included, announces it. |
| Port 443 and port 902 reachable | 443 for the management calls, on the vCenter when there is one; 902 for the greeting, the ticket dialogue and the disk, always on the ESXi host. |
@@ -31,8 +31,7 @@ NBD export are the same; the disk session differs:
| Compression | None, whatever `--compression` says: each read comes back as stored. | Measured on ESXi 6.0 |
| Capacity | Not in the open reply. Found by 512-byte reads from the size the disk's geometry gives: 26 reads for an 8 GiB disk, 6 for a 24 GiB disk. | Measured on ESXi 6.0 |
| Throughput | 3 to 5 MiB/s per process over a link with a 30 ms round trip. | Measured on ESXi 6.0 |
| Versions | ESXi 6.0.0, reached directly. ESXi 6.5 and 6.7, through a 6.x vCenter. | |
| Ticket of a vCenter | Known to vpxa, the vCenter's agent on the host, not to hostd: the dialogue asks `PROXY vpxa-nfcssl`, which hostd would drop as `session ticket ... not found`. | ESXi 6.5 and 6.7 |
| Versions | ESXi 6.0.0, reached directly. ESXi 6.5, 6.7 and a 6.x vCenter are untested. | |
Several `serve` processes can read the same disk at once, each over its
own session: two processes read about 9 MiB/s over the link above, where
@@ -87,12 +86,11 @@ A run longer than the session lifetime serves the whole disk and exits
## TLS
| Item | Value | Source |
| ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| Versions the hosts negotiate | TLS 1.2 on both ports, `TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384` or the AES-128 variant | Measured; the vSphere 7 and 8 documentation on the default cipher suites |
| RSA key exchange on 902 | Offered only after the host refused the first handshake with a `handshake_failure` alert: TLS 1.2, `TLS_RSA_WITH_AES_256_GCM_SHA384` or the AES-128 variant, no forward secrecy. Never on 443. | Vectura; reported on an ESXi 6.5 U3 host, not measured |
| Certificate on 902 | The same certificate as on 443 on every host measured | Measured |
| Data port verification | The SHA-1 thumbprint in the ticket, the SHA-256 confirmed in the dialogue on ESXi 7 and later, and the second TLS session must present the certificate of the first | Vectura |
| Item | Value | Source |
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| Versions the hosts negotiate | TLS 1.2 on both ports, `TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384` or the AES-128 variant | Measured; the vSphere 7 and 8 documentation on the default cipher suites |
| Certificate on 902 | The same certificate as on 443 on every host measured | Measured |
| Data port verification | The SHA-1 thumbprint in the ticket, the SHA-256 confirmed in the dialogue on ESXi 7 and later, and the second TLS session must present the certificate of the first | Vectura |
## Throughput, measured

View File

@@ -12,30 +12,26 @@ is never delayed by the transcript.
## Lines, in session order
| Line | When | Fields |
| --------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `<call>: <status> in <n> ms` | After each management call on port 443: `RetrieveServiceContent`, `Login`, `RetrieveInternalContent`, `NfcGetVmFiles`, and `Logout` at the end. | The HTTP status the host answered, and the time from request to full response. |
| `greeting: <capabilities>` | After the data port's greeting line. | The capabilities the host announced, comma separated, as the host wrote them, such as `NFCSSL supported, SHA256 supported`. |
| `legacy dialect: no in-band thumbprint check, one read in flight, no compression` | After the greeting, when it does not announce `SHA256 supported`. | None: the line says what the legacy dialect gives up. |
| `first session tls fallback: host refused ECDHE, retrying with RSA key exchange` | After the host refused the first TLS handshake on the data port for want of a common suite. | None: the data port is connected to again and offered RSA key exchange, for both sessions. |
| `first session tls <version> <suite>` | After the first TLS handshake on the data port. | The protocol version in rustls's name and the cipher suite in its IANA name, such as `TLSv1_2 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384`. |
| `> <line>` | Each line sent in the ticket dialogue. | `SESSION <ticket>`, `BANNER `, `THUMBPRINT_SHA2 <tag>` or, on a legacy host, `THUMBPRINT <tag>`, `PROXY nfcssl` or `PROXY nfc`; on a legacy host reached through a vCenter, `PROXY vpxa-nfcssl` or `PROXY vpxa-nfc`. |
| `< <line>` | Each line the host answered. | The host's reply, such as `220 ...`, `200 <thumbprint>` or `200 Connect ha-nfcssl`; `200 Connect vpxa-nfcssl` when vpxa was asked. |
| `second session tls <version> <suite>` | After the second TLS handshake, `--transport nfcssl` only. | As above. |
| `> handshake type <n>` | Each handshake message sent. | The message type: 43, 33 and 51 are sent, then 54, 55 and 52 after the host's replies; only 43 and 33 on a legacy host. |
| `< handshake type <n>` | Each handshake message received. | The message type: 36 and 51 after the first three, 52 after the last three; only 36 on a legacy host. |
| `open: <capacity> bytes, sector size <n>` | After the host's open reply. | The disk's virtual capacity and its sector size, as reported; on a legacy host, the capacity the search found. |
| `capacity search: <n> reads from the <size> bytes the geometry gives` | After the open, on a legacy host. | The 512-byte reads the capacity search took, and the size the open reply's geometry gives. |
| `nbd option <n>: <outcome>` | After each NBD option. | The option number and how it was answered: `export`, `info`, `acknowledged`, `invalid` or `unsupported`. |
| `nbd export: <size> bytes` | When transmission starts. | The export size sent to the client. |
| `progress: served <n> GiB, compression ratio <r>, depth <d>` | Each time the bytes served cross a whole gibibyte. | Whole gibibytes served so far, wire bytes per served byte with two decimals, and the depth in use. |
| `summary: bytes served <n>, wire bytes <n>, host reads <n>, elapsed <s> s` | When the session ends, before `Logout`. | Bytes served to the client, bytes received from the host for them, host reads issued, and the seconds since negotiation began, with one decimal. |
| Line | When | Fields |
| --------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| `<call>: <status> in <n> ms` | After each management call on port 443: `RetrieveServiceContent`, `Login`, `RetrieveInternalContent`, `NfcGetVmFiles`, and `Logout` at the end. | The HTTP status the host answered, and the time from request to full response. |
| `greeting: <capabilities>` | After the data port's greeting line. | The capabilities the host announced, comma separated, as the host wrote them, such as `NFCSSL supported, SHA256 supported`. |
| `legacy dialect: no in-band thumbprint check, one read in flight, no compression` | After the greeting, when it does not announce `SHA256 supported`. | None: the line says what the legacy dialect gives up. |
| `first session tls <version> <suite>` | After the first TLS handshake on the data port. | The protocol version and cipher suite, in rustls's names, such as `TLSv1_2 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384`. |
| `> <line>` | Each line sent in the ticket dialogue. | `SESSION <ticket>`, `BANNER `, `THUMBPRINT_SHA2 <tag>` or, on a legacy host, `THUMBPRINT <tag>`, `PROXY nfcssl` or `PROXY nfc`. |
| `< <line>` | Each line the host answered. | The host's reply, such as `220 ...` or `200 <thumbprint>`. |
| `second session tls <version> <suite>` | After the second TLS handshake, `--transport nfcssl` only. | As above. |
| `> handshake type <n>` | Each handshake message sent. | The message type: 43, 33 and 51 are sent, then 54, 55 and 52 after the host's replies; only 43 and 33 on a legacy host. |
| `< handshake type <n>` | Each handshake message received. | The message type: 36 and 51 after the first three, 52 after the last three; only 36 on a legacy host. |
| `open: <capacity> bytes, sector size <n>` | After the host's open reply. | The disk's virtual capacity and its sector size, as reported; on a legacy host, the capacity the search found. |
| `capacity search: <n> reads from the <size> bytes the geometry gives` | After the open, on a legacy host. | The 512-byte reads the capacity search took, and the size the open reply's geometry gives. |
| `nbd option <n>: <outcome>` | After each NBD option. | The option number and how it was answered: `export`, `info`, `acknowledged`, `invalid` or `unsupported`. |
| `nbd export: <size> bytes` | When transmission starts. | The export size sent to the client. |
| `progress: served <n> GiB, compression ratio <r>, depth <d>` | Each time the bytes served cross a whole gibibyte. | Whole gibibytes served so far, wire bytes per served byte with two decimals, and the depth in use. |
| `summary: bytes served <n>, wire bytes <n>, host reads <n>, elapsed <s> s` | When the session ends, before `Logout`. | Bytes served to the client, bytes received from the host for them, host reads issued, and the seconds since negotiation began, with one decimal. |
`fingerprint --verbose` writes `<port> tls <version> <suite>` per port,
with `443` or the value of `--nfc-port` as the port, as each handshake
completes. When the data port refuses ECDHE, `<port> tls fallback: host
refused ECDHE, retrying with RSA key exchange` comes before that port's
line.
with `443` or the value of `--nfc-port` as the port.
## Ratios

View File

@@ -39,29 +39,6 @@ RUSTFLAGS="--remap-path-prefix=${CARGO_HOME:-$HOME/.cargo}=/cargo --remap-path-p
export RUSTFLAGS
unset CARGO_ENCODED_RUSTFLAGS
# OpenSSL, which is compiled from its sources, writes into the binary the date
# of its build and two absolute paths: the directory it is built in, under the
# target directory, and the compiler, a wrapper cargo-zigbuild keeps in its
# cache. No flag remaps them, so all three are the same on every machine. The
# two directories are named in the binary and never read: OpenSSL is built
# without the support for loading code at run time. Its configuration file is
# another matter, see the security model.
build=/tmp/vectura-build
# /tmp is shared: a directory someone else prepared could plant what gets
# linked into the binary.
mkdir -p "$build"
if [ -L "$build" ] || [ ! -O "$build" ]; then
echo "$build is not a directory of yours, refusing to build in it" >&2
exit 1
fi
chmod 700 "$build"
export CARGO_TARGET_DIR=$build/target
export CARGO_ZIGBUILD_CACHE_DIR=$build/zigbuild
export SOURCE_DATE_EPOCH=1
# cargo-zigbuild names the directory of that wrapper after its own path, which
# depends on the home directory: it runs from a copy at a fixed path.
install -m 755 "$(command -v cargo-zigbuild)" "$build/cargo-zigbuild"
"$build/cargo-zigbuild" zigbuild --locked --release --target x86_64-unknown-linux-gnu.2.31
cargo zigbuild --locked --release --target x86_64-unknown-linux-gnu.2.31
# the glibc suffix is for zig only: the binary lands under the plain triple
install -m 755 "$CARGO_TARGET_DIR/x86_64-unknown-linux-gnu/release/vectura" "$out"
install -m 755 target/x86_64-unknown-linux-gnu/release/vectura "$out"

View File

@@ -297,21 +297,21 @@ fn report_parse(error: &clap::Error) -> ExitCode {
/// Probes both ports, then prints their thumbprints, management port first.
fn fingerprint(arguments: &Fingerprint) -> Result<(), Failure> {
let HostPort { host, port } = &arguments.host;
let transcript = Transcript::new(arguments.verbose);
let management = tls::connect(host, *port)
.and_then(|mut stream| tls::capture(&mut stream, host))
.map_err(|source| Failure::Management {
address: format!("{host}:{port}"),
source,
})?;
transcript.tls(&port.to_string(), management.version, management.suite);
let data =
nfc::capture(host, arguments.nfc_port, transcript).map_err(|source| Failure::Data {
address: format!("{host}:{}", arguments.nfc_port),
source,
})?;
transcript.tls(&arguments.nfc_port.to_string(), data.version, data.suite);
let data = nfc::capture(host, arguments.nfc_port).map_err(|source| Failure::Data {
address: format!("{host}:{}", arguments.nfc_port),
source,
})?;
let presented = [(*port, management), (arguments.nfc_port, data)];
let transcript = Transcript::new(arguments.verbose);
for (port, presented) in &presented {
transcript.tls(&port.to_string(), presented.version, presented.suite);
}
let mut stdout = io::stdout().lock();
for (port, presented) in &presented {
writeln!(

View File

@@ -21,7 +21,7 @@ use std::net::TcpStream;
use std::num::NonZeroUsize;
use std::str::FromStr;
use rustls::Stream;
use rustls::{ClientConnection, Stream};
use rustls_pki_types::CertificateDer;
use crate::transcript::Transcript;
@@ -64,19 +64,19 @@ pub enum Transport {
}
impl Transport {
/// The dialogue line asking for this transport, without its line end,
/// and the whole reply granting it.
///
/// With `vpxa`, it is asked of vpxa, the vCenter's agent on the host,
/// instead of hostd: the hostd of an ESXi 6.5 or 6.7 host drops a
/// ticket its vCenter issued as not found, since the vCenter
/// registered it with vpxa.
const fn proxy(self, vpxa: bool) -> (&'static str, &'static str) {
match (self, vpxa) {
(Transport::Nfcssl, false) => ("PROXY nfcssl", "200 Connect ha-nfcssl"),
(Transport::Nfc, false) => ("PROXY nfc", "200 Connect ha-nfc"),
(Transport::Nfcssl, true) => ("PROXY vpxa-nfcssl", "200 Connect vpxa-nfcssl"),
(Transport::Nfc, true) => ("PROXY vpxa-nfc", "200 Connect vpxa-nfc"),
/// The dialogue line asking for this transport, without its line end.
const fn proxy(self) -> &'static str {
match self {
Transport::Nfcssl => "PROXY nfcssl",
Transport::Nfc => "PROXY nfc",
}
}
/// The whole reply granting this transport; nothing else is written before it.
const fn granted(self) -> &'static str {
match self {
Transport::Nfcssl => "200 Connect ha-nfcssl",
Transport::Nfc => "200 Connect ha-nfc",
}
}
}
@@ -171,11 +171,6 @@ pub enum Error {
/// The SHA-256 thumbprint of the certificate the first session verified.
presented: String,
},
/// The connection reopened for RSA key exchange was greeted differently.
#[error(
"greeting: the host announced other capabilities on the connection reopened for RSA key exchange"
)]
GreetingChanged,
/// The second TLS session did not present the certificate the first one did.
#[error("the second tls session presented another certificate than the first")]
Certificate,
@@ -335,54 +330,14 @@ pub fn read_greeting<R: Read>(reader: &mut R) -> Result<greeting::Greeting, Erro
/// Reads a host's data-port greeting, then captures the certificate TLS presents.
///
/// TLS starts on the same connection right after the greeting line,
/// whatever capabilities it announces. A host that refuses the ECDHE suites
/// is asked again on a new connection, with RSA key exchange, which
/// `transcript` says under the port's number. That connection must be
/// greeted as the first one was.
/// whatever capabilities it announces.
///
/// # Errors
/// When connecting, reading the greeting or the TLS handshake fails, or the
/// reopened connection is greeted differently.
pub(crate) fn capture(
host: &str,
port: u16,
transcript: Transcript,
) -> Result<tls::Presented, Error> {
/// When connecting, reading the greeting or the TLS handshake fails.
pub(crate) fn capture(host: &str, port: u16) -> Result<tls::Presented, Error> {
let mut stream = tls::connect(host, port)?;
let greeted = read_greeting(&mut stream)?;
match tls::capture(&mut stream, host) {
Err(error) if error.refused_suites() => {
transcript.fallback(&port.to_string());
let (stream, again) = greet_again(host, port)?;
// Another greeting means another peer: its certificate is not
// the data port's.
if again != greeted {
return Err(Error::GreetingChanged);
}
Ok(tls::capture_rsa_kx(&stream)?)
}
presented => Ok(presented?),
}
}
/// Opens a new connection to a host that refused the ECDHE suites, past its greeting.
///
/// The refusal is a fatal alert, after which the host closes the connection,
/// so the RSA key exchange retry cannot reuse it. The greeting read on the
/// new connection is returned for the caller to compare with the first one.
fn greet_again(host: &str, port: u16) -> Result<(TcpStream, greeting::Greeting), Error> {
let mut stream = tls::connect(host, port)?;
let greeted = read_greeting(&mut stream)?;
Ok((stream, greeted))
}
/// The byte stream of `session`, whose records travel on `stream`.
fn wire<'a>(session: &'a mut tls::Session, stream: &'a mut TcpStream) -> Box<dyn Wire + 'a> {
match session {
tls::Session::Ecdhe(connection) => Box::new(Stream::new(&mut **connection, stream)),
// The session owns its clone of the socket.
tls::Session::RsaKx(session) => Box::new(session),
}
read_greeting(&mut stream)?;
Ok(tls::capture(&mut stream, host)?)
}
/// An established data session, ready to open a disk.
@@ -398,7 +353,7 @@ pub struct Connection {
/// What carries the disk session: the second TLS session, or the socket in clear.
#[derive(Debug)]
enum Plane {
Tls(tls::Session),
Tls(Box<ClientConnection>),
Clear,
}
@@ -415,14 +370,9 @@ impl Connection {
/// present the certificate `pin` names, which is the ticket's thumbprint;
/// `secret` is the ticket presented in that session. With `nfcssl` the
/// second TLS session must present the same certificate; with `nfc` the
/// connection goes on in clear. A host that refuses the ECDHE suites is
/// connected to again and both sessions use RSA key exchange, under the
/// same pin. `vcenter` says a vCenter issued the ticket: a legacy host
/// is then asked for the transport of vpxa, the vCenter's agent on the
/// host; since vCenter 7.0 U1, hostd serves a vCenter's tickets, as it
/// does a host's own. The handshake, hello, version and capabilities
/// exchanges follow, each waiting for its reply; a legacy host gets the
/// start of the handshake alone.
/// connection goes on in clear. The handshake, hello, version and
/// capabilities exchanges follow, each waiting for its reply; a legacy
/// host gets the start of the handshake alone.
///
/// # Errors
/// When any phase fails, naming that phase.
@@ -432,7 +382,6 @@ impl Connection {
secret: &str,
pin: &tls::Pin,
transport: Transport,
vcenter: bool,
transcript: Transcript,
) -> Result<Connection, Error> {
let mut stream = tls::connect(host, port)?;
@@ -446,53 +395,33 @@ impl Connection {
greeted.require(greeting::NFCSSL_SUPPORTED)?;
}
let client = tls::Client::new(&tls::Trust::Pin(pin.clone()))?;
let mut first = match client.handshake(&mut stream, host) {
Ok(connection) => tls::Session::Ecdhe(Box::new(connection)),
Err(error) if error.refused_suites() => {
transcript.fallback("first session");
let (reopened, again) = greet_again(host, port)?;
// The dialect and transport were chosen from the first
// greeting: another one means another peer or another state.
if again != greeted {
return Err(Error::GreetingChanged);
}
stream = reopened;
tls::rsa_kx(&stream, pin)?
}
Err(error) => return Err(error.into()),
};
let (version, suite) = first.negotiated()?;
let mut first = client.handshake(&mut stream, host)?;
let (version, suite) = tls::negotiated(&first)?;
transcript.tls("first session", version, suite);
let certificate = first.certificate()?;
let certificate = tls::peer_certificate(&first)?;
let tag = draw_tag()?;
dialogue(
&mut wire(&mut first, &mut stream),
&mut Stream::new(&mut first, &mut stream),
secret,
&tag,
&certificate,
transport.proxy(vcenter && dialect == Dialect::Legacy),
transport,
dialect,
transcript,
)?;
// The PROXY reply is the last thing the host sends in the first
// session, so nothing of it is left unread; dropping the connection
// without a close notify keeps the stream clear for what follows.
let fallback = matches!(first, tls::Session::RsaKx(_));
drop(first);
let plane = match transport {
Transport::Nfcssl => {
// The host that refused ECDHE once is not offered it again.
let session = if fallback {
tls::rsa_kx(&stream, pin)?
} else {
tls::Session::Ecdhe(Box::new(client.handshake(&mut stream, host)?))
};
let (version, suite) = session.negotiated()?;
let session = client.handshake(&mut stream, host)?;
let (version, suite) = tls::negotiated(&session)?;
transcript.tls("second session", version, suite);
if session.certificate()? != certificate {
if tls::peer_certificate(&session)? != certificate {
return Err(Error::Certificate);
}
Plane::Tls(session)
Plane::Tls(Box::new(session))
}
Transport::Nfc => Plane::Clear,
};
@@ -658,7 +587,7 @@ impl Connection {
fn data(&mut self) -> Box<dyn Wire + '_> {
match &mut self.plane {
Plane::Tls(session) => wire(session, &mut self.stream),
Plane::Tls(session) => Box::new(Stream::new(&mut **session, &mut self.stream)),
Plane::Clear => Box::new(&mut self.stream),
}
}
@@ -728,14 +657,14 @@ fn draw_tag() -> Result<[u8; handshake::TAG_LEN], Error> {
/// `200 <hash>`, where the hash must be the SHA-256 thumbprint of the
/// certificate this session verified; a legacy host is asked `THUMBPRINT
/// <tag>` instead, and its reply, a SHA-1 hash, must only start with `200 `.
/// The `PROXY` line, from [`Transport::proxy`], must be answered with
/// exactly the line granting it; nothing else is written before that.
/// The `PROXY` line asking for `transport` must be answered with exactly
/// the line granting it; nothing else is written before that.
fn dialogue<S: Read + Write>(
stream: &mut S,
secret: &str,
tag: &[u8; handshake::TAG_LEN],
certificate: &CertificateDer<'_>,
(proxy, granted): (&'static str, &'static str),
transport: Transport,
dialect: Dialect,
transcript: Transcript,
) -> Result<(), Error> {
@@ -776,13 +705,17 @@ fn dialogue<S: Read + Write>(
});
}
}
send(stream, format!("{proxy}\r\n").as_bytes(), "dialogue")?;
transcript.sent(proxy);
send(
stream,
format!("{}\r\n", transport.proxy()).as_bytes(),
"dialogue",
)?;
transcript.sent(transport.proxy());
let answer = reply(stream)?;
transcript.received(&answer);
if answer != granted {
if answer != transport.granted() {
return Err(Error::Dialogue {
command: proxy,
command: transport.proxy(),
reply: answer,
});
}
@@ -1197,76 +1130,10 @@ mod tests {
use super::*;
use greeting::ESXI_8;
use std::io::Cursor;
use std::net::TcpListener;
use std::thread;
const TAG: &[u8; 16] = b"ABCDEFGHIJKLMNOP";
const QUIET: Transcript = Transcript::new(false);
/// A fatal `handshake_failure` alert, as one TLS 1.2 record.
const HANDSHAKE_FAILURE: [u8; 7] = [0x15, 0x03, 0x03, 0x00, 0x02, 0x02, 0x28];
/// A host that refuses ECDHE, then greets the reopened connection as another peer.
///
/// Returns its port and what the client wrote on the reopened connection.
fn greeting_differently_after_refusing_ecdhe() -> (u16, thread::JoinHandle<Vec<u8>>) {
let listener = TcpListener::bind("127.0.0.1:0").unwrap();
let port = listener.local_addr().unwrap().port();
let host = thread::spawn(move || {
let (mut first, _) = listener.accept().unwrap();
first.write_all(ESXI_8).unwrap();
let mut header = [0_u8; 5];
first.read_exact(&mut header).unwrap();
let mut hello = vec![0_u8; usize::from(u16::from_be_bytes([header[3], header[4]]))];
first.read_exact(&mut hello).unwrap();
first.write_all(&HANDSHAKE_FAILURE).unwrap();
drop(first);
let (mut second, _) = listener.accept().unwrap();
second
.write_all(b"220 VMware Authentication Daemon Version 1.10: SSL Required, NFCSSL supported/t\r\n")
.unwrap();
let mut received = Vec::new();
// The client leaves at once; whatever it wrote first is returned.
let _ = second.read_to_end(&mut received);
received
});
(port, host)
}
#[test]
fn a_host_greeting_differently_after_refusing_ecdhe_is_not_offered_rsa_key_exchange() {
let (port, host) = greeting_differently_after_refusing_ecdhe();
let pin = tls::Pin::sha256(&tls::sha256(b"a certificate")).unwrap();
let error = Connection::establish(
"127.0.0.1",
port,
"ticket",
&pin,
Transport::Nfcssl,
false,
QUIET,
)
.unwrap_err();
assert!(matches!(error, Error::GreetingChanged), "{error:?}");
assert_eq!(
error.to_string(),
"greeting: the host announced other capabilities on the connection reopened for RSA key exchange"
);
assert!(host.join().unwrap().is_empty(), "no handshake was started");
}
#[test]
fn a_capture_greeted_differently_after_refusing_ecdhe_reports_no_thumbprint() {
let (port, host) = greeting_differently_after_refusing_ecdhe();
let error = capture("127.0.0.1", port, QUIET).unwrap_err();
assert!(matches!(error, Error::GreetingChanged), "{error:?}");
assert!(host.join().unwrap().is_empty(), "no handshake was started");
}
/// A scripted peer: replies come from `input`, each write the client makes lands in `writes`.
///
/// Reads time out until `unlock_at` bytes have been written, the way a
@@ -1436,7 +1303,7 @@ mod tests {
"ticket-0",
TAG,
&certificate(),
Transport::Nfcssl.proxy(false),
Transport::Nfcssl,
Dialect::Modern,
QUIET,
)
@@ -1461,7 +1328,7 @@ mod tests {
"ticket-0",
TAG,
&certificate(),
Transport::Nfc.proxy(false),
Transport::Nfc,
Dialect::Modern,
QUIET,
)
@@ -1483,7 +1350,7 @@ mod tests {
"ticket-0",
TAG,
&certificate(),
Transport::Nfc.proxy(false),
Transport::Nfc,
Dialect::Modern,
QUIET,
)
@@ -1504,7 +1371,7 @@ mod tests {
"ticket-0",
TAG,
&certificate(),
Transport::Nfcssl.proxy(false),
Transport::Nfcssl,
Dialect::Modern,
QUIET,
)
@@ -1526,7 +1393,7 @@ mod tests {
"ticket-0",
TAG,
&certificate(),
Transport::Nfcssl.proxy(false),
Transport::Nfcssl,
Dialect::Modern,
QUIET,
)
@@ -1549,7 +1416,7 @@ mod tests {
"ticket-0",
TAG,
&certificate(),
Transport::Nfcssl.proxy(false),
Transport::Nfcssl,
Dialect::Modern,
QUIET,
)
@@ -1578,7 +1445,7 @@ mod tests {
"ticket-0",
TAG,
&certificate(),
Transport::Nfcssl.proxy(false),
Transport::Nfcssl,
Dialect::Modern,
QUIET,
)
@@ -1599,7 +1466,7 @@ mod tests {
"ticket-0",
TAG,
&certificate(),
Transport::Nfcssl.proxy(false),
Transport::Nfcssl,
Dialect::Modern,
QUIET,
)
@@ -2139,7 +2006,7 @@ mod tests {
"ticket-0",
TAG,
&certificate(),
Transport::Nfcssl.proxy(false),
Transport::Nfcssl,
Dialect::Legacy,
QUIET,
)
@@ -2160,7 +2027,7 @@ mod tests {
"ticket-0",
TAG,
&certificate(),
Transport::Nfcssl.proxy(false),
Transport::Nfcssl,
Dialect::Legacy,
QUIET,
)

View File

@@ -139,7 +139,6 @@ fn export<R: Read + Send + 'static, W: Write>(
&ticket.secret,
&ticket.thumbprint,
target.transport,
session.vcenter(),
target.transcript,
)?;
let disk = match connection.open(&target.disk) {

View File

@@ -144,7 +144,6 @@ pub struct Session {
port: u16,
client: tls::Client,
manager: String,
vcenter: bool,
cookie: Cookie,
transcript: Transcript,
}
@@ -174,7 +173,7 @@ impl Session {
&this(SERVICE_INSTANCE, SERVICE_INSTANCE),
transcript,
)?;
let (manager, vcenter) = service_content(&String::from_utf8_lossy(&content.body))?;
let manager = service_content(&String::from_utf8_lossy(&content.body))?;
let inner = format!(
"{}<userName>{}</userName><password>{}</password>",
this("SessionManager", &manager),
@@ -199,18 +198,11 @@ impl Session {
port,
client,
manager,
vcenter,
cookie: Cookie(cookie),
transcript,
})
}
/// Whether a vCenter answered, as its service content's `about.apiType` states.
#[must_use]
pub const fn vcenter(&self) -> bool {
self.vcenter
}
/// Asks the NFC service for a fresh ticket to the files of the VM `vm_id` names.
///
/// # Errors
@@ -311,15 +303,12 @@ fn this(kind: &str, reference: &str) -> String {
format!("<_this type=\"{kind}\">{}</_this>", escape(reference))
}
/// Returns the session manager the service content names, and whether
/// `about.apiType` says a vCenter answered.
fn service_content(content: &str) -> Result<(String, bool), Error> {
let manager = element(content, "sessionManager").ok_or(Error::Missing {
/// Returns the session manager the service content names.
fn service_content(content: &str) -> Result<String, Error> {
element(content, "sessionManager").ok_or(Error::Missing {
call: "RetrieveServiceContent",
element: "sessionManager",
})?;
let vcenter = element(content, "apiType").as_deref() == Some("VirtualCenter");
Ok((manager, vcenter))
})
}
/// Reads the ticket out of an `NfcGetVmFiles` reply.
@@ -409,7 +398,6 @@ mod tests {
))
.unwrap(),
manager: "ha-sessionmgr".to_owned(),
vcenter: false,
cookie: Cookie("vmware_soap_session=\"mock-cookie\"".to_owned()),
transcript: Transcript::new(false),
};
@@ -486,22 +474,16 @@ mod tests {
#[test]
fn an_esxi_service_content_yields_its_session_manager() {
assert_eq!(
service_content(SERVICE_CONTENT).unwrap(),
("ha-sessionmgr".to_owned(), false)
);
assert_eq!(service_content(SERVICE_CONTENT).unwrap(), "ha-sessionmgr");
}
#[test]
fn a_vcenter_service_content_yields_its_session_manager_and_says_so() {
fn a_vcenter_service_content_yields_its_session_manager() {
let content = SERVICE_CONTENT
.replace("HostAgent", "VirtualCenter")
.replace("ha-sessionmgr", "SessionManager");
assert_eq!(
service_content(&content).unwrap(),
("SessionManager".to_owned(), true)
);
assert_eq!(service_content(&content).unwrap(), "SessionManager");
}
#[test]

View File

@@ -5,10 +5,6 @@
//! accept-everything verifier never leaves this module: [`capture`] runs a TLS
//! handshake with it, sends nothing afterwards and drops the connection
//! before returning.
//!
//! rustls only knows ECDHE key exchange. A data port that refuses it is
//! retried through [`rsa_kx`], which the `legacy` module runs on OpenSSL; a
//! [`Session`] is either of the two.
use std::fmt;
use std::io;
@@ -17,19 +13,15 @@ use std::sync::{Arc, Mutex, PoisonError};
use std::time::Duration;
use aws_lc_rs::digest;
use openssl::error::ErrorStack;
use openssl::ssl::SslStream;
use rustls::client::danger::{HandshakeSignatureValid, ServerCertVerified, ServerCertVerifier};
use rustls::crypto::aws_lc_rs::default_provider;
use rustls::crypto::{CryptoProvider, verify_tls12_signature, verify_tls13_signature};
use rustls::{
AlertDescription, CertificateError, CipherSuite, ClientConfig, ClientConnection,
DigitallySignedStruct, ProtocolVersion, RootCertStore, SignatureScheme,
CertificateError, CipherSuite, ClientConfig, ClientConnection, DigitallySignedStruct,
ProtocolVersion, RootCertStore, SignatureScheme,
};
use rustls_pki_types::{CertificateDer, InvalidDnsNameError, ServerName, UnixTime};
mod legacy;
/// How long a TCP connect may take before the host counts as unreachable.
///
/// Ten seconds: a host on the same network answers within milliseconds, and
@@ -83,68 +75,6 @@ pub enum Error {
/// rustls rejected the client configuration.
#[error("tls configuration rejected: {0}")]
Config(#[source] rustls::Error),
/// OpenSSL rejected the configuration of the RSA key exchange fallback.
#[error("tls configuration rejected: {0}")]
LegacyConfig(#[source] ErrorStack),
/// The host refused the ECDHE suites, then the RSA key exchange ones.
#[error("host refused every supported TLS suite (ECDHE, then RSA key exchange with AES-GCM)")]
NoCommonSuite,
}
impl Error {
/// Whether the host answered the handshake with a `handshake_failure` alert.
///
/// That alert is how a server says it shares no cipher suite with the
/// client. Nothing else counts: a refused certificate, a closed socket or
/// a timeout must never lead to the RSA key exchange fallback.
#[must_use]
pub(crate) fn refused_suites(&self) -> bool {
let Error::TlsHandshake(error) = self else {
return false;
};
error
.get_ref()
.and_then(|inner| inner.downcast_ref::<rustls::Error>())
.is_some_and(|inner| {
matches!(
inner,
rustls::Error::AlertReceived(AlertDescription::HandshakeFailure)
)
})
}
}
/// A completed TLS session on a data port, by the stack that negotiated it.
#[derive(Debug)]
pub(crate) enum Session {
/// rustls, with ECDHE key exchange: every host that offers it.
Ecdhe(Box<ClientConnection>),
/// OpenSSL, with RSA key exchange: a host that refused ECDHE.
RsaKx(SslStream<TcpStream>),
}
impl Session {
/// The protocol version and cipher suite the session negotiated.
///
/// # Errors
/// When the session has not completed its handshake.
pub(crate) fn negotiated(&self) -> Result<(ProtocolVersion, CipherSuite), Error> {
match self {
Session::Ecdhe(connection) => negotiated(connection),
Session::RsaKx(session) => legacy::negotiated(session),
}
}
/// The first certificate of the chain the peer sent, DER encoded.
///
/// # Errors
/// When the session carries no certificate.
pub(crate) fn certificate(&self) -> Result<CertificateDer<'static>, Error> {
match self {
Session::Ecdhe(connection) => peer_certificate(connection),
Session::RsaKx(session) => legacy::certificate(session),
}
}
}
/// What a host presented during a TLS handshake that carried nothing else.
@@ -398,38 +328,6 @@ pub(crate) fn capture(stream: &mut TcpStream, host: &str) -> Result<Presented, E
})
}
/// Runs a TLS 1.2 handshake with RSA key exchange on `stream`, pinned to `pin`.
///
/// For a host that refused the ECDHE suites, on a fresh connection: the
/// refusal closed the first one. The session has no forward secrecy. Nothing
/// is written after the handshake when the certificate is not the pinned one.
///
/// # Errors
/// When the host refuses these suites too, presents another certificate, or
/// the TLS handshake fails or times out.
pub(crate) fn rsa_kx(stream: &TcpStream, pin: &Pin) -> Result<Session, Error> {
legacy::handshake(stream, Some(pin)).map(Session::RsaKx)
}
/// What a host that refused the ECDHE suites presents with RSA key exchange.
///
/// The counterpart of [`capture`]: any certificate is accepted, nothing is
/// sent after the TLS handshake, and the session is dropped on return.
///
/// # Errors
/// When the host refuses these suites too, or the TLS handshake fails, times
/// out or ends without a certificate.
pub(crate) fn capture_rsa_kx(stream: &TcpStream) -> Result<Presented, Error> {
let session = legacy::handshake(stream, None)?;
let certificate = legacy::certificate(&session)?;
let (version, suite) = legacy::negotiated(&session)?;
Ok(Presented {
certificate,
version,
suite,
})
}
/// The protocol version and cipher suite a completed session negotiated.
///
/// # Errors
@@ -707,10 +605,6 @@ mod tests {
sha1(&certificate)
)
);
assert!(
!error.refused_suites(),
"a refused certificate never leads to the fallback"
);
}
#[test]
@@ -745,33 +639,6 @@ mod tests {
assert!(matches!(error, Error::TlsHandshake(_)), "{error:?}");
}
#[test]
fn only_a_handshake_failure_alert_counts_as_refused_suites() {
let alert = |description| {
Error::TlsHandshake(io::Error::other(rustls::Error::AlertReceived(description)))
};
assert!(alert(AlertDescription::HandshakeFailure).refused_suites());
for other in [
AlertDescription::BadCertificate,
AlertDescription::ProtocolVersion,
AlertDescription::InsufficientSecurity,
AlertDescription::InternalError,
] {
assert!(!alert(other).refused_suites(), "{other:?}");
}
for kind in [
io::ErrorKind::ConnectionReset,
io::ErrorKind::UnexpectedEof,
io::ErrorKind::TimedOut,
] {
assert!(
!Error::TlsHandshake(kind.into()).refused_suites(),
"{kind:?}"
);
}
assert!(!Error::NoCommonSuite.refused_suites());
}
#[test]
fn a_timeout_is_described_as_such_and_other_errors_keep_their_message() {
let timeout = io::Error::from(io::ErrorKind::WouldBlock);

View File

@@ -1,326 +0,0 @@
//! TLS 1.2 with RSA key exchange, for a data port that offers nothing else.
//!
//! The data port of some ESXi 6.5 hosts accepts no ECDHE suite, and rustls
//! implements no other key exchange. This module runs the handshake with
//! OpenSSL instead, restricted to the two AES-GCM suites of RFC 5288 that use
//! RSA key exchange. Such a session has no forward secrecy: whoever later
//! obtains the host's private key can decrypt a recording of it.
//!
//! No chain and no host name are checked here. The certificate is judged by
//! its thumbprint alone, before the session is handed to the caller. The
//! handshake has by then sent `ClientKeyExchange` and `Finished`, but no
//! ticket and no application data reach a host that presented another
//! certificate.
// Rust guideline compliant 2026-10-09
use std::io;
use std::net::TcpStream;
use openssl::error::ErrorStack;
use openssl::ssl::{
HandshakeError, Ssl, SslContext, SslMethod, SslStream, SslVerifyMode, SslVersion,
};
use rustls::{CipherSuite, ProtocolVersion};
use rustls_pki_types::CertificateDer;
use super::{Error, Pin};
/// The suites offered, in OpenSSL's names: RSA key exchange with AES-GCM.
///
/// `TLS_RSA_WITH_AES_256_GCM_SHA384` and `TLS_RSA_WITH_AES_128_GCM_SHA256`.
/// The CBC suites a host may also accept are left out: they would add the
/// padding-oracle exposure of MAC-then-encrypt for no host known to need them.
const SUITES: &str = "AES256-GCM-SHA384:AES128-GCM-SHA256";
/// OpenSSL's reason code for a `handshake_failure` alert received from the peer.
///
/// `SSL_R_SSLV3_ALERT_HANDSHAKE_FAILURE`: 1000 (`SSL_AD_REASON_OFFSET`) plus
/// the alert's number, 40. A server sends this alert when it shares no suite
/// with the client.
const HANDSHAKE_FAILURE_ALERT: i32 = 1040;
/// OpenSSL's number for its SSL library, `ERR_LIB_SSL`.
///
/// Reason codes are numbered per library: 1040 names the alert only in an
/// error the SSL library raised.
const SSL_LIBRARY: i32 = 20;
/// Runs the TLS handshake on a clone of `stream` and returns the session.
///
/// With a `pin`, the certificate presented must match it; without one any
/// certificate is accepted, which only a thumbprint capture wants. The
/// session owns its clone of the socket: dropping it sends no close notify
/// and leaves `stream` open.
///
/// # Errors
/// When the host refuses both suites, presents another certificate than the
/// pinned one, or the handshake fails or times out.
pub(super) fn handshake(
stream: &TcpStream,
pin: Option<&Pin>,
) -> Result<SslStream<TcpStream>, Error> {
let ssl = configure().map_err(Error::LegacyConfig)?;
let socket = stream.try_clone().map_err(Error::TlsHandshake)?;
let session = ssl.connect(socket).map_err(failure)?;
if let Some(pin) = pin {
let presented = certificate(&session)?;
if !pin.matches(&presented) {
return Err(Error::Mismatch {
expected: pin.clone(),
presented: pin.digest_of(&presented),
});
}
}
Ok(session)
}
/// The first certificate the peer of `session` sent, DER encoded.
///
/// # Errors
/// When the session carries no certificate.
pub(super) fn certificate(
session: &SslStream<TcpStream>,
) -> Result<CertificateDer<'static>, Error> {
session
.ssl()
.peer_certificate()
.and_then(|certificate| certificate.to_der().ok())
.map(CertificateDer::from)
.ok_or(Error::Incomplete("a certificate"))
}
/// The protocol version and cipher suite `session` negotiated.
///
/// # Errors
/// When the session reports no suite, or another version than TLS 1.2.
pub(super) fn negotiated(
session: &SslStream<TcpStream>,
) -> Result<(ProtocolVersion, CipherSuite), Error> {
if session.ssl().version2() != Some(SslVersion::TLS1_2) {
return Err(Error::Incomplete("a protocol version"));
}
let suite = session
.ssl()
.current_cipher()
.ok_or(Error::Incomplete("a cipher suite"))?;
Ok((
ProtocolVersion::TLSv1_2,
CipherSuite::from(u16::from_be_bytes(suite.protocol_id())),
))
}
/// A client restricted to TLS 1.2 and [`SUITES`], with no chain verification.
fn configure() -> Result<Ssl, ErrorStack> {
let mut context = SslContext::builder(SslMethod::tls_client())?;
context.set_min_proto_version(Some(SslVersion::TLS1_2))?;
context.set_max_proto_version(Some(SslVersion::TLS1_2))?;
context.set_cipher_list(SUITES)?;
// The thumbprint is the whole verdict, given by `handshake`.
context.set_verify(SslVerifyMode::NONE);
Ssl::new(&context.build())
}
/// Turns a failed handshake into the error that names its cause.
fn failure(error: HandshakeError<TcpStream>) -> Error {
match error {
HandshakeError::SetupFailure(stack) => Error::LegacyConfig(stack),
// The socket carries a timeout, which OpenSSL reports as a retry.
HandshakeError::WouldBlock(_) => Error::TlsHandshake(io::ErrorKind::TimedOut.into()),
HandshakeError::Failure(interrupted) => {
let error = interrupted.into_error();
let refused = error.ssl_error().is_some_and(|stack| {
stack
.errors()
.iter()
.any(|entry| is_refusal(entry.library_code(), entry.reason_code()))
});
if refused {
Error::NoCommonSuite
} else {
Error::TlsHandshake(error.into_io_error().unwrap_or_else(io::Error::other))
}
}
}
}
/// Whether an error stack entry is the peer's `handshake_failure` alert.
fn is_refusal(library: i32, reason: i32) -> bool {
library == SSL_LIBRARY && reason == HANDSHAKE_FAILURE_ALERT
}
#[cfg(test)]
mod tests {
use std::io::Read;
use std::net::TcpListener;
use std::thread::{self, JoinHandle};
use openssl::asn1::Asn1Time;
use openssl::hash::MessageDigest;
use openssl::pkey::PKey;
use openssl::rsa::Rsa;
use openssl::x509::{X509, X509NameBuilder};
use super::super::{Client, Session, Trust, capture, capture_rsa_kx, connect, rsa_kx, sha256};
use super::*;
/// A self-signed certificate with an RSA key, which RSA key exchange needs.
fn issue() -> (X509, PKey<openssl::pkey::Private>) {
let key = PKey::from_rsa(Rsa::generate(2048).unwrap()).unwrap();
let mut name = X509NameBuilder::new().unwrap();
name.append_entry_by_text("CN", "esxi.test").unwrap();
let name = name.build();
let mut certificate = X509::builder().unwrap();
certificate.set_version(2).unwrap();
certificate.set_subject_name(&name).unwrap();
certificate.set_issuer_name(&name).unwrap();
certificate.set_pubkey(&key).unwrap();
certificate
.set_not_before(&Asn1Time::days_from_now(0).unwrap())
.unwrap();
certificate
.set_not_after(&Asn1Time::days_from_now(1).unwrap())
.unwrap();
certificate.sign(&key, MessageDigest::sha256()).unwrap();
(certificate.build(), key)
}
/// A loopback TLS 1.2 server offering `suites` alone, for `connections` clients.
///
/// The thread returns the bytes each client sent after its handshake, or
/// `None` when the handshake failed.
fn server(
suites: &'static str,
connections: usize,
) -> (
CertificateDer<'static>,
u16,
JoinHandle<Vec<Option<Vec<u8>>>>,
) {
let (certificate, key) = issue();
let der = CertificateDer::from(certificate.to_der().unwrap());
let mut context = SslContext::builder(SslMethod::tls_server()).unwrap();
context
.set_max_proto_version(Some(SslVersion::TLS1_2))
.unwrap();
context.set_cipher_list(suites).unwrap();
context.set_certificate(&certificate).unwrap();
context.set_private_key(&key).unwrap();
let context = context.build();
let listener = TcpListener::bind("127.0.0.1:0").unwrap();
let port = listener.local_addr().unwrap().port();
let served = thread::spawn(move || {
(0..connections)
.map(|_| {
let (stream, _) = listener.accept().unwrap();
let mut session = Ssl::new(&context).unwrap().accept(stream).ok()?;
let mut received = Vec::new();
// The client leaves without a close notify, which reads as an error.
let _ = session.read_to_end(&mut received);
Some(received)
})
.collect()
});
(der, port, served)
}
#[test]
fn an_rsa_only_host_refuses_rustls_then_completes_the_fallback_with_the_pinned_certificate() {
let (certificate, port, served) = server("AES256-GCM-SHA384", 2);
let pin = Pin::sha256(&sha256(&certificate)).unwrap();
let client = Client::new(&Trust::Pin(pin.clone())).unwrap();
let mut stream = connect("127.0.0.1", port).unwrap();
let refusal = client.handshake(&mut stream, "127.0.0.1").unwrap_err();
assert!(refusal.refused_suites(), "{refusal:?}");
let stream = connect("127.0.0.1", port).unwrap();
let session = rsa_kx(&stream, &pin).unwrap();
assert!(matches!(session, Session::RsaKx(_)));
assert_eq!(session.certificate().unwrap(), certificate);
assert_eq!(
session.negotiated().unwrap(),
(
ProtocolVersion::TLSv1_2,
CipherSuite::TLS_RSA_WITH_AES_256_GCM_SHA384
)
);
drop(session);
drop(stream);
assert_eq!(served.join().unwrap(), [None, Some(Vec::new())]);
}
#[test]
fn the_fallback_capture_reports_the_certificate_and_the_128_bit_suite() {
let (certificate, port, _) = server("AES128-GCM-SHA256", 1);
let stream = connect("127.0.0.1", port).unwrap();
let presented = capture_rsa_kx(&stream).unwrap();
assert_eq!(presented.certificate, certificate);
assert_eq!(presented.version, ProtocolVersion::TLSv1_2);
assert_eq!(
presented.suite,
CipherSuite::TLS_RSA_WITH_AES_128_GCM_SHA256
);
}
#[test]
fn a_pin_mismatch_on_the_fallback_is_refused_before_any_write() {
let (certificate, port, served) = server("AES256-GCM-SHA384", 1);
let pin = Pin::sha256(&sha256(b"another certificate")).unwrap();
let stream = connect("127.0.0.1", port).unwrap();
let error = rsa_kx(&stream, &pin).unwrap_err();
assert_eq!(
error.to_string(),
format!(
"certificate thumbprint mismatch: expected {pin}, the host presented {}",
sha256(&certificate)
)
);
assert!(!error.refused_suites());
drop(stream);
assert_eq!(served.join().unwrap(), [Some(Vec::new())]);
}
#[test]
fn a_host_offering_only_cbc_with_rsa_key_exchange_shares_no_suite() {
let (certificate, port, _) = server("AES256-SHA256", 2);
let mut stream = connect("127.0.0.1", port).unwrap();
let refusal = capture(&mut stream, "127.0.0.1").unwrap_err();
assert!(refusal.refused_suites(), "{refusal:?}");
let stream = connect("127.0.0.1", port).unwrap();
let error = rsa_kx(&stream, &Pin::sha256(&sha256(&certificate)).unwrap()).unwrap_err();
assert!(matches!(error, Error::NoCommonSuite), "{error:?}");
assert_eq!(
error.to_string(),
"host refused every supported TLS suite (ECDHE, then RSA key exchange with AES-GCM)"
);
}
#[test]
fn the_alert_reason_code_is_a_refusal_only_from_the_ssl_library() {
// 6 is ERR_LIB_EVP, whose reason codes are numbered on their own.
assert!(is_refusal(SSL_LIBRARY, HANDSHAKE_FAILURE_ALERT));
assert!(!is_refusal(6, HANDSHAKE_FAILURE_ALERT));
assert!(!is_refusal(SSL_LIBRARY, HANDSHAKE_FAILURE_ALERT + 1));
}
#[test]
fn a_host_that_closes_during_the_fallback_is_a_handshake_failure_not_a_refusal() {
let listener = TcpListener::bind("127.0.0.1:0").unwrap();
let port = listener.local_addr().unwrap().port();
let closing = thread::spawn(move || drop(listener.accept().unwrap()));
let stream = connect("127.0.0.1", port).unwrap();
closing.join().unwrap();
let error = capture_rsa_kx(&stream).unwrap_err();
assert!(matches!(error, Error::TlsHandshake(_)), "{error:?}");
assert!(!error.refused_suites());
}
}

View File

@@ -45,14 +45,7 @@ impl Transcript {
/// The protocol version and cipher suite the TLS session at `place` negotiated.
pub fn tls(&self, place: &str, version: ProtocolVersion, suite: CipherSuite) {
self.line(&format!("{place} tls {version:?} {}", suite_name(suite)));
}
/// That the data port refused the ECDHE suites at `place` and is asked again.
pub fn fallback(&self, place: &str) {
self.line(&format!(
"{place} tls fallback: host refused ECDHE, retrying with RSA key exchange"
));
self.line(&format!("{place} tls {version:?} {suite:?}"));
}
/// A dialogue line sent to the host, without its line end; never the ticket.
@@ -125,18 +118,6 @@ impl Transcript {
}
}
/// The IANA name of `suite`.
///
/// rustls prints the name of the suites it implements and a bare number for
/// the others, which the two RSA key exchange suites of the fallback are.
fn suite_name(suite: CipherSuite) -> String {
match u16::from(suite) {
0x009C => "TLS_RSA_WITH_AES_128_GCM_SHA256".to_owned(),
0x009D => "TLS_RSA_WITH_AES_256_GCM_SHA384".to_owned(),
_ => format!("{suite:?}"),
}
}
/// `wire` over `logical` with two decimals, in integer arithmetic; 0.00 before any byte.
fn ratio(wire: u64, logical: u64) -> String {
let hundredths = wire.saturating_mul(100) / logical.max(1);
@@ -147,18 +128,6 @@ fn ratio(wire: u64, logical: u64) -> String {
mod tests {
use super::*;
#[test]
fn a_suite_is_named_whether_or_not_rustls_implements_it() {
for (suite, expected) in [
(0x009C, "TLS_RSA_WITH_AES_128_GCM_SHA256"),
(0x009D, "TLS_RSA_WITH_AES_256_GCM_SHA384"),
(0x1302, "TLS13_AES_256_GCM_SHA384"),
(0xC02F, "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"),
] {
assert_eq!(suite_name(CipherSuite::from(suite)), expected);
}
}
#[test]
fn the_ratio_has_two_decimals_and_is_zero_before_any_byte() {
for (wire, logical, expected) in [

View File

@@ -3,7 +3,7 @@
use std::net::TcpListener;
use std::process::{Command, Output};
use crate::support::{DataPort, GREETING, GREETING_WITHOUT_SHA256, Host, Observed, Scenario, text};
use crate::support::{DataPort, GREETING, GREETING_WITHOUT_SHA256, Host, Observed, text};
/// Runs the built binary with `args` and waits for it.
fn vectura(args: &[&str]) -> Output {
@@ -161,69 +161,3 @@ fn a_refused_data_port_fails_naming_its_address() {
failure_naming(&output, &format!("127.0.0.1:{data}"));
assert!(host.management().handshake_completed);
}
/// A host whose data port accepts `suites` alone, like an ESXi 6.5 one.
fn restricted_to(suites: &'static str) -> Host {
Host::start(Scenario {
data: DataPort::Greeting(GREETING_WITHOUT_SHA256),
data_suites: Some(suites),
..Scenario::default()
})
}
#[test]
fn an_rsa_only_data_port_is_fingerprinted_through_the_fallback() {
let host = restricted_to("AES256-GCM-SHA384");
let output = fingerprint(&host, true);
assert_eq!(
output.status.code(),
Some(0),
"stderr: {}",
text(&output.stderr)
);
assert_eq!(text(&output.stdout), expected_stdout(&host));
let refused = host.data();
assert!(
refused.handshake_started && !refused.handshake_completed,
"the ECDHE offer is refused first: {refused:?}"
);
let accepted = host.data();
assert_eq!(
accepted.suite.as_deref(),
Some("TLS_RSA_WITH_AES_256_GCM_SHA384")
);
assert_eq!(
accepted.bytes_after_tls_handshake, 0,
"nothing is sent after the TLS handshake: {accepted:?}"
);
let expected = verbose_line(host.management_port, &host.management())
+ &format!(
"{} tls fallback: host refused ECDHE, retrying with RSA key exchange\n",
host.data_port
)
+ &verbose_line(host.data_port, &accepted);
assert_eq!(text(&output.stderr), expected);
}
#[test]
fn a_data_port_with_no_common_suite_fails_naming_the_cause() {
// CBC with RSA key exchange: neither rustls nor the fallback offers it.
let host = restricted_to("AES256-SHA256");
let output = fingerprint(&host, false);
let stderr = failure_naming(&output, &format!("127.0.0.1:{}", host.data_port));
assert!(
stderr.contains(
"host refused every supported TLS suite (ECDHE, then RSA key exchange with AES-GCM)"
),
"{stderr}"
);
assert!(!stderr.contains("HandshakeFailure"), "{stderr}");
for _ in 0..2 {
let refused = host.data();
assert!(!refused.handshake_completed, "{refused:?}");
}
}

View File

@@ -446,24 +446,6 @@ fn a_vcenter_serves_the_disk_from_the_host_its_ticket_names() {
healthy_session(&events, 1);
}
#[test]
fn a_legacy_host_through_a_vcenter_is_asked_for_the_transport_of_vpxa() {
// The mock grants a vCenter's ticket on a legacy host to vpxa only.
let host = Host::start(Scenario {
data: DataPort::Greeting(GREETING_WITHOUT_SHA256),
vcenter: true,
..Scenario::default()
});
let mut child = spawn(&host, Some(PASSWORD), &pin(&host));
negotiate(&mut child, true);
let events = session_ends_cleanly(&host, child);
assert!(
events.contains(&Event::Proxy("vpxa-nfcssl".to_owned())),
"{events:?}"
);
}
#[test]
fn a_refused_login_reports_the_fault_without_the_password() {
let fault = "Cannot complete login due to an incorrect user name or password.";
@@ -600,123 +582,6 @@ fn a_legacy_host_exports_the_capacity_its_reads_reveal_and_serves_the_disk_bytes
);
}
/// A legacy host whose data port accepts RSA key exchange alone, like an ESXi 6.5 one.
///
/// Its ticket carries the SHA-1 thumbprint of `ticket_thumbprint`.
fn rsa_only(ticket_thumbprint: Thumbprint) -> Scenario {
Scenario {
data: DataPort::Greeting(GREETING_WITHOUT_SHA256),
data_suites: Some("AES256-GCM-SHA384"),
ticket_thumbprint,
..Scenario::default()
}
}
#[test]
fn a_host_that_refuses_ecdhe_serves_the_disk_over_rsa_key_exchange_in_both_sessions() {
let capacity = Scenario::default().capacity;
let host = Host::start(rsa_only(Thumbprint::Own));
let mut child = spawn(&host, Some(PASSWORD), &pinned(&host, &["--verbose"]));
let export = negotiate(&mut child, true);
let first = read_at(&mut child, 1, 0, 4 * MIB);
let last = read_at(&mut child, 2, capacity - SECTOR, SECTOR);
disconnect(&mut child);
let output = finish(child);
assert_eq!(
output.status.code(),
Some(0),
"stderr: {}",
text(&output.stderr)
);
assert_eq!(export.size, capacity);
matches_disk(&first, 0, 4 * MIB);
matches_disk(&last, capacity - SECTOR, SECTOR);
let refused = host.data();
assert!(
refused.handshake_started && !refused.handshake_completed,
"the ECDHE offer is refused first: {refused:?}"
);
let served = host.data();
assert!(served.second_handshake, "{served:?}");
let stderr = text(&output.stderr);
let lines = [
"first session tls fallback: host refused ECDHE, retrying with RSA key exchange\n\
first session tls TLSv1_2 TLS_RSA_WITH_AES_256_GCM_SHA384\n",
"second session tls TLSv1_2 TLS_RSA_WITH_AES_256_GCM_SHA384\n",
];
for line in lines {
assert!(stderr.contains(line), "{stderr}");
}
secrets_absent(&output);
let opened = legacy_events_up_to_open();
assert_eq!(host.events()[..opened.len()], opened);
}
#[test]
fn a_host_that_offers_ecdhe_is_never_asked_for_rsa_key_exchange() {
let host = Host::start(Scenario {
capacity: SMALL,
..Scenario::default()
});
let mut child = spawn(&host, Some(PASSWORD), &pinned(&host, &["--verbose"]));
negotiate(&mut child, true);
disconnect(&mut child);
let output = finish(child);
assert_eq!(output.status.code(), Some(0));
let stderr = text(&output.stderr);
assert!(!stderr.contains("fallback"), "{stderr}");
assert!(!stderr.contains("TLS_RSA_"), "{stderr}");
}
#[test]
fn a_pin_mismatch_does_not_trigger_the_fallback() {
let host = Host::start(Scenario {
ticket_thumbprint: Thumbprint::Other,
..Scenario::default()
});
let output = finish(spawn(&host, Some(PASSWORD), &pinned(&host, &["--verbose"])));
assert_eq!(output.status.code(), Some(1));
let stderr = text(&output.stderr);
assert!(
stderr.contains("vectura: data plane: certificate thumbprint mismatch"),
"{stderr}"
);
assert!(!stderr.contains("fallback"), "{stderr}");
assert!(
!host.events().contains(&Event::Session(TICKET.to_owned())),
"the ticket was never presented: {:?}",
host.events()
);
}
#[test]
fn a_ticket_thumbprint_that_is_not_the_certificate_aborts_the_fallback_before_any_write() {
let (host, stderr) = fails_then_logs_out(rsa_only(Thumbprint::Other));
assert!(
stderr.starts_with("vectura: data plane: certificate thumbprint mismatch"),
"{stderr}"
);
assert!(!host.data().handshake_completed);
let pinned = host.data();
assert!(pinned.handshake_completed, "{pinned:?}");
assert_eq!(
pinned.bytes_after_tls_handshake, 0,
"nothing is written to a host presenting another certificate: {pinned:?}"
);
assert!(
!host.events().contains(&Event::Session(TICKET.to_owned())),
"the ticket was never presented: {:?}",
host.events()
);
}
/// The text an ESXi 6.0 host sends when the path names no disk.
const LEGACY_OPEN_ERROR: &str =
"NfcFssrvrOpen: permission check failed for file [datastore1] vm/vm.vmdk, access = 1";

View File

@@ -19,12 +19,6 @@ use std::thread;
use std::time::Duration;
use aws_lc_rs::digest::{self, Algorithm, SHA1_FOR_LEGACY_USE_ONLY, SHA256};
use openssl::asn1::Asn1Time;
use openssl::hash::MessageDigest;
use openssl::pkey::PKey;
use openssl::rsa::Rsa;
use openssl::ssl::{Ssl, SslContext, SslMethod, SslStream, SslVersion};
use openssl::x509::{X509, X509NameBuilder};
use rustls::{IoState, ServerConfig, ServerConnection, Stream};
use rustls_pki_types::{CertificateDer, PrivateKeyDer, PrivatePkcs8KeyDer};
@@ -165,13 +159,6 @@ pub enum ReadFault {
pub struct Scenario {
/// What the data port does on connection.
pub data: DataPort,
/// The only suites the data port accepts, as an OpenSSL cipher list, with TLS 1.2 at most.
///
/// `None` is a host that offers ECDHE. With a list, the host has an RSA
/// key, as RSA key exchange needs, and the data port serves every
/// connection instead of the first only: a client refused once may come
/// back, and [`Host::data`] then reports the connections in order.
pub data_suites: Option<&'static str>,
/// Whether the management port plays a vCenter.
///
/// It reports `VirtualCenter`, and its ticket names [`VCENTER_DATA_HOST`],
@@ -210,7 +197,6 @@ impl Default for Scenario {
fn default() -> Scenario {
Scenario {
data: DataPort::Greeting(GREETING),
data_suites: None,
vcenter: false,
login: Ok(()),
ticket_thumbprint: Thumbprint::Own,
@@ -338,20 +324,14 @@ pub struct Host {
impl Host {
/// Starts a host with a fresh self-signed certificate that plays `scenario`.
pub fn start(scenario: Scenario) -> Host {
let restricted = scenario.data_suites.map(restricted);
let (certificate, key) = if let Some((certificate, key, _)) = &restricted {
(certificate.clone(), key.clone_key())
} else {
let issued = rcgen::generate_simple_self_signed(vec![
"esxi.test".to_owned(),
"127.0.0.1".to_owned(),
])
.expect("a self-signed certificate is generated");
(
issued.cert.der().clone(),
PrivateKeyDer::Pkcs8(PrivatePkcs8KeyDer::from(issued.signing_key.serialize_der())),
)
};
let issued = rcgen::generate_simple_self_signed(vec![
"esxi.test".to_owned(),
"127.0.0.1".to_owned(),
])
.expect("a self-signed certificate is generated");
let certificate = issued.cert.der().clone();
let key =
PrivateKeyDer::Pkcs8(PrivatePkcs8KeyDer::from(issued.signing_key.serialize_der()));
let config = Arc::new(
ServerConfig::builder()
.with_no_client_auth()
@@ -367,7 +347,6 @@ impl Host {
let mock = Arc::new(Mock {
scenario,
config,
restricted: restricted.map(|(_, _, context)| context),
events: Mutex::new(Vec::new()),
certificate: certificate.clone(),
data_port,
@@ -378,12 +357,7 @@ impl Host {
true,
serve_management,
);
let data = listen(
data_listener,
Arc::clone(&mock),
mock.restricted.is_some(),
serve_data,
);
let data = listen(data_listener, Arc::clone(&mock), false, serve_data);
Host {
certificate,
management_port,
@@ -418,7 +392,7 @@ impl Host {
.expect("the management port served a connection")
}
/// What the data port observed on its next connection; panics when there was none.
/// What the data port observed; panics when it was never contacted.
pub fn data(&self) -> Observed {
self.data
.recv_timeout(REPORT_TIMEOUT)
@@ -463,69 +437,16 @@ pub fn text(bytes: &[u8]) -> String {
String::from_utf8(bytes.to_vec()).expect("the output is UTF-8")
}
/// An RSA certificate and key, and the TLS 1.2 server that accepts `suites` alone with them.
fn restricted(suites: &str) -> (CertificateDer<'static>, PrivateKeyDer<'static>, SslContext) {
let key = PKey::from_rsa(Rsa::generate(2048).expect("an RSA key is generated"))
.expect("the key is usable");
let mut name = X509NameBuilder::new().expect("a name builder");
name.append_entry_by_text("CN", "esxi.test")
.expect("a common name");
let name = name.build();
let mut certificate = X509::builder().expect("a certificate builder");
certificate.set_version(2).expect("version 3");
certificate.set_subject_name(&name).expect("a subject");
certificate.set_issuer_name(&name).expect("an issuer");
certificate.set_pubkey(&key).expect("a public key");
certificate
.set_not_before(&Asn1Time::days_from_now(0).expect("today"))
.expect("a start");
certificate
.set_not_after(&Asn1Time::days_from_now(1).expect("tomorrow"))
.expect("an end");
certificate
.sign(&key, MessageDigest::sha256())
.expect("the certificate is signed");
let certificate = certificate.build();
let mut context = SslContext::builder(SslMethod::tls_server()).expect("a server context");
context
.set_max_proto_version(Some(SslVersion::TLS1_2))
.expect("TLS 1.2 is available");
context.set_cipher_list(suites).expect("the suites exist");
context
.set_certificate(&certificate)
.expect("the certificate is accepted");
context.set_private_key(&key).expect("the key matches");
(
CertificateDer::from(certificate.to_der().expect("the certificate encodes")),
PrivateKeyDer::Pkcs8(PrivatePkcs8KeyDer::from(
key.private_key_to_pkcs8().expect("the key encodes"),
)),
context.build(),
)
}
/// What both port threads share.
#[derive(Debug)]
struct Mock {
scenario: Scenario,
config: Arc<ServerConfig>,
/// The data port's TLS server when the scenario restricts its suites.
restricted: Option<SslContext>,
events: Mutex<Vec<Event>>,
certificate: CertificateDer<'static>,
data_port: u16,
}
impl std::fmt::Debug for Mock {
fn fmt(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
// `SslContext` has no `Debug`; the scenario says whether it is there.
formatter
.debug_struct("Mock")
.field("scenario", &self.scenario)
.field("data_port", &self.data_port)
.finish_non_exhaustive()
}
}
impl Mock {
fn record(&self, event: Event) {
self.events
@@ -827,8 +748,6 @@ fn fault(text: &str) -> String {
/// The disk session as the mock carries it: TLS or the socket in clear.
enum Plane<'a> {
Tls(&'a mut ServerConnection, &'a mut TcpStream),
/// TLS as OpenSSL serves it, on its own clone of the socket.
Restricted(SslStream<TcpStream>),
Clear(&'a mut TcpStream),
}
@@ -837,13 +756,6 @@ impl Plane<'_> {
fn message(&mut self) -> Option<Vec<u8>> {
match self {
Plane::Tls(connection, stream) => next_record(connection, stream),
// OpenSSL hands over the plaintext of one record per read.
Plane::Restricted(session) => {
let mut message = vec![0_u8; 1 << 14];
let length = session.read(&mut message).ok().filter(|read| *read > 0)?;
message.truncate(length);
Some(message)
}
Plane::Clear(stream) => {
let mut message = vec![0_u8; MESSAGE_LEN];
stream.read_exact(&mut message).ok()?;
@@ -861,22 +773,15 @@ impl Plane<'_> {
fn send(&mut self, bytes: &[u8]) -> Option<()> {
match self {
Plane::Tls(connection, stream) => send_record(connection, stream, bytes),
Plane::Restricted(session) => send(session, bytes),
Plane::Clear(stream) => send(stream, bytes),
}
}
/// Ends the TLS session properly; the clear session just closes.
fn close(self) {
match self {
Plane::Tls(connection, stream) => {
connection.send_close_notify();
let _ = connection.complete_io(stream);
}
Plane::Restricted(mut session) => {
let _ = session.shutdown();
}
Plane::Clear(_) => {}
if let Plane::Tls(connection, stream) = self {
connection.send_close_notify();
let _ = connection.complete_io(stream);
}
}
}
@@ -887,7 +792,6 @@ impl Read for Plane<'_> {
Plane::Tls(connection, stream) => {
Stream::new(&mut **connection, &mut **stream).read(buffer)
}
Plane::Restricted(session) => session.read(buffer),
Plane::Clear(stream) => stream.read(buffer),
}
}
@@ -899,7 +803,6 @@ impl Write for Plane<'_> {
Plane::Tls(connection, stream) => {
Stream::new(&mut **connection, &mut **stream).write(buffer)
}
Plane::Restricted(session) => session.write(buffer),
Plane::Clear(stream) => stream.write(buffer),
}
}
@@ -907,7 +810,6 @@ impl Write for Plane<'_> {
fn flush(&mut self) -> io::Result<()> {
match self {
Plane::Tls(connection, stream) => Stream::new(&mut **connection, &mut **stream).flush(),
Plane::Restricted(session) => session.flush(),
Plane::Clear(stream) => stream.flush(),
}
}
@@ -922,10 +824,6 @@ fn serve_data(mut stream: TcpStream, mock: &Mock) -> Observed {
if stream.write_all(greeting).is_err() {
return observed;
}
if let Some(context) = &mock.restricted {
serve_restricted(stream, mock, context, &mut observed);
return observed;
}
let Some(mut first) = handshake(&mut stream, mock, &mut observed) else {
return observed;
};
@@ -937,7 +835,7 @@ fn serve_data(mut stream: TcpStream, mock: &Mock) -> Observed {
drop(first);
let socket = stream.try_clone().expect("the socket clones");
let mut second;
let mut plane = if transport.ends_with("nfc") {
let mut plane = if transport == "nfc" {
Plane::Clear(&mut stream)
} else {
second = ServerConnection::new(Arc::clone(&mock.config))
@@ -959,75 +857,6 @@ fn serve_data(mut stream: TcpStream, mock: &Mock) -> Observed {
observed
}
/// Accepts one TLS session with the restricted suites on a clone of `stream`.
fn accept(stream: &TcpStream, context: &SslContext) -> Option<SslStream<TcpStream>> {
let socket = stream.try_clone().expect("the socket clones");
Ssl::new(context)
.expect("the server context is valid")
.accept(socket)
.ok()
}
/// [`serve_data`] past the greeting, for a data port whose suites are restricted.
///
/// A client offering none of them is answered with a `handshake_failure`
/// alert and the connection ends there, as on a host.
fn serve_restricted(
mut stream: TcpStream,
mock: &Mock,
context: &SslContext,
observed: &mut Observed,
) {
let mut first = [0_u8; 1];
observed.handshake_started = matches!(stream.peek(&mut first), Ok(1));
let Some(mut first) = accept(&stream, context) else {
return;
};
observed.handshake_completed = true;
// The names rustls debug-prints, which the transcript uses.
observed.version = Some(first.ssl().version_str().replace('.', "_"));
observed.suite = first
.ssl()
.current_cipher()
.and_then(openssl::ssl::SslCipherRef::standard_name)
.map(str::to_owned);
let (read, granted) = dialogue(&mut first, mock);
observed.bytes_after_tls_handshake = read;
let Some(transport) = granted else {
return;
};
// No close notify, as on the other path: the socket goes on.
drop(first);
let mut plane = if transport.ends_with("nfc") {
Plane::Clear(&mut stream)
} else {
let Some(second) = accept(&stream, context) else {
return;
};
observed.second_handshake = true;
Plane::Restricted(second)
};
if mock.legacy() {
if legacy_shake(&mut plane, mock).is_some() {
legacy_messages(&mut plane, mock);
}
} else if shake(&mut plane, mock).is_some() {
let socket = stream_clone(&plane);
if let Some(socket) = socket {
records(&mut plane, &socket, mock, observed);
}
}
plane.close();
}
/// A handle on the socket under `plane`, to set its timeouts.
fn stream_clone(plane: &Plane<'_>) -> Option<TcpStream> {
match plane {
Plane::Tls(_, stream) | Plane::Clear(stream) => stream.try_clone().ok(),
Plane::Restricted(session) => session.get_ref().try_clone().ok(),
}
}
/// Runs the ticket dialogue: the bytes read, and the transport `PROXY` was granted, if any.
fn dialogue<S: Read + Write>(tls: &mut S, mock: &Mock) -> (usize, Option<String>) {
let mut read = 0;
@@ -1059,20 +888,11 @@ fn dialogue<S: Read + Write>(tls: &mut S, mock: &Mock) -> (usize, Option<String>
"200 {}",
mock.thumbprint(&SHA256, mock.scenario.announced_thumbprint)
)
} else if let Some(transport @ ("nfc" | "nfcssl" | "vpxa-nfc" | "vpxa-nfcssl")) =
text.strip_prefix("PROXY ")
// A 6.x host knows a vCenter's ticket under vpxa's services only.
&& transport.starts_with("vpxa-") == (mock.scenario.vcenter && mock.legacy())
{
} else if let Some(transport @ ("nfc" | "nfcssl")) = text.strip_prefix("PROXY ") {
mock.record(Event::Proxy(transport.to_owned()));
let service = if transport.starts_with("vpxa-") {
transport.to_owned()
} else {
format!("ha-{transport}")
};
mock.scenario
.proxy_reply
.map_or_else(|| format!("200 Connect {service}"), str::to_owned)
.map_or_else(|| format!("200 Connect ha-{transport}"), str::to_owned)
} else {
return (read, None);
};

View File

@@ -1,4 +1,4 @@
import { createSharedComposable, useTimestamp } from '@vueuse/core'
import { useTimestamp } from '@vueuse/core'
import { computed, type MaybeRefOrGetter, toValue } from 'vue'
import { useI18n } from 'vue-i18n'
@@ -23,15 +23,12 @@ const timeThresholds: TimeThreshold[] = [
[Infinity, 'year'],
]
// One timer for all the users, which can be a list of a thousand items. It stops when the last user is unmounted
const useSharedTimestamp = createSharedComposable(() => useTimestamp({ interval: 1000 }))
export function useTimeAgo(referenceDate: MaybeRefOrGetter<Date | number | string>) {
const { locale } = useI18n()
const formatter = computed(() => new Intl.RelativeTimeFormat(locale.value, { numeric: 'auto' }))
const now = useSharedTimestamp()
const now = useTimestamp({ interval: 1000 })
const referenceTime = computed(() => new Date(toValue(referenceDate)).getTime())

View File

@@ -1,51 +0,0 @@
import { useTimeAgo } from '@core/composables/locale-time-ago.composable.ts'
import { mountComposable } from '@core-test/mount-composable.ts'
import { nextTick } from 'vue'
const NOW = new Date('2026-01-01T12:00:00Z').getTime()
beforeEach(() => {
vi.useFakeTimers({ now: NOW })
})
afterEach(() => {
vi.useRealTimers()
})
function mountTimeAgo(referenceDate: number) {
return mountComposable(() => ({ timeAgo: useTimeAgo(referenceDate) })).wrapper
}
it('formats the time elapsed since the reference date', () => {
expect(mountTimeAgo(NOW - 30_000).vm.timeAgo).toBe('30 seconds ago')
expect(mountTimeAgo(NOW - 2 * 60 * 60_000).vm.timeAgo).toBe('2 hours ago')
})
it('updates as time goes by', async () => {
const wrapper = mountTimeAgo(NOW - 30_000)
vi.advanceTimersByTime(60_000)
await nextTick()
expect(wrapper.vm.timeAgo).toBe('1 minute ago')
})
it('shares one timer between all its users, until the last one is unmounted', () => {
const timerCount = vi.getTimerCount()
const first = mountTimeAgo(NOW)
expect(vi.getTimerCount()).toBe(timerCount + 1)
const second = mountTimeAgo(NOW)
expect(vi.getTimerCount()).toBe(timerCount + 1)
first.unmount()
expect(vi.getTimerCount()).toBe(timerCount + 1)
second.unmount()
expect(vi.getTimerCount()).toBe(timerCount)
})

View File

@@ -17,15 +17,12 @@
"action:add-network-in-xo-5": "Přidat síť v XO-5",
"action:add-sort": "Přidat řazení",
"action:add-vifs-in-xo-5": "Přidat virtuální síť. rozhraní v XO-5",
"action:apply": "Použít",
"action:attach": "Připojit",
"action:attach-vdi": "@:attach-vdi",
"action:back": "Zpět",
"action:boot-vm": "Nastartovat virt. stroj",
"action:change-state": "Změnit stav",
"action:clear-selection": "vyčistit výběr",
"action:close": "Zavřít",
"action:configure": "Nastavit",
"action:confirm": "Potvrdit",
"action:connect": "Připojit",
"action:connect-n": "Připojit {n}",
@@ -34,7 +31,6 @@
"action:connect-n-vdis": "Připojit 1 obraz virt. disku | Připojit {n} obrazy virt. disků | Připojit {n} obrazů virt. disků",
"action:connect-n-vifs": "Připojit 1 virt. síťové rozhraní | Připojit {n} síťová rozhraní | Připojit {n} síťových rozhraní",
"action:connect-pool": "Připojit fond",
"action:continue": "Pokračovat",
"action:copy": "Zkopírovat",
"action:copy-all": "Zkopírovat vše",
"action:copy-host": "Zkopírovat hostitele",
@@ -44,12 +40,10 @@
"action:create-bonded-network": "Vytvořit spřaženou síť",
"action:create-internal-network": "Vytvořit interní síť",
"action:create-network": "Vytvořit síť",
"action:create-new-br": "Vytvořit nový repozitář záloh",
"action:create-traffic-rule": "Vytvořit pravidlo pro provoz",
"action:create-vdi": "Vytvořit obraz virt. disku",
"action:create-vif": "Vytvořit virt. síťové rozhraní",
"action:delete": "Smazat",
"action:delete-configuration": "Smazat nastavení",
"action:delete-filter": "Smazat filtr",
"action:delete-group": "Smazat skupinu",
"action:delete-n-networks": "Smazat 1 síť | Smazat {n} sítě | Smazat {n} sítí",
@@ -62,14 +56,12 @@
"action:deploy": "Nasadit",
"action:deploy-xoa": "Nasadit XOA",
"action:detach": "Zrušit přiložení",
"action:detach-host": "@:action:detach host",
"action:detach-n-vdis": "Zrušit přiložení 1 obrazu virt. disku | Zrušit přiložení {n} obrazů virt. disků",
"action:detach-vdi": "Zrušit přiložení obrazu virt. disku",
"action:disable": "Zakázat",
"action:disable-and-evacuate-vms": "Zakázat a evakuovat virt. stroje",
"action:disable-host": "Zakázat hostitele",
"action:disable-host-and-evacuate-vms": "Zakázat hostitele a evakuovat virt. stroje",
"action:disable-load-at-startup": "Nenačítat při spouštění",
"action:disconnect": "Odpojit",
"action:disconnect-n": "Odpojit {n}",
"action:disconnect-n-srs": "Odpojit 1 repozitář úložiště | Odpojit {n} repozitáře úložiště | Odpojit {n} repozitářů úložiště",
@@ -81,16 +73,11 @@
"action:duplicate": "Zduplikovat",
"action:duplicate-n-vms": "Zduplikovat 1 virt. stroj | Zduplikovat {n} virt. stroje | Zduplikovat {n} virt. strojů",
"action:edit": "Upravit",
"action:edit-br": "@:action:edit BR",
"action:edit-config": "Upravit nastavení",
"action:edit-n-brs": "@:action:edit {n} repozitáře záloh",
"action:edit-traffic-rule": "@:action:edit @.lower:traffic-rule",
"action:emergency-shutdown": "Nouzové vypnutí",
"action:emergency-shutdown-host": "@:action:emergency-shutdown hostitele",
"action:enable": "Povolit",
"action:enable-host": "Povolit hostitele",
"action:enable-light-mode": "Zapnout světlý režim",
"action:enable-load-at-startup": "Povolit načítání při spouštění",
"action:export": "Export",
"action:export-content": "Exportovat obsah",
"action:export-n-vms": "Exportovat 1 virt. stroj | Exportovat {n} virt. strojů",
@@ -98,8 +85,6 @@
"action:export-table-to": "Exportovat tabulku do {type}",
"action:export-vdi": "Exportovat obraz virt. disku",
"action:export-vm": "Exportovat virt. stroj | Exportovat virt. stroje",
"action:fill-empty-networks": "Doplňte prázdné sítě",
"action:fill-empty-srs": "Doplňte prázdné repozitáře úložiště",
"action:filter": "Filtrovat",
"action:force-migrate-on-sr": "Vynutit přestěhování na repozitář úložiště",
"action:force-reboot": "Vynutit restart",
@@ -107,8 +92,6 @@
"action:force-shutdown": "Vynutit vypnutí",
"action:forget": "Zapomenout",
"action:forget-host": "Zapomenout hostitele",
"action:forget-n-brs": "@:action:forget 1 repozitář záloh | @:action:forget {n} repozitáře záloh | @:action:forget {n} repozitářů záloh",
"action:forget-n-pifs": "Zapomenout 1 fyzické rozhraní | Zapomenout {n} fyzická rozhraní | Zapomenout {n} fyzických rozhraní",
"action:go-back": "Přejít zpět",
"action:group": "Skupina",
"action:hide": "Skrýt",
@@ -116,7 +99,6 @@
"action:import-export": "Import/Export",
"action:install-app": "Nainstalovat {name}",
"action:install-guest-tools": "Nainstalovat nástroje do hosta",
"action:load": "Načíst",
"action:load-now": "Načíst nyní",
"action:log-out": "Odhlásit",
"action:migrate": "Přestěhovat",
@@ -134,16 +116,13 @@
"action:reboot": "Restartovat",
"action:reboot-host": "@:action:reboot host",
"action:reformat": "Přeformátovat",
"action:reset-all-networks": "Resetovat veškeré sítě",
"action:reset-all-srs": "Resetovat veškeré repozitáře úložiště",
"action:reset-to-default": "Vrátit na výchozí",
"action:restart-toolstack": "Restartovat toolstack",
"action:resume": "Navázat v chodu",
"action:revert-to-snapshot": "Vrátit zpět do podoby ze zachyceného stavu",
"action:revert-vm-here": "Vrátit virt. stroj do stavu zde",
"action:save": "Uložit",
"action:search": "Hledat",
"action:search-treeview": "@:action:search ve stromovém pohledu ({shortcut})",
"action:search-treeview": "Hledat ve stromovém pohledu",
"action:see-all": "Zobrazit vše",
"action:see-less": "Vidět méně",
"action:see-n-more": "Viz {n} další",
@@ -173,11 +152,7 @@
"action:start-host": "Spustit hostitele",
"action:start-on-host": "Spustit na konkrétním hostiteli",
"action:suspend": "Uspat",
"action:test": "Vyzkoušet",
"action:test-plugin": "Vyzkoušet zásuvný modul",
"action:test-speed": "Otestovat rychlost",
"action:turn-into-group": "Přeměnit na skupinu",
"action:unload": "Zrušit načtení",
"action:update": "Aktualizovat",
"action:use-query-builder": "Použít nástroj pro sestavování dotazů",
"add-or": "+NEBO",
@@ -203,12 +178,9 @@
"all-done!": "Vše dokončeno!",
"all-good!": "Všechno v pořádku!",
"all-quiet-launchpad": "Na startovní rampě klid",
"all-srs-shared-storage-migration-optional": "Všechny repozitáře úložiště jsou sdílené, stěhování úložiště je volitelné.",
"all-vifs-follow-vm": "Všechna virtuální síťová rozhraní následují virt. stroj na jeho nového hostitele: v rámci fondu se jejich sítě nezmění.",
"allocated-space": "Přidělený prostor",
"allow": "Umožnit",
"allow-self-signed-ssl": "Je možné že bude třeba ve vámi využívaném prohlížeči povolit samy sebou podepsané SSL certifikáty",
"allow-unauthorized": "Umožnit nepověřené",
"allowed-ips": "Umožněné IP adresy",
"allowed-ips-example": "Například: 192.168.0.1; 2001:db8::1",
"and": "A",
@@ -219,7 +191,6 @@
"archives": "Archivy",
"aria:breadcrumb:label": "Drobečková navigace",
"ascending": "vzestupně",
"at-least-one-enabled": "Alespoň jedno povolené",
"attach-vdi": "Připojit existující obraz virt. disku",
"auto-generated": "Automaticky vytvořeno",
"auto-power": "Automatické zapínání",
@@ -233,25 +204,18 @@
"backup": "Záloha",
"backup-and-replication": "Zálohování a replikace",
"backup-archive-status": "Stav archivu zálohy",
"backup-date": "@:backup @.lower:date",
"backup-format": "Formát přírůstkové zálohy",
"backup-issues": "Problémy se zálohou",
"backup-job": "Úlohy zálohování",
"backup-jobs": "Zálohovací úlohy",
"backup-jobs:see-all": "Zobrazit veškeré úlohy zálohování",
"backup-logs": "@:backup @.lower:logs",
"backup-network": "Síť pro zálohování",
"backup-repositories": "Repozitáře zálohy",
"backup-repository": "Repozitář pro zálohy",
"backup-repository-path": "Popis umístění repozitáře záloh",
"backup-repository-type": "Repozitář pro zálohy (lokální, NFS, SMB)",
"backup-targets": "Cíle zálohování",
"backup:last-replication": "Poslední replikace",
"backup:pool-metadata": "Metadata fondu",
"backup:rolling-snapshot": "Průběžně zachycovaný stav",
"backup:vms-backup": "Záloha virt. strojů",
"backup:vms-mirror": "Zrcadlo virt. strojů",
"backup:vms-replication": "Replikace virt. strojů",
"backup:xo-config": "Nastavení XO",
"backups": "Zálohy",
"backups:jobs:disabled": "Zakázané",
@@ -273,7 +237,6 @@
"bios-default": "bios (výchozí)",
"bios-info": "Informace o BIOS",
"block-based": "Blokové",
"block-based-hint": "Jsou zapotřebí specifická rozhraní – přečtěte si dokumentaci.",
"bond": "Spřažení",
"bond-devices": "Zařízení spřažení",
"bond-mode": "Režim spřažení",
@@ -281,8 +244,6 @@
"bond-status": "Stav spřažení",
"boot-firmware": "Firmware zavádění",
"bootable": "Zaveditelné",
"br-details": "Podrobnosti o repozitáři záloh",
"br-type-details": "Podrobnosti {type}",
"bucket-name": "Název buketu",
"build-number": "Číslo sestavení",
"by": "Od",
@@ -313,7 +274,6 @@
"confirm-cancel?": "Opravdu chcete zrušit?",
"confirm-delete": "Chystáte se smazat {name}",
"confirm-disconnect": "Chystáte se odpojit {0}",
"confirm-forget": "Chystáte se zapomenout {name}",
"confirm-vm-revert": "Potvrďte navrácení virt. stroje do předchozího stavu",
"connect": "Připojit",
"connected": "Připojeno",
@@ -325,10 +285,7 @@
"console": "Konzole",
"console-actions": "Akce ohledně konzole",
"console-clipboard": "Schránka konzole",
"console-keyboard-layout": "Rozložení klávesnice hosta",
"console-keyboard-layout-not-applicable": "Neuplatnitelné: znaky jsou na tuto konzoli zaslány, jak jsou",
"console-offline": "Konzole nemá spojení",
"console-type-text-skipped": "Nenapsáno – chybí ve zvoleném rozložení klávesnice: {chars}",
"console-unavailable": "Konzole není k dispozici",
"console-unavailable-reason": "Konzole je není v tuto chvíli k dispozici, protože {type} je vypnutý.",
"container-name": "Název kontejneru",
@@ -378,12 +335,7 @@
"deploy-xoa-status:waiting": "Čeká se až XOA odpoví…",
"descending": "sestupně",
"description": "Popis",
"destination-host": "Cílový hostitel",
"destination-network": "Cílová síť",
"destination-network-required": "Je zapotřebí cílová síť.",
"destination-sr": "Cílový repozitář úložiště",
"destination-sr-required": "Je zapotřebí cílový repozitář úložiště.",
"details": "Podrobnosti",
"device": "Zařízení",
"device-config": "Nastavení zařízení",
"dhcp": "DHCP",
@@ -413,17 +365,10 @@
"drop": "Zahodit",
"duplication-method": "Metoda duplikace",
"duration": "Doba trvání",
"edit-vif": "Upravit virt. rozhraní",
"edit-vif:error-message": "Při upravování virt rozhraní došlo k chybě. Zkontrolujte nastavení vašeho uspořádání a zkuste to znovu.",
"editing-vif": "Upravování virt. rozhraní",
"email": "E-mail",
"empty": "Prázdné",
"enabled": "Povoleno",
"encrypted": "Šifrováno",
"encryption": "Šifrování",
"encryption-available-for-block-modes-only": "Šifrování je k dispozici pouze pro blokové režimy.",
"encryption-key-invalid": "Je třeba, aby klíč obsahoval právě {n} šestnáctkových znaků.",
"encryption-key-loss-warning": "Pokud šifrovací klíč ztratíte, ke svým datům už se nedostanete.",
"ended": "Skončilo",
"endpoint-url": "URL koncového bodu",
"engines-off": "Motory vypnuté, oběžná dráha stabilní",
@@ -451,27 +396,14 @@
"for-replication": "Pro replikaci",
"force-reboot-blocked": "Vynucený restart blokován",
"force-shutdown-blocked": "Vynucené vypnutí blokováno",
"form:error:field-integer": "Je třeba, aby {field} bylo celé číslo",
"form:error:field-maximum": "Je třeba, aby {field} bylo {max} nebo méně",
"form:error:field-min-items": "Je třeba, by {field} obsahovalo alespoň {n} položku | Je třeba, aby {field} obsahovalo alespoň {n} položky | Je třeba, aby {field} obsahovalo alespoň {n} položek",
"form:error:field-minimum": "Je třeba, aby {field} bylo {min} nebo více",
"form:error:field-required": "{field} je třeba vyplnit",
"form:error:integer": "Je třeba, aby bylo celé číslo",
"form:error:maximum": "Je třeba, aby bylo {max} nebo méně",
"form:error:min-items": "Je třeba, aby obsahovalo alespoň {n} položku | Je třeba, aby obsahovalo alespoň {n} položky | Je třeba, aby obsahovalo alespoň {n} položek",
"form:error:minimum": "Je třeba, aby bylo {min} nebo více",
"form:error:required": "Tuto kolonku je třeba vyplnit",
"form:n-errors-summary": "{n} kolonka vyžaduje pozornost | {n} kolonky vyžadují pozornost | {n} kolonek vyžaduje pozornost",
"form:warning:out-of-range": "Mělo by být z rozmezí {min} až {max}",
"format": "Formát",
"free-space": "Volný prostor",
"free-space-on-sr": "Volný prostor na repozitáři úložiště",
"from-device": "Ze zařízení",
"from-network": "Ze sítě",
"from-sr": "Z repozitáře úložiště",
"from-vlan": "Z VLAN",
"from-vm": "Od virt. stroje",
"full": "Plné",
"full-copy": "Úplná kopie",
"fullscreen": "Na celou obrazovku",
"gateway": "Brána",
@@ -487,8 +419,6 @@
"gzip": "GZIP",
"hardware": "Hardware",
"hardware-specifications": "Hardwarové specifikace",
"health-check": "Kontrola vitálnosti",
"health-check-sr": "@:health-check repozitáře úložiště",
"heartbeat-storage-repository": "Repozitář úložiště kontroly stavu",
"here": "Zde",
"high-availability": "Vysoká dostupnost (HA)",
@@ -499,10 +429,8 @@
"host-enable-title": "Opravdu chcete hostitele {host} povolit?",
"host-internal-networks": "Interní sítě hostitele",
"host-missing": "Hostitel chybí",
"host-name": "Název hostitele",
"host-not-running": "Hostitel není spuštěný",
"host-not-running": "Hostitel nespuštěný",
"host-off": "Hostitel je vypnutý",
"host-or-ip-address": "Název hostitele nebo IP adresa",
"host:status:active": "@:status:active",
"host:status:disabled": "@:status:disabled",
"host:status:halted": "@:status:halted",
@@ -518,7 +446,6 @@
"in-last-three-runs": "V jejich posledních 3 spuštěních",
"in-progress": "V přípravě",
"included": "Včetně",
"incremental": "Přírůstkové",
"info": "Informace",
"info:vdi-attached-rw": "Tento obraz virt. disku už je v režimu čtení-zápis připojen k jinému virt. stroji.",
"infos": "Informace",
@@ -531,9 +458,7 @@
"invalid-field": "Neplatný obsah kolonky",
"invalid-ip-addresses": "Jedna nebo více neplatných IP adres",
"invalid-mac-address": "Neplatná MAC adresa",
"invalid-port": "Neplatný port",
"invalid-rate-limit": "Omezování rychlosti nemůže být záporné",
"invalid-username-or-password": "Neplatné uživatelské jméno a/nebo heslo.",
"ip-address": "IP adresa",
"ip-address-info": "Pravidlo je možné uplatnit na jednotlivou IP adresu nebo podsíť (v CIDR formátu). Příklady: 192.168.1.10, nebo 10.20.0.0/16",
"ip-address-invalid": "Formát IP adresy není platný.",
@@ -549,10 +474,8 @@
"is-primary-host": "{name} je hlavní hostitel",
"iscsi-iqn": "iSCSI IQN název",
"iso-dvd": "ISO/DVD",
"item": "Položka",
"job": "Úloha",
"job:arg:allocated-space-required": "Přidělené místo je třeba zadat",
"job:arg:backup-repository-required": "Je zapotřebí repozitář záloh",
"job:arg:bond-mode-required": "@:bond-mode-required",
"job:arg:direction-required": "Směr je třeba zadat",
"job:arg:file-required": "Soubor je vyžadován",
@@ -560,7 +483,6 @@
"job:arg:ip-range-required": "Rozsah IP adres je vyžadován",
"job:arg:missing-payload": "Chybí náklad",
"job:arg:name-required": "@:name-required",
"job:arg:nbd-and-insecure-nbd-exclusive": "Není možné, aby souběžně bylo povolené NBD a nezabezpečené NBD",
"job:arg:password-required": "Je zapotřebí heslo",
"job:arg:pif-id-required": "Je zapotřebí identifikátor fyzického rozhraní",
"job:arg:pif-ids-required": "Je zapotřebí alespoň jeden identifikátor fyzického rozhraní",
@@ -571,27 +493,13 @@
"job:arg:sr-vdi-required": "Je třeba, aby VDI mělo repozitář úložiště",
"job:arg:target-id-required": "Je zapotřebí identifikátor cíle",
"job:arg:template-uuid-required": "Je zapotřebí UUID šablony",
"job:arg:url-required": "Je zapotřebí URL",
"job:arg:username-required": "Je zapotřebí uživatelské jméno",
"job:arg:vdi-id-required": "Je zapotřebí identif. obrazu virt. disku",
"job:arg:vlan-required": "@:vlan-required",
"job:arg:vm-id-required": "Je zapotřebí identifikátor virt. stroje",
"job:backup-repository-benchmark:in-progress": "Probíhá test rychlosti repozitáře záloh…",
"job:backup-repository-benchmark:missing-backup-repository": "Chybí repozitář záloh",
"job:backup-repository-benchmark:n-repositories-disabled": "1 označený repozitář záloha je zakázán | {n} označené repozitáře záloha jsou zakázané | {n} označených repozitářů záloha je zakázáno",
"job:backup-repository-benchmark:repository-disabled": "Repozitář záloh zakázán",
"job:backup-repository-bulk-edit:in-progress": "Probíhá upravování repozitářů záloh…",
"job:backup-repository-bulk-edit:missing-backup-repository": "Žádné repozitáře záloh k upravení",
"job:backup-repository-bulk-edit:missing-payload": "Chybí změny pro repozitář záloh",
"job:backup-repository-change-state:in-progress": "Probíhá změna stavu repozitáře záloh…",
"job:backup-repository-change-state:missing-backup-repository": "Žádný repozitář záloh k připojení nebo zakázání",
"job:backup-repository-create:encryption-requires-block": "Šifrování vyžaduje blokový formát záloh",
"job:backup-repository-edit:encryption-key-locked": "Šifrovací klíč není možné změnit",
"job:backup-repository-edit:encryption-requires-block": "Šifrování vyžaduje blokový formát záloh",
"job:backup-repository-edit:unknown-type": "Neznámý typ repozitáře záloh",
"job:backup-repository-forget:in-progress": "Probíhá zapomínání repozitáře záloh…",
"job:backup-repository-forget:missing-backup-repository": "Žádný repozitář záloh k zapomenutí",
"job:backup-repository-forget:used-by-n-backup-jobs": "Využíváno 1 úlohou zálohování – nejprve z ní odeberte | Využíváno {n} úlohami zálohování – nejprve z nich odeberte | Využíváno {n} úlohami zálohování – nejprve z nich odeberte",
"job:connect:in-progress": "Probíhá připojování…",
"job:create:in-progress": "Probíhá vytváření…",
"job:delete:in-progress": "Probíhá mazání…",
@@ -600,32 +508,30 @@
"job:edit:in-progress": "Probíhá úprava…",
"job:enable:in-progress": "Povolování v běhu…",
"job:export:in-progress": "Probíhá export…",
"job:host-detach:bad-power-state": "@:host-not-running",
"job:host-detach:in-progress": "Probíhá odpojení hostitele…",
"job:host-detach:master-host": "Hlavního hostitele není možné odpojit",
"job:host-detach:missing-host": "Žádný hostitel k odpojení",
"job:host-disable:bad-power-state": "@:host-not-running",
"job:host-disable:bad-power-state": "Hostitel není zapnutý",
"job:host-disable:missing-host": "@:host-missing",
"job:host-enable:missing-host": "@:host-missing",
"job:host-evacuate:in-progress": "Probíhá evakuace z hostitele…",
"job:host-forget:bad-power-state": "Hostitel je spuštěný",
"job:host-forget:in-progress": "Probíhá zapomínání hostitele…",
"job:host-forget:missing-host": "Žádný hostitel k zapomenutí",
"job:host-reboot:bad-power-state": "@:host-not-running",
"job:host-reboot:bad-power-state": "Hostitel není spuštěný",
"job:host-reboot:evacuate-in-progress": "Probíhá evakuace virt. strojů…",
"job:host-reboot:in-progress": "Probíhá restart hostitele…",
"job:host-reboot:missing-host": "Žádný hostitel k restartování",
"job:host-restart-toolstack:bad-power-state": "@:host-not-running",
"job:host-restart-toolstack:ha-enabled": "Pokud je na fondu zapnutá vysoká dostupnost, pak restartování vrstev nástrojů není dovoleno",
"job:host-restart-toolstack:bad-power-state": "Hostitel není spuštěný",
"job:host-restart-toolstack:in-progress": "Probíhá restart toolstack vrstev hostitele…",
"job:host-restart-toolstack:missing-host": "Žádný hostitel na kterém restartovat toolstack",
"job:host-scan-pifs:bad-power-state": "@:host-not-running",
"job:host-scan-pifs:bad-power-state": "Hostitel není spuštěný",
"job:host-scan-pifs:in-progress": "@:scan-pifs probíhá…",
"job:host-scan-pifs:missing-host": "@:host-missing",
"job:host-shutdown:bad-power-state": "Hostitel už je zastavený",
"job:host-shutdown:in-progress": "Probíhá vypínání hostitele…",
"job:host-shutdown:missing-host": "Žádný hostitel k vypnutí",
"job:host-smart-reboot:bad-power-state": "@:host-not-running",
"job:host-smart-reboot:bad-power-state": "Hostitel není spuštěný",
"job:host-smart-reboot:in-progress": "Probíhá inteligentní restart hostitele…",
"job:host-smart-reboot:missing-host": "Žádný hostitel k inteligentnímu restartování",
"job:host-smart-reboot:vm-clean-shutdown-in-progress": "Probíhá korektní vypínání virt. strojů…",
@@ -645,30 +551,10 @@
"job:pbd-plug:pbd-connected": "Jedno nebo více fyzických blokových zařízení už je připojeno",
"job:pbd-unplug:missing-pbd": "Žádná fyzická bloková zařízení k odpojení",
"job:pbd-unplug:pbd-disconnected": "Jedno nebo více fyzyckých blokových zařízení už je odpojeno",
"job:pif-forget:in-progress": "Probíhá zapomínání fyzického rozhraní…",
"job:pif-forget:is-management-interface": "Není možné zapomenout správní rozhraní hostitele",
"job:pif-forget:missing-pif": "Žádná fyzická rozhraní k zapomenutí",
"job:pif-management-reconfigure:bad-power-state": "@:host-not-running",
"job:pif-management-reconfigure:bad-power-state": "Hostitel není spuštěný",
"job:pif-management-reconfigure:current-pif": "Stávající fyzické rozhraní",
"job:pif-management-reconfigure:in-progress": "Probíhá přenastavování rozhraní pro správu…",
"job:pif-management-reconfigure:missing-ip": "Chybí IP adresa",
"job:plugin-autoload:missing-plugin": "@:plugin-missing",
"job:plugin-change-state:already-loaded": "Zásuvný modul už načten",
"job:plugin-change-state:already-unloaded": "Načtení zásuvného modulu už zrušeno",
"job:plugin-change-state:load-in-progress": "Probíhá načítání zásuvného modulu…",
"job:plugin-change-state:missing-plugin": "@:plugin-missing",
"job:plugin-change-state:not-configured": "Aby ho bylo možné načíst je třeba, aby byl zásuvný modul nastaven",
"job:plugin-change-state:not-unloadable": "Načtení zásuvného modulu nebylo možné zrušit",
"job:plugin-change-state:unload-in-progress": "Probíhá rušení načtení zásuvného modulu…",
"job:plugin-configure:missing-plugin": "@:plugin-missing",
"job:plugin-configure:not-configurable": "@:plugin:not-configurable",
"job:plugin-delete-configuration:loaded": "Aby bylo možné smazat jeho nastavení, je třeba zrušit načtení zásuvného modulu",
"job:plugin-delete-configuration:missing-plugin": "@:plugin-missing",
"job:plugin-delete-configuration:no-configuration": "Tento zásuvný modul nemá žádná nastavení",
"job:plugin-test:in-progress": "Probíhá zkoušení zásuvného modulu…",
"job:plugin-test:missing-plugin": "@:plugin-missing",
"job:plugin-test:not-loaded": "Aby ho bylo možné zkoušet, je třeba, aby byl zásuvný modul načtený",
"job:plugin-test:not-testable": "Tento zásuvný modul není možné zkoušet",
"job:server-connect:missing-server": "Žádné servery k připojení",
"job:server-disconnect:missing-server": "Žádné servery k odpojení",
"job:server-disconnect:server-disconnected": "Jeden nebo vícero serverů už je odpojeno",
@@ -689,7 +575,7 @@
"job:vdi-export:format-required": "Je vyžadován formát exportu obrazu virt. disku",
"job:vdi-export:missing-vdi": "Žádný obraz virt. disku k exportu",
"job:vdi-migrate:in-progress": "Probíhá stěhování…",
"job:vdi-migrate:missing-sr": "@:destination-sr-required",
"job:vdi-migrate:missing-sr": "Je zapotřebí repozitář úložiště",
"job:vdi-migrate:missing-vdi": "Nevybrán žádný obraz virt. disku",
"job:vif-connect:missing-vif": "Žádná virt. síťová rozhraní k připojení",
"job:vif-connect:vif-already-connected": "Virt. síťové rozhraní už je připojeno",
@@ -717,11 +603,9 @@
"job:vm-force-shutdown:in-progress": "Probíhá vynucené vypnutí…",
"job:vm-force-shutdown:missing-vm": "Žádné virt. stroje k vynucenému vypnutí",
"job:vm-migrate:bad-power-state": "Je třeba, aby virt. stroj byl spuštěný",
"job:vm-migrate:blocked-operation": "Stěhování virt. stroje je blokováno",
"job:vm-migrate:in-progress": "Probíhá stěhování…",
"job:vm-migrate:missing-host": "Je třeba zadat cílového hostitele",
"job:vm-migrate:missing-vm": "Žádné virt. stroje k přestěhování",
"job:vm-migrate:paused": "Je třeba, aby virt. stroj nebyl pozastavený",
"job:vm-not-running": "Je třeba, aby virt. stroj byl spuštěný",
"job:vm-pause:bad-power-state": "Je třeba, aby virt. stroj byl spuštěný",
"job:vm-pause:blocked-operation": "Pozastavení chodu virt. stroje je blokováno",
@@ -754,15 +638,9 @@
"job:vm-suspend:in-progress": "Probíhá uspávání…",
"job:vm-suspend:missing-vm": "Žádné virt. stroje k uspání",
"jobs": "Úlohy",
"json-schema:hide-examples": "Skrýt příklady",
"json-schema:nested-label": "{parent} › {label}",
"json-schema:numbered-item": "{label} {n}",
"json-schema:show-examples-n": "Ukázat příklad ({n}) | Ukázat příklady ({n}) | Ukázat příklady ({n})",
"json-schema:unsupported-field": "Kolonku „{label}“ není možné z tohoto rozhraní upravovat",
"keep-me-logged": "Neodhlašovat",
"keep-page-open": "Panel prohlížeče nenačítejte znovu nebo ho neopouštějte dokud nasazení neskončí.",
"key": "Klíč",
"keywords": "Klíčová slova",
"language": "Jazyk",
"language-preferences": "Předvolby jazyka",
"last": "Poslední",
@@ -782,20 +660,16 @@
"license-socket": "Licencovat patici",
"license-type": "Typ licence",
"licensing": "Licencování",
"load-at-startup": "Načítat při spouštění",
"load-average": "Průměrné vytížení",
"loaded": "Načteno",
"loading": "Načítání",
"local": "Lokální",
"locked": "Uzamčeno",
"locking-mode": "Režim zamykání",
"locking-mode-default": "Výchozí režim zamykání",
"log-name": "Záznam událostí {date}",
"login": "Přihlášení",
"login-only-on-master": "Přihlášení je možné pouze na hlavním hostiteli",
"logs": "Záznamy událostí",
"mac-address": "MAC adresa",
"mac-address-change-cut-connection": "Změna MAC adresy dočasně přeruší spojení",
"mac-addresses": "MAC adresy",
"manage-citrix-pv-drivers-via-windows-update": "Spravovat citrix PV ovladače prostřednictvím Windows Update",
"management": "Správa",
@@ -812,21 +686,14 @@
"memory-usage": "Využití paměti",
"merge-backups-synchronously": "Sloučit zálohy synchronně",
"message": "Zpráva",
"migration-blocked": "Stěhování blokováno",
"migration-compression": "Komprese při stěhování",
"migration-network": "Síť přes kterou stěhovat",
"minimum-dynamic-memory": "Dynamicky přidělované paměti nejméně",
"minimum-static-memory": "Staticky přidělené paměti nejméně",
"missing-patches": "Chybějící záplaty",
"missing-translations?": "Chybějící překlady nebo by mohly být příhodnější?",
"mixed-value": "[Smíšené]",
"modal:action:vm-force-migrate": "@:action:force-migrate virt. stroje",
"modal:backup-repository-forget-message": "Zapomenutí tohoto repozitáře záloh ho nevratně odebere ze systému. Existující zálohy v tomto repozitáři už nebudou dostupné prostřednictvím této platformy. Tuto akci nelze vzít zpět. Pokračujte obezřetně. | Zapomenutí těchto repozitářů záloh je nevratně odebere ze systému. Existující zálohy v těchto repozitářích už nebudou dostupné prostřednictvím této platformy. Tuto akci nelze vzít zpět. Pokračujte obezřetně.",
"modal:backup-repository-forget-title": "Chystáte se zapomenout repozitář záloh | Chystáte se zapomenout {n} repozitáře záloh | Chystáte se zapomenout {n} repozitářů záloh",
"modal:confirm-host-detach?": "Opravdu chcete {host} odpojit?",
"modal:confirm-host-disable-and-evacuate-vms?": "Opravdu chcete {host} zakázat a evakuovat z něj virt. stroje?",
"modal:confirm-host-disable?": "Opravdu chcete {host} zakázat?",
"modal:confirm-host-emergency-shutdown?": "Opravdu provést nouzové vypnutí {host}?",
"modal:confirm-host-enable?": "Opravdu chcete {host} povolit?",
"modal:confirm-host-force-reboot?": "Opravdu chcete {host} vynuceně restartovat?",
"modal:confirm-host-forget?": "Opravdu chcete {host} zapomenout?",
@@ -838,7 +705,6 @@
"modal:host-detach-message": "Tento hostitel bude odpojen od fondu a jeho lokální úložiště resetováno. Ujistěte se, že na něm nejsou spuštěné žádné virt. stroje a že vše, co potřebujete z jeho lokálního úložiště, bylo zazálohováno.",
"modal:host-disable-and-evacuate-vms-message": "Hostitel bude zakázán a na něm spuštěné virt. stroje budou automaticky přestěhování na ostatní hostitele ve fondu – bez přerušení (pokud to dostupné prostředky dovolí).",
"modal:host-disable-message": "Hostitel bude označen jako nedostupný pro spouštění nebo přijímání nových virt. strojů. Už běžící virt. stroje tím nebudou ovlivněny.",
"modal:host-emergency-shutdown-message": "Toto hostitele vypne. Než se tak stane, budou na něm spuštěné virt. stroje uspány (bez přestěhování). Ty virt. stroje, které nebude možné uspat, budou vypnuty.",
"modal:host-enable-message": "Hostitel se stane znovu dostupným pro spouštění nebo přijímání virt. strojů.",
"modal:host-force-reboot-message": "Hostitel bude restartován. Pokud to bude možné, na něm spuštěné virt. stroje budou přestěhování na ostatní hostitele. Ale ty, u kterých to nepůjde, budou vynuceně vypnuty. Může dojít ke ztrátě dat.",
"modal:host-forget-message": "Toto hostitele trvale odebere z databáze fondu. Toto udělejte pouze pokud je hostitel fyzicky nefunkční a nepopravitelný – pokud je možné ho přivést zpět k fungování, použijte namísto toho Odpojit. Tuto akci nelze vzít zpět.",
@@ -846,7 +712,6 @@
"modal:host-restart-toolstack-message": "Chystá se restart služby správy hostitele (toolstack). Spuštěné virt. stroje nebudou přerušeny, ale budou dočasně (několik minut) nespravovatelné.",
"modal:host-shutdown-message": "Toto hostitele vypne. Jakékoli virt. stroje které na něm jsou pořád ještě spuštěné budou přestěhovány na jiného hostitele v provozu.",
"modal:host-smart-reboot-message": "Všechny spuštěné virt. stroje na tomto hostiteli budou uspány na disk, hostitel bude restartován a poté budou virtuální stroje automaticky probuzeny. To způsobí dočasnou nedostupnost. Pokud na tomto hostiteli je provozováno i samotné Xen Orchestra, může se stát, že virt. stroje nebudou automaticky probuzeny.",
"modal:pif-forget-message": "Tato akce zapomene označené fyzické rozhraní z tohoto hostitele. | Tato akce zapomene označená fyzická rozhraní z tohoto hostitele. | Tato akce zapomene označená fyzická rozhraní z tohoto hostitele.",
"modal:pif-management-reconfigure-info": "Nastavení tohoto fyzického rozhraní jako správní z něj udělá výchozí používané pro provoz správy. Než budete pokračovat zajistěte, aby toto rozhraní bylo správně nastavené a dosažitelné.",
"modal:pif-management-reconfigure-title": "Chystáte se toto nastavit jako fyzické síťové rozhraní pro správu",
"modal:pool-disconnect-message": "Fond už nebude spravovatelný z XO. Je ovšem možné ho později znovu připojit.",
@@ -860,23 +725,17 @@
"mtu": "MTU",
"mtu-default-value-message": "1500 je výchozí",
"multi-creation": "Vícenásobné vytvoření",
"multi-edit-brs-different-types": "Označené repozitáře záloh jsou odlišných typů: jejich podrobnosti proto nelze upravovat hromadně.",
"multi-pathing": "Propojování vícero cestami",
"multiple-schedules": "Vícero plánů",
"multiple-schedules-advice": "Doporučujeme rozdělení úlohy zálohování s vícero plány do vícero úloh zálohování s jedním plánem pro každou z nich.",
"n-bonded-networks": "1 síť se spřaženými rozhraními | {n} sítě se spřaženými rozhraními | {n} sítí se spřaženými rozhraními",
"n-brs": "1 repozitář záloh | {n} repozitáře záloh | {n} repozitářů záloh",
"n-gb": "{n} GB",
"n-gb-left": "{n} GB zbývá",
"n-gb-required": "{n} GB vyžadováno",
"n-hexadecimal-characters": "{n} šestnáctkových znaků.",
"n-hosts": "1 hostitel | {n} hostitelů",
"n-hosts-awaiting-patch": "{n} hostitel čeká na tuto záplatu | {n} hostitelů čeká na tuto záplatu",
"n-internal-networks": "1 interní síť | {n} interní sítě | {n} interních sítí",
"n-missing": "{n} chybí",
"n-networks": "1 síť | {n} sítě | {n} sítí",
"n-percent": "{n}%",
"n-pifs": "1 fyzické rozhraní | {n} fyzická rozhraní | {n} fyzických rozhraní",
"n-snapshots": "1 zachycený stav | {n} zachycené stavy | {n} zachycených stavů",
"n-srs": "1 repozitář úložiště | {n} repozitáře úložiště | {n} repozitářů úložiště",
"n-traffic-rules": "1 pravidlo pro provoz | {n} pravidla pro provoz | {n} pravidel pro provoz",
@@ -887,11 +746,6 @@
"n-vms": "1 virt. stroj | {n} virt. strojů",
"name": "Název",
"name-required": "Je zapotřebí název.",
"native": "Nativní",
"nbd:disabled": "Zakázáno",
"nbd:insecure": "Nezabezpečené (nešifrováno)",
"nbd:insecure-warning": "Data disku záloh budou po této síti cestovat nešifrovaně. Toto povolte pouze na síti vyhrazené pro zálohy a izolované od virt. strojů a uživatelů (vyhrazená VLAN nebo fyzická síť).",
"nbd:secure": "Zabezpečené (TLS)",
"nested-virtualization": "Vnořená virtualizace",
"netmask": "Maska sítě",
"network": "Síť",
@@ -943,7 +797,6 @@
"new-vm:user-config-variables-name": "{'{name}'}: název virt. stroje. Nemůže obsahovat „_“ (podtržítko)",
"news": "Novinky",
"news-name": "Novinky v {name}",
"next-run": "Příští spuštění",
"nfs": "NFS",
"nic-type": "Typ síťového rozhraní",
"no-active-backup-jobs": "Na této lokalitě nejsou žádné aktivní úlohy zálohování.",
@@ -952,14 +805,10 @@
"no-backup-job-available": "Nejsou k dispozici žádné úlohy zálohování",
"no-backup-repository-detected": "Nezjištěny žádné repozitáře záloh",
"no-backup-run-available": "Nejsou k dispozici žádné běhy zálohy",
"no-br-selected": "Nevybrán žádný repozitář záloh",
"no-config": "Žádné nastavení",
"no-custom-field-detected": "Nezjištěny žádné uživatelsky určené kolonky",
"no-data": "Žádné údaje",
"no-data-to-calculate": "Žádná data k výpočtu",
"no-default-network-configured": "Nenastavena žádná výchozí síť.",
"no-empty-network-to-fill": "Žádná prázdná síť k vyplnění",
"no-empty-sr-to-fill": "Žádný prázdný repozitář záloh k vyplnění",
"no-group-attached": "Nepřipojena žádná skupina",
"no-host-attached": "Nepřipojeni žádní hostitelé",
"no-host-detected": "Nezjištěni žádní hostitelé",
@@ -967,12 +816,10 @@
"no-network-detected": "Nezjištěny žádné sítě",
"no-pbd-attached": "Nepřipojená žádná PBD",
"no-pif-detected": "Nezjištěna žádná fyz. rozhraní",
"no-plugin-detected": "Nezjištěny žádné zásuvné moduly",
"no-pools-detected": "Nezjištěny žádné fondy",
"no-replicated-vm": "Tento virt. stroj není replikován. Pokud chcete zapnout replikaci, vytvořte úlohu replikování.",
"no-result": "Nic nenalezeno",
"no-role-applied": "Neuplatněna žádná role",
"no-run": "Žádný běh",
"no-running-vm-detected": "Nezjištěny žádné spuštěné virt. stroje",
"no-selected-vm-can-be-exported": "Žádný z označených virt. strojů není možné exportovat",
"no-selected-vm-can-be-migrated": "Žádný z označených virt. strojů není možné přestěhovat",
@@ -1013,7 +860,6 @@
"operation:force-reboot": "Vynucené restartování",
"operation:force-shutdown": "Vynucené vypínání",
"operation:import": "Importování",
"operation:migrate": "Stěhující",
"operation:pause": "Pozastavování",
"operation:resume": "Obnovování chodu",
"operation:shutdown": "Vypínání",
@@ -1025,7 +871,6 @@
"operation:vm-clean-shutdown": "Korektní vypínání virt. strojů",
"operation:vm-hard-shutdown": "Vynucené vypínání virt. strojů",
"operation:vm-suspend": "Uspávání virt. strojů",
"optional": "Volitelné",
"options": "Možnosti",
"or": "Nebo",
"os-kernel": "Jádro operačního systému",
@@ -1039,14 +884,11 @@
"partially-connected": "Částečně připojeno",
"password": "Heslo",
"password-invalid": "Neplatné heslo",
"password-required": "Je zapotřebí heslo.",
"patch-name": "Název opravy",
"patches": "Záplaty",
"patches-up-to-date": "Záplaty aktuální",
"path": "Popis umístění",
"path-in-bucket": "Popis umístění v buketu",
"path-in-container": "Popis umístění v kontejneru",
"path-must-be-absolute-on-proxy-host": "Je třeba, aby popis umístění na hostiteli proxy byl absolutní. Příklad: /var/lib/xoa/backups",
"path-on-share": "Popis umístění na sdílení",
"pause": "Pozastavit",
"pause-blocked": "Pozastavení blokováno",
@@ -1058,18 +900,6 @@
"pifs-status": "Stav fyzických rozhraní",
"please-confirm-to-continue": "Tuto akci nelze vzít zpět. Opravdu chcete pokračovat?",
"please-wait": "Čekejte prosím",
"plugin": "Zásuvný modul",
"plugin-missing": "Zásuvný modul chybí",
"plugin:configuration-of": "nastavení {name}",
"plugin:configuration-presets": "Přednastavené konfigurace",
"plugin:configuration-presets-info": "Vyplnit formulář předdefinovaným nastavením",
"plugin:delete-configuration-info": "Nastavení zásuvného modulu bude ztraceno.",
"plugin:needs-configuration": "Dokud nebude nastavený, tento zásuvný modul není možné načíst.",
"plugin:needs-configuration-short": "Než ho bude možné načíst, je třeba nastavit.",
"plugin:not-configurable": "Tento zásuvný modul není možné nijak nastavovat",
"plugin:test-info": "Vyzkoušet zásuvný modul s jeho uloženým nastavením.",
"plugins": "Zásuvné moduly",
"plus-n": "+{n}",
"policy": "Zásada",
"pool": "Fond",
"pool-connection-ip-info": "Zadejte adresu hlavního hostitele fondu, ke kterému se chcete připojit.",
@@ -1177,17 +1007,14 @@
"resources-overview": "Přehled prostředků",
"rest-api": "REST API",
"retry": "Zkusit znovu",
"review-and-confirm": "Zkontrolovat a potvrdit",
"roles": "Role",
"roles-applied": "Role uplatněny",
"root-by-default": "Výchozí je „root“.",
"rule-type": "Typ pravidla",
"run": "Spustit",
"run-interrupted": "Běh byl přerušen před dokončením",
"running-vm": "Spuštěný virt. stroj | Spuštěné virt. stroje",
"s3": "S3",
"s3-backup-repository": "S3 repozitář záloh",
"s3-endpoint-sample": "Příklad: s3.us-west-1.amazonaws.com",
"scan-pifs": "Skenovat fyzická rozhraní",
"schedule": "Plán",
"schedules": "Plány",
@@ -1198,8 +1025,6 @@
"select-destination-host": "Vyberte cílového hostitele",
"select-format": "Vyberte formát",
"select-host": "Vybrat hostitele",
"select-pool": "Vybrat fond",
"select-preset": "Vybrat přednastavení",
"select-to-see-details": "Podrobnosti si zobrazíte kliknutím na {icon}",
"selected-vms-in-execution": "Některé z vybraných virt. strojů jsou spuštěné",
"self-signed-certificates": "Samy sebou podepsané certifikáty",
@@ -1210,14 +1035,10 @@
"show-by": "Položek/stránku",
"shutdown-blocked": "Vypnutí blokováno",
"size": "Velikost",
"size-and-speed": "@:size a @.lower:speed",
"size-on-disk": "Velikost na disku",
"skipped": "Přeskočeno",
"smart-mode": "Inteligentní režim",
"smb": "SMB",
"smb-intended-for-windows": "SMB vzdálené jsou zamýšlené pro Windows servery. Pro linuxové systémy (včetně většiny NAS zařízení, využívající Samba), namísto toho použijte NFS.",
"smb-share-sample": "Příklad: [adresa\\sdileni]",
"smb-subfolder-sample": "Příklad: [popis\\umisteni\\zalohy]",
"snapshot": "Zachytit stav",
"snapshot-created-on": "Zachycený stav vytvořen",
"snapshot-delete-warning": "Smazání 1 zachyceného stavu může vést k nevratné ztrátě dat. Tato akce je trvalá a nelze ji vzít zpět. | Smazání {n} zachycených stavů může vést k nevratné ztrátě dat. Tato akce je trvalá a nelze ji vzít zpět.",
@@ -1267,13 +1088,11 @@
"stats": "Statistiky",
"status": "Stav",
"status:active": "Aktivní",
"status:configured": "Nastaveno",
"status:connected": "Připojeno",
"status:disabled": "Zakázáno",
"status:disconnected": "Odpojeno",
"status:halted": "Zastaveno | Zastavené",
"status:inactive": "Neaktivní",
"status:not-configured": "Nenastaveno",
"status:paused": "Pozastaveno",
"status:running": "Spuštěné",
"status:suspended": "Uspáno",
@@ -1287,7 +1106,6 @@
"storage-repositories": "Repozitáře úložiště",
"storage-repository": "Repozitář úložiště",
"storage-usage": "Využití úložiště",
"subfolder": "Podsložka",
"success": "Úspěch",
"summary": "Souhrn",
"support": "Podpora",
@@ -1314,7 +1132,6 @@
"tasks-page": "Stránka Úkoly",
"template": "Šablona",
"template-has-bios-strings": "Šablona už obsahuje řetězec BIOS",
"test-data": "Vyzkoušet data",
"theme": "Motiv vzhledu",
"theme-auto": "Automaticky",
"theme-dark": "Tmavý",
@@ -1334,9 +1151,6 @@
"this-vm-cant-be-migrated": "Tento virt. stroj není možné přestěhovat",
"timeout": "Časový limit",
"timezone": "Časové pásmo",
"to-network": "Na síť",
"to-sr": "Na repozitář úložiště",
"to-vlan": "Na VLAN",
"toolstack-uptime": "Doba chodu vrstev nástrojů",
"top-#": "Nej {n}",
"topology": "Topologie",
@@ -1359,7 +1173,6 @@
"traffic-rules:format-warning": "Chyba nastavení: Pravidla pro provoz nejsou v očekávaném formátu. {check-doc} ohledně toho, jak je převést.",
"traffic-rules:format-warning:check-doc": "Podívejte se do neaktuálnější dokumentace",
"traffic-rules:no-traffic-rules-detected": "Nezjištěna žádná pravidla pro provoz",
"traffic-rules:target-on": "@.capitalize:direction-on",
"traffic-rules:xapi-plugin-required": "Vyžaduje režim XAPI zásuvného modulu",
"translation-tool": "Nástroj pro překládání",
"treeview": "Stromové zobrazení",
@@ -1373,11 +1186,8 @@
"unable-to-create-new-network": "Nebylo možné vytvořit novou síť",
"unable-to-create-new-vif": "Nebylo možné vytvořit nové virt. síťové rozhraní",
"unable-to-delete-network": "Síť nebylo možné smazat",
"unable-to-edit-vif": "Virt. rozhraní nebylo možné upravit",
"unable-to-migrate-vdi": "Nebylo možné přestěhovat obraz virt. disku na repozitář úložiště",
"unauthorized": "Nepověřené",
"unknown": "Neznámé",
"unknown-error": "Neznámá chyba",
"unlocked": "Odemčeno",
"unnamed": "Bez názvu",
"unreachable-hosts": "Nedosažitelní hostitelé",
@@ -1386,7 +1196,6 @@
"untranslated-text-helper": "Nepřeložené texty budou v angličtině (výchozí).",
"up-to-date": "Aktuální",
"url": "URL",
"use-https": "Použít HTTPS",
"used": "Využito",
"used-for-backup": "Použito pro zálohu",
"used-space": "Využitý prostor",
@@ -1395,10 +1204,8 @@
"user-config": "Nastavení uživatele",
"user-management": "Správa uživatelů",
"username": "Uživatelské jméno",
"username-required": "Je zapotřebí uživatelské jméno.",
"users": "Uživatelé",
"uuid": "UUID",
"value-by-default": "{value} ve výchozím stavu",
"vcpu": "virt. procesor",
"vcpu-at-startup": "Virt. procesor při spuštění",
"vcpus": "virt. procesory",
@@ -1408,7 +1215,6 @@
"vdi-connect-title": "Chystáte se připojit 1 obraz virt. disku | Chystáte se připojit {n} obrazy virt. disků | Chystáte se připojit {n} obrazů virt. disků",
"vdi-delete-warning": "Toto trvale smaže vybraný virt. disk a veškerá data na něm uložená. Tuto akci nelze vzít zpět!",
"vdi-description": "Popis obrazu virt. disku",
"vdi-destination-sr-required": "{name}: @:destination-sr-required",
"vdi-detach-info": "Toto zruší přiložení označených obrazů virt. disků k virt. stroji. Disk nebude smazán a je možné ho později znovu přiložit.",
"vdi-detach-title": "Chystáte se zrušit přiložení 1 obraz virt. disku | Chystáte se zrušit přiložení {n} obrazy virt. disků | Chystáte se zrušit přiložení {n} obrazů virt. disků",
"vdi-disconnect-info": "Virt. stroj už nebude mít přístup k obrazu virt. disku. Ten zůstane přiložený a je možné znovu připojit později.",
@@ -1422,17 +1228,12 @@
"vdi-throughput": "Objemy čtení/zápisů na virt. disky",
"vdis": "Virt. disky",
"vdis-allocated-space": "Prostor přidělený obrazům virt. disků",
"vdis-must-be-migrated": "Je třeba, aby obrazy virt. disků byly přestěhovány.",
"version": "Verze",
"version-number": "Verze {version}",
"vga": "VGA",
"vhd-file": "VHD soubor",
"vhd-file-hint": "Je třeba, aby velikost disku byla < 2 TB",
"video-ram": "Videopaměť",
"vif": "Virt. rozhraní",
"vif-connect-title": "Chystáte se připojit 1 virt. síťové rozhraní | Chystáte se připojit {n} virt. síťová rozhraní | Chystáte se připojit {n} virt. síťových rozhraní",
"vif-connected": "Virt. síťové rozhraní připojeno",
"vif-destination-network-required": "{name}: @:destination-network-required",
"vif-device": "Virt. rozhraní č. {device}",
"vif-disconnect-info": "Virt. stroj už nebude mít přístup k síti. Virt. rozhraní zůstává připojené a je možné ho znovu připojit později.",
"vif-disconnect-title": "Chystáte se odpojit 1 virt. síťové rozhraní | Chystáte se odpojit {n} síťová zařízení | Chystáte se odpojit {n} síťových zařízení",
@@ -1440,7 +1241,6 @@
"vif-required": "Virt. síťové rozhraní je potřebné.",
"vif-status": "Stav virt. rozhraní",
"vifs": "Virt. rozhraní",
"vifs-must-be-reassigned": "Je třeba znovu přiřadit virt. sítě.",
"viridian": "Viridian",
"virtual-tpm": "Virtuální TPM (VTPM)",
"virtualization-boot-settings": "Nastavení virtualizace a zavádění systému",
@@ -1450,24 +1250,18 @@
"vlan-required": "Je zapotřebí VLAN.",
"vm": "Virt. stroj",
"vm-backup-failure-number-of-retries": "Počet opakovaných pokusů, pokud se záloha virt. stroje nezdaří",
"vm-delete-warning": "Toto virt. stroj nevratně smaže (včetně jeho zachycených stavů a disků). Disky připojené k jinému virt. stroji jsou ponechány. Tuto akci nelze vzít zpět.",
"vm-disable-blocked-protection": "Pokud chcete pokračovat, je možné ochranu vypnout v nastavení virt. stroje.",
"vm-disable-delete-protection": "Pokud ho chcete oderat, upravte jeho nastavení (vypněte ochranu proti smazání).",
"vm-disable-migration-protection": "Pro pokračování prosím upravte jeho nastavení a vypněte ochranu před stěhováním.",
"vm-is-running": "Virt. stroj je spuštěný",
"vm-limit-topology": "Limit topologie virt. stroje",
"vm-management": "Správa virt. stroje",
"vm-name": "Název virt. stroje",
"vm-name-required": "Je zapotřebí název virt. stroje.",
"vm-not-found": "@:vm @.lower:not-found",
"vm-not-running": "Virt. stroj není spuštěný",
"vm-not-running-intra-pool-nothing-to-migrate": "Virt. stroj není spuštěný: v rámci jeho fondu zde není žádná aktivní RAM, kterou přestěhovat. Pokud nejsou žádné z disků stěhovány na jiný repozitář úložiště, pak není co stěhovat.",
"vm-not-running-no-disk-nothing-to-migrate": "Nic ke stěhování: virt. stroj není spuštěný a nemá žádný disk.",
"vm-off": "Tento virtuální stroj je vypnutý.",
"vm-protected-deletion": "Tento virt. stroje je v tuto chvíli chráněný proti smazání.",
"vm-protected-force-reboot": "Tento virt. stroje je chráněný proti vynucení restartu.",
"vm-protected-force-shutdown": "Tento virt. stroje je chráněný proti vynucení vypnutí.",
"vm-protected-migration": "Tento virt. stroj je chráněn proti stěhování.",
"vm-protected-pause": "Tento virt. stroje je chráněný proti pozastavení.",
"vm-protected-reboot": "Tento virt. stroje je chráněný proti restartu.",
"vm-protected-shutdown": "Tento virt. stroje je chráněný proti vypnutí.",
@@ -1528,6 +1322,5 @@
"xoa-ssh-password-confirm-different": "Heslo pro SSH nebylo zadáno dvakrát stejně",
"xva": "XVA",
"you-are-currently-on": "V tuto chvíli se nacházíte na: {0}",
"your-default-network-is": "Vaše výchozí síť je {name}",
"zstd": "ZSTD"
}

View File

@@ -17,7 +17,6 @@
"action:add-network-in-xo-5": "Tilføj netværk i XO-5",
"action:add-sort": "Tilføj sortering",
"action:add-vifs-in-xo-5": "Tilføj VIF",
"action:apply": "Anvend",
"action:attach": "Tilknyt",
"action:attach-vdi": "@:attach-vdi",
"action:back": "Tilbage",
@@ -25,7 +24,6 @@
"action:change-state": "Skift tilstand",
"action:clear-selection": "ryd valg",
"action:close": "Luk",
"action:configure": "Konfigurér",
"action:confirm": "Bekræft",
"action:connect": "Forbind",
"action:connect-n": "Forbind {n}",
@@ -49,7 +47,6 @@
"action:create-vdi": "Opret VDI",
"action:create-vif": "Opret VIF",
"action:delete": "Slet",
"action:delete-configuration": "Slet konfiguration",
"action:delete-filter": "Slet filter",
"action:delete-group": "Slet gruppe",
"action:delete-n-networks": "Slet 1 netværk | Slet {n} netværk",
@@ -69,7 +66,6 @@
"action:disable-and-evacuate-vms": "Deaktiver og evakuer VM'er",
"action:disable-host": "Deaktiver host",
"action:disable-host-and-evacuate-vms": "Deaktiver host og evakuer VM'er",
"action:disable-load-at-startup": "Slå indlæsning fra ved opstart",
"action:disconnect": "Afbryd",
"action:disconnect-n": "Afbryd {n}",
"action:disconnect-n-srs": "Afbryd 1 SR | Afbryd {n} SR'er",
@@ -88,7 +84,6 @@
"action:enable": "Aktiver",
"action:enable-host": "Aktiver host",
"action:enable-light-mode": "Skift til lys tilstand",
"action:enable-load-at-startup": "Slå indlæsning til ved opstart",
"action:export": "Eksporter",
"action:export-content": "Eksporter indhold",
"action:export-n-vms": "Eksporter 1 VM | Eksporter {n} VM'er",
@@ -96,8 +91,6 @@
"action:export-table-to": "Eksportér tabel til {type}",
"action:export-vdi": "Eksporter en VDI",
"action:export-vm": "Eksportér VM | Eksportér VM'er",
"action:fill-empty-networks": "Udfyld tomme netværk",
"action:fill-empty-srs": "Udfyld tomme SRs",
"action:filter": "Filtrer",
"action:force-migrate-on-sr": "Tving migrering til SR",
"action:force-reboot": "Tving genstart",
@@ -105,8 +98,6 @@
"action:force-shutdown": "Tving nedlukning",
"action:forget": "Glem",
"action:forget-host": "Glem host",
"action:forget-n-brs": "@:action:forget 1 BR | @:action:forget {n} BRs",
"action:forget-n-pifs": "Glem 1 PIF | Glem {n} PIFs",
"action:go-back": "Gå tilbage",
"action:group": "Gruppe",
"action:hide": "Skjul",
@@ -114,7 +105,6 @@
"action:import-export": "Import/Eksport",
"action:install-app": "Installer {name}",
"action:install-guest-tools": "Installation af gæst integrations værktøjer",
"action:load": "Indlæs",
"action:load-now": "Indlæs nu",
"action:log-out": "Log ud",
"action:migrate": "Migrer",
@@ -132,16 +122,13 @@
"action:reboot": "Genstart",
"action:reboot-host": "@:action:reboot host",
"action:reformat": "Omformater",
"action:reset-all-networks": "Nulstil alle netværk",
"action:reset-all-srs": "Nulstil alle SRs",
"action:reset-to-default": "Nulstil til standard",
"action:restart-toolstack": "Genstart toolstack",
"action:resume": "Forsæt",
"action:revert-to-snapshot": "Gendan til snapshot",
"action:revert-vm-here": "Gendan VM her",
"action:save": "Gem",
"action:search": "Søg",
"action:search-treeview": "@:action:search i træ struktur ({shortcut})",
"action:search-treeview": "Søg i træ struktur",
"action:see-all": "Se alt",
"action:see-less": "Se mindre",
"action:see-n-more": "Se {n} mere",
@@ -171,11 +158,7 @@
"action:start-host": "Start host",
"action:start-on-host": "Start på en specifik host",
"action:suspend": "Suspendere",
"action:test": "Test",
"action:test-plugin": "Test plugin",
"action:test-speed": "Test hastighed",
"action:turn-into-group": "Lav om til gruppe",
"action:unload": "Aflæs",
"action:update": "Opdater",
"action:use-query-builder": "Brug forespørgselsbygger",
"add-or": "+ELLER",
@@ -201,8 +184,6 @@
"all-done!": "Alt færdigt!",
"all-good!": "Alt er godt!",
"all-quiet-launchpad": "Ingen alarmer - alt er OK",
"all-srs-shared-storage-migration-optional": "Alle SRs er delt, lager migrering af valgfrit.",
"all-vifs-follow-vm": "Alle VIFer følger med VMen til dets nye host: inden for puljen, ændres deres netværk ikke.",
"allocated-space": "Allokeret plads",
"allow": "Tillad",
"allow-self-signed-ssl": "Du skal muligvis tillade selvsignerede SSL-certifikater i din browser",
@@ -217,7 +198,6 @@
"archives": "Arkiver",
"aria:breadcrumb:label": "Brødkrumme",
"ascending": "stigende",
"at-least-one-enabled": "Mindst én slås til",
"attach-vdi": "Tilknyt eksisterende VDI",
"auto-generated": "Automatisk genereret",
"auto-power": "Automatisk tænd",
@@ -245,9 +225,6 @@
"backup:last-replication": "Sidste replikering",
"backup:pool-metadata": "Pool metadata",
"backup:rolling-snapshot": "Rullende snapshot",
"backup:vms-backup": "VMs backup",
"backup:vms-mirror": "VMs spejl",
"backup:vms-replication": "VMs replikering",
"backup:xo-config": "XO konfiguration",
"backups": "Backups",
"backups:jobs:disabled": "Deaktiveret",
@@ -309,7 +286,6 @@
"confirm-cancel?": "Er du sikker på, at du vil annullere?",
"confirm-delete": "Du er ved at slette {name}",
"confirm-disconnect": "Du er ved at afbryde {0}",
"confirm-forget": "Du er ved at glemme {name}",
"confirm-vm-revert": "Bekræft gendannelse af VM",
"connect": "Forbind",
"connected": "Forbundet",
@@ -321,10 +297,7 @@
"console": "Konsol",
"console-actions": "Konsolhandlinger",
"console-clipboard": "Konsol udklipsholder",
"console-keyboard-layout": "Gæst tastatur layout",
"console-keyboard-layout-not-applicable": "Ikke relevant: karakterer bliver sent som de er til denne konsol",
"console-offline": "Konsol offline",
"console-type-text-skipped": "Ikke skrevet, manglende fra det valgte tastatur layout: {chars}",
"console-unavailable": "Konsol ikke tilgængelig",
"console-unavailable-reason": "Konsollen er i øjeblikket utilgængelig, fordi {type} er slukket.",
"container-name": "Containernavn",
@@ -374,12 +347,7 @@
"deploy-xoa-status:waiting": "Venter på at XOA svarer…",
"descending": "faldende",
"description": "Beskrivelse",
"destination-host": "Destination host",
"destination-network": "Destinations netværk",
"destination-network-required": "Destinations netværk er påkrævet.",
"destination-sr": "Destinations-SR",
"destination-sr-required": "Destinations SR er påkrævet.",
"details": "Detaljer",
"device": "Enhed",
"device-config": "Enhedskonfiguration",
"dhcp": "DHCP",
@@ -444,27 +412,14 @@
"for-replication": "Til replikering",
"force-reboot-blocked": "Tvungen genstart blokeret",
"force-shutdown-blocked": "Tvungen nedlukning blokeret",
"form:error:field-integer": "{field} skal være et heltal",
"form:error:field-maximum": "{field} skal være {max} eller mindre",
"form:error:field-min-items": "{field} skal indholde mindst {n} ting | {field} skal indholde mindst {n} ting",
"form:error:field-minimum": "{field} skal være {min} eller mere",
"form:error:field-required": "{field} er påkrævet",
"form:error:integer": "Skal være et heltal",
"form:error:maximum": "Skal være {max} eller mindre",
"form:error:min-items": "Skal indeholde mindst {n} ting | Skal indeholde mindst {n} ting",
"form:error:minimum": "Skal være {min} eller mere",
"form:error:required": "Dette felt er påkrævet",
"form:n-errors-summary": "{n} felter kræver opmærksomhed | {n} felter kræver opmærksomhed",
"form:warning:out-of-range": "Bør være mellem {min} og {max}",
"format": "Format",
"free-space": "Ledig plads",
"free-space-on-sr": "Ledig plads på SR",
"from-device": "Fra enhed",
"from-network": "Fra netværk",
"from-sr": "Fra SR",
"from-vlan": "Fra VLAN",
"from-vm": "Fra VM",
"full": "Fuld",
"full-copy": "Fuld kopi",
"fullscreen": "Fuldskærm",
"gateway": "Gateway",
@@ -480,8 +435,6 @@
"gzip": "GZIP",
"hardware": "Hardware",
"hardware-specifications": "Hardware specifikationer",
"health-check": "Helbredscheck",
"health-check-sr": "@:health-check SR",
"heartbeat-storage-repository": "Heartbeat storage repository",
"here": "Her",
"high-availability": "Høj tilgængelighed (HA)",
@@ -511,7 +464,6 @@
"in-last-three-runs": "I deres sidste 3 kørsler",
"in-progress": "I gang",
"included": "Inkluderet",
"incremental": "Inkremental",
"info": "Info",
"info:vdi-attached-rw": "Denne VDI er allerede tilknyttet i læse-skrive-tilstand til en anden VM.",
"infos": "Info",
@@ -542,10 +494,8 @@
"is-primary-host": "{name} er primær host",
"iscsi-iqn": "iSCSI IQN",
"iso-dvd": "ISO/DVD",
"item": "Ting",
"job": "Job",
"job:arg:allocated-space-required": "Allokeret plads er påkrævet",
"job:arg:backup-repository-required": "Backup repository er påkrævet",
"job:arg:bond-mode-required": "@:bond-mode-required",
"job:arg:direction-required": "Retning er påkrævet",
"job:arg:file-required": "Fil er påkrævet",
@@ -553,7 +503,6 @@
"job:arg:ip-range-required": "IP-område er påkrævet",
"job:arg:missing-payload": "Payload mangler",
"job:arg:name-required": "@:name-required",
"job:arg:nbd-and-insecure-nbd-exclusive": "NBD og usikker NBD kan ikke være til på samme tid",
"job:arg:password-required": "Password er påkrævet",
"job:arg:pif-id-required": "PIF-ID er påkrævet",
"job:arg:pif-ids-required": "Mindst ét PIF-ID er påkrævet",
@@ -571,20 +520,8 @@
"job:arg:vm-id-required": "VM-ID er påkrævet",
"job:backup-repository-benchmark:in-progress": "Benchmark af backup-repository i gang…",
"job:backup-repository-benchmark:missing-backup-repository": "Backup-repository mangler",
"job:backup-repository-benchmark:n-repositories-disabled": "1 valgt backup repository er slået fra | {n} valgte backup repositorys er slået fra",
"job:backup-repository-benchmark:repository-disabled": "Backup-repository deaktiveret",
"job:backup-repository-bulk-edit:in-progress": "Backup repository ændringer i gang…",
"job:backup-repository-bulk-edit:missing-backup-repository": "Ingen backup repository at ændre",
"job:backup-repository-bulk-edit:missing-payload": "Manglende ændringer for et backup repository",
"job:backup-repository-change-state:in-progress": "Backup repository status ændring i gang…",
"job:backup-repository-change-state:missing-backup-repository": "Ingen backup repository at forbinde til eller at ændre",
"job:backup-repository-create:encryption-requires-block": "Kryptering kræver det blokbaserede backupformat",
"job:backup-repository-edit:encryption-key-locked": "Krypteringsnøgle kan ikke ændres",
"job:backup-repository-edit:encryption-requires-block": "Kryptering kræver blok-baseret backup format",
"job:backup-repository-edit:unknown-type": "Ukendt backup repository type",
"job:backup-repository-forget:in-progress": "Glemmer backup repository…",
"job:backup-repository-forget:missing-backup-repository": "Intet backup repository at glemme",
"job:backup-repository-forget:used-by-n-backup-jobs": "Bruges af 1 backup job, slet den fra jobbet først | Bruges af {n} backup jobs, slet den fra jobbene først",
"job:connect:in-progress": "Forbindelse i gang…",
"job:create:in-progress": "Oprettelse i gang…",
"job:delete:in-progress": "Sletning er i gang…",
@@ -638,15 +575,10 @@
"job:pbd-plug:pbd-connected": "En eller flere PBD'er er allerede forbundet",
"job:pbd-unplug:missing-pbd": "Ingen PBD'er at afbryde",
"job:pbd-unplug:pbd-disconnected": "En eller flere PBD'er er allerede afbrudt",
"job:pif-forget:in-progress": "PIF glemmes…",
"job:pif-forget:is-management-interface": "Kan ikke glemme en host's management interface",
"job:pif-forget:missing-pif": "Ingen PIFs at glemme",
"job:pif-management-reconfigure:bad-power-state": "@:host-not-running",
"job:pif-management-reconfigure:current-pif": "Nuværende PIF",
"job:pif-management-reconfigure:in-progress": "Omkonfiguration af management-grænseflade i gang…",
"job:pif-management-reconfigure:missing-ip": "IP-adresse mangler",
"job:plugin-autoload:missing-plugin": "@:plugin-missing",
"job:plugin-change-state:already-loaded": "Plugin allerede indlæst",
"job:server-connect:missing-server": "Ingen servere at forbinde",
"job:server-disconnect:missing-server": "Ingen servere at afbryde",
"job:server-disconnect:server-disconnected": "En eller flere servere er allerede afbrudt",

View File

@@ -84,7 +84,7 @@
"action:resume": "Fortsetzen",
"action:save": "Speichern",
"action:search": "Suchen",
"action:search-treeview": "In Baumstruktur suchen ({shortcut})",
"action:search-treeview": "In Baumstruktur suchen",
"action:see-all": "Alles ansehen",
"action:see-less": "Weniger anzeigen",
"action:see-n-more": "{n} mehr anzeigen",

View File

@@ -258,8 +258,8 @@
"allow-unauthorized": "Allow unauthorized",
"allowed-ips": "Allowed IPs",
"allowed-ips-example": "For example: 192.168.0.1; 2001:db8::1",
"also-on": "Also on",
"always": "Always",
"also-on": "Also on",
"and": "And",
"any-file-type": "Any file type",
"any-property": "Any property",
@@ -487,9 +487,9 @@
"disk": "Disk",
"disk-name": "Disk name",
"disk-space": "Disk space",
"disks": "Disks",
"distribute-backups-across-backup-repositories": "Distribute backups across the selected backup repositories",
"distribute-replicas-across-storage-repositories": "Distribute replicas across the selected storage repositories",
"disks": "Disks",
"dns": "DNS",
"do-you-have-needs": "You have needs and/or expectations? Let us know",
"do-you-really-want-to-leave-this-page?": "Some changes are still being deployed. Do you really want to leave this page?",
@@ -509,8 +509,8 @@
"email-already-added": "This email address has already been added",
"email-mandatory": "Email address is mandatory",
"empty": "Empty",
"empty-tag": "{'<'}empty tag{'>'}",
"enable-health-check": "@:action:enable @.lower:health-check",
"empty-tag": "{'<'}empty tag{'>'}",
"enabled": "Enabled",
"encapsulation": "Encapsulation",
"encapsulation-required": "Encapsulation is required.",
@@ -553,11 +553,11 @@
"file-based": "File based",
"file-types-and-max-size": "{types}, Max {size}",
"filter-actions": "Filter actions",
"filters": "Filters",
"first-of-day": "first of day",
"first-of-month": "first of month",
"first-of-week": "first of week",
"first-of-year": "first of year",
"filters": "Filters",
"following-hosts-unreachable": "The following hosts are unreachable",
"for-backup": "For backup",
"for-replication": "For replication",
@@ -971,8 +971,8 @@
"long-term-retention:yearly": "yearly",
"lvm": "LVM",
"mac-address": "MAC address",
"mac-address-change-cut-connection": "Changing the MAC address will temporarily cut the connection",
"mac-addresses": "MAC addresses",
"mac-address-change-cut-connection": "Changing the MAC address will temporarily cut the connection",
"manage-citrix-pv-drivers-via-windows-update": "Manage citrix PV drivers via Windows Update",
"management": "Management",
"management-agent-not-detected": "Management agent not detected",
@@ -1105,10 +1105,10 @@
"name": "Name",
"name-required": "Name is required.",
"native": "Native",
"navigation": "Navigation",
"nbd-backup-info": "If NBD is enabled, it must also be enabled on the network used for backups. Otherwise, qcow2 disks will always be transferred in full, without NBD optimization.",
"nbd-concurrency-per-disk": "NBD concurrency per disk",
"nbd-concurrency-per-disk-mandatory": "NBD concurrency per disk is mandatory.",
"navigation": "Navigation",
"nbd:disabled": "Disabled",
"nbd:insecure": "Insecure (not encrypted)",
"nbd:insecure-warning": "The disk data of the backups will travel unencrypted on this network. Only enable it on a network dedicated to backups and isolated from the VMs and the users (dedicated VLAN or physical network).",
@@ -1336,6 +1336,7 @@
"planning": "Planning",
"please-confirm-to-continue": "This action cannot be undone. Are you sure you want to continue?",
"please-wait": "Please wait",
"plus-n": "+{n}",
"plugin": "Plugin",
"plugin-missing": "Plugin is missing",
"plugin:configuration-of": "the configuration of {name}",
@@ -1347,7 +1348,6 @@
"plugin:not-configurable": "This plugin is not configurable",
"plugin:test-info": "Test the plugin with its saved configuration.",
"plugins": "Plugins",
"plus-n": "+{n}",
"policy": "Policy",
"pool": "Pool",
"pool-add-host:ip-info": "Provide the address of the host you want to add to the pool.",
@@ -1487,8 +1487,8 @@
"resources-overview": "Resources overview",
"rest-api": "REST API",
"resulting-expression": "Resulting expression",
"resume": "Resume",
"retention": "Retention",
"resume": "Resume",
"retry": "Retry",
"review": "Review",
"review-and-confirm": "Review & confirm",
@@ -1672,8 +1672,8 @@
"tag-mandatory": "Tag is mandatory.",
"tags": "Tags",
"target": "Target",
"target-network": "Target network",
"target-proxy": "Target proxy",
"target-network": "Target network",
"target-sr": "Target SR",
"task": "Task",
"task-type": "Task type",

View File

@@ -7,7 +7,6 @@
"access-mode": "Modo de acceso",
"access-xoa": "Acceder a XOA",
"account": "Cuenta",
"account-name": "Nombre de la cuenta",
"account-organization-more": "Cuenta, organización y más…",
"action:add": "Agregar",
"action:add-filter": "Agregar filtro",
@@ -16,15 +15,12 @@
"action:add-network-in-xo-5": "Agregar red en XO-5",
"action:add-sort": "Agregar orden",
"action:add-vifs-in-xo-5": "Agregar VIF en XO-5",
"action:apply": "Aplicar",
"action:attach": "Adjuntar",
"action:attach-vdi": "@:attach-vdi",
"action:back": "Atrás",
"action:boot-vm": "Arrancar VM",
"action:change-state": "Cambiar estado",
"action:clear-selection": "borrar selección",
"action:close": "Cerrar",
"action:configure": "Configurar",
"action:confirm": "Confirmar",
"action:connect": "Conectar",
"action:connect-n": "Conectar {n}",
@@ -33,7 +29,6 @@
"action:connect-n-vdis": "Conectar 1 VDI | Conectar {n} VDIs",
"action:connect-n-vifs": "Conectar 1 VIF | Conectar {n} VIFs",
"action:connect-pool": "Conectar pool",
"action:continue": "Continuar",
"action:copy": "Copiar",
"action:copy-all": "Copiar todo",
"action:copy-host": "Copiar host",
@@ -43,12 +38,10 @@
"action:create-bonded-network": "Crear red enlazada",
"action:create-internal-network": "Crear red interna",
"action:create-network": "Crear red",
"action:create-new-br": "Crear nuevo repositorio de backup",
"action:create-traffic-rule": "Crear regla de tráfico",
"action:create-vdi": "Crear VDI",
"action:create-vif": "Crear VIF",
"action:delete": "Eliminar",
"action:delete-configuration": "Borrar configuración",
"action:delete-filter": "Borrar filtro",
"action:delete-group": "Borrar grupo",
"action:delete-n-networks": "Eliminar 1 red | Eliminar {n} redes",
@@ -61,14 +54,12 @@
"action:deploy": "Desplegar",
"action:deploy-xoa": "Desplegar XOA",
"action:detach": "Separar",
"action:detach-host": "@:action:detach host",
"action:detach-n-vdis": "Desconectar 1 VDI | Desconectar {n} VDIs",
"action:detach-vdi": "Desconectar VDI",
"action:disable": "Deshabilitar",
"action:disable-and-evacuate-vms": "Deshabilitar y evacuar VMs",
"action:disable-host": "Deshabilitar host",
"action:disable-host-and-evacuate-vms": "Deshabilitar host y evacuar VMs",
"action:disable-load-at-startup": "Desactivar la carga al iniciar",
"action:disconnect": "Desconectar",
"action:disconnect-n": "Desconectar {n}",
"action:disconnect-n-srs": "Desconectar 1 SR | Desconectar {n} SRs",
@@ -82,11 +73,9 @@
"action:edit": "Editar",
"action:edit-config": "Modificar configuración",
"action:edit-traffic-rule": "@:action:edit @.lower:traffic-rule",
"action:emergency-shutdown": "Apagado de emergencia",
"action:enable": "Habilitar",
"action:enable-host": "Habilitar amfitrión",
"action:enable-light-mode": "Activar el modo claro",
"action:enable-load-at-startup": "Habilitar la carga al iniciar",
"action:export": "Exportar",
"action:export-content": "Exportar contenido",
"action:export-n-vms": "Exportar 1 VM | Exportar {n} VMs",
@@ -94,7 +83,6 @@
"action:export-table-to": "Exportar la tabla a {type}",
"action:export-vdi": "Exportar a VDI",
"action:export-vm": "Exportar VM | Exportar VMs",
"action:fill-empty-networks": "Rellenar redes vacías",
"action:filter": "Filtrar",
"action:force-migrate-on-sr": "Forzar la migración al SR",
"action:force-reboot": "Forzar reinicio",
@@ -109,7 +97,6 @@
"action:import-export": "Importar/Exportar",
"action:install-app": "Instalar {name}",
"action:install-guest-tools": "Instalar herramientas de invitado (guest tools)",
"action:load": "Cargar",
"action:load-now": "Cargar ahora",
"action:log-out": "Desconectarse",
"action:migrate": "Migrar",
@@ -127,15 +114,13 @@
"action:reboot": "Reiniciar",
"action:reboot-host": "@:action:reboot amftrión",
"action:reformat": "Reformatear",
"action:reset-all-networks": "Restablecer todas las redes",
"action:reset-to-default": "Restablecer a la configuración predeterminada",
"action:restart-toolstack": "Reiniciar las herramientas",
"action:resume": "Reanudar",
"action:revert-to-snapshot": "Revertir a la instantánea",
"action:revert-vm-here": "Revertir la VM aquí",
"action:save": "Guardar",
"action:search": "Buscar",
"action:search-treeview": "@:action:search en vista de árbol ({shortcut})",
"action:search-treeview": "Buscar en vista de árbol",
"action:see-all": "Ver todos",
"action:see-less": "Ver menos",
"action:see-n-more": "Ver {n} más",
@@ -165,11 +150,7 @@
"action:start-host": "Iniciar amfitrión",
"action:start-on-host": "Iniciar en un servidor específico",
"action:suspend": "Suspender",
"action:test": "Pureba",
"action:test-plugin": "Plugin de prueba",
"action:test-speed": "Prueba de velocidad",
"action:turn-into-group": "Convertir en grupo",
"action:unload": "Descargar",
"action:update": "Actualizar",
"action:use-query-builder": "Usar el generador de consultas",
"add-or": "+O",
@@ -194,7 +175,7 @@
"all": "Todos",
"all-done!": "¡Todo listo!",
"all-good!": "¡Todo bien!",
"all-quiet-launchpad": "Calma total en la plataforma de lanzamiento",
"all-quiet-launchpad": "Calma total en el plataforma de lanzamiento",
"allocated-space": "Espacio asignado",
"allow": "Permitir",
"allow-self-signed-ssl": "Es posible que tenga que permitir certificados SSL autofirmados en su navegador",
@@ -205,10 +186,8 @@
"api-error-details": "Detalles de errores de la API",
"api-warning-details": "Detalles de advertencia de la API",
"appearance": "Apariencia",
"archives": "Archivos",
"aria:breadcrumb:label": "Ruta de navegación",
"ascending": "ascendente",
"at-least-one-enabled": "Al menos una habilitada",
"attach-vdi": "Adjuntar VDI existente",
"auto-generated": "Generado automáticamente",
"auto-power": "Auto arranque",

View File

@@ -258,8 +258,8 @@
"allow-unauthorized": "Autoriser les connexions non vérifiées",
"allowed-ips": "IPs autorisées",
"allowed-ips-example": "Par exemple : 192.168.0.1; 2001:db8::1",
"also-on": "Aussi sur",
"always": "Toujours",
"also-on": "Aussi sur",
"and": "Et",
"any-file-type": "Tout type de fichier",
"any-property": "N'importe quelle propriété",
@@ -487,9 +487,9 @@
"disk": "Disque",
"disk-name": "Nom du disque",
"disk-space": "Espace disque",
"disks": "Disques",
"distribute-backups-across-backup-repositories": "Répartir les backups entre les backup repositories sélectionnés",
"distribute-replicas-across-storage-repositories": "Répartir les réplicas entre les storage repositories sélectionnés",
"disks": "Disques",
"dns": "DNS",
"do-you-have-needs": "Vous avez des besoins et/ou des attentes ? Faites-le-nous savoir",
"do-you-really-want-to-leave-this-page?": "Des modifications sont encore en cours de déploiement. Souhaitez-vous vraiment quitter cette page ?",
@@ -509,8 +509,8 @@
"email-already-added": "Cette adresse email a déjà été ajoutée",
"email-mandatory": "L'adresse email est obligatoire",
"empty": "Vide",
"empty-tag": "{'<'}tag vide{'>'}",
"enable-health-check": "@:action:enable le @.lower:health-check",
"empty-tag": "{'<'}tag vide{'>'}",
"enabled": "Activé",
"encapsulation": "Encapsulation",
"encapsulation-required": "L’encapsulation est requise.",
@@ -553,11 +553,11 @@
"file-based": "Par fichiers",
"file-types-and-max-size": "{types}, Max {size}",
"filter-actions": "Actions du filtre",
"filters": "Filtres",
"first-of-day": "le premier de la journée",
"first-of-month": "le premier du mois",
"first-of-week": "le premier de la semaine",
"first-of-year": "le premier de l’année",
"filters": "Filtres",
"following-hosts-unreachable": "Les hôtes suivants sont inaccessibles",
"for-backup": "Pour la sauvegarde",
"for-replication": "Pour la réplication",
@@ -971,8 +971,8 @@
"long-term-retention:yearly": "annuels",
"lvm": "LVM",
"mac-address": "Adresse MAC",
"mac-address-change-cut-connection": "Modifier l'adresse MAC coupera temporairement la connexion",
"mac-addresses": "Adresses MAC",
"mac-address-change-cut-connection": "Modifier l'adresse MAC coupera temporairement la connexion",
"manage-citrix-pv-drivers-via-windows-update": "Gérer les pilotes Citrix PV via Windows Update",
"management": "Gestion",
"management-agent-not-detected": "Agent de gestion non détecté",
@@ -1105,10 +1105,10 @@
"name": "Nom",
"name-required": "Le nom est requis.",
"native": "Native",
"navigation": "Navigation",
"nbd-backup-info": "Si NBD est activé, il doit aussi l'être sur le réseau utilisé pour les sauvegardes. Sinon, les disques qcow2 seront toujours transférés en entier, sans l'optimisation NBD.",
"nbd-concurrency-per-disk": "Concurrence NBD par disque",
"nbd-concurrency-per-disk-mandatory": "La concurrence NBD par disque est obligatoire.",
"navigation": "Navigation",
"nbd:disabled": "Désactivé",
"nbd:insecure": "Non sécurisé (non chiffré)",
"nbd:insecure-warning": "Les données des disques sauvegardés transiteront en clair sur ce réseau. À n'activer que sur un réseau dédié aux sauvegardes et isolé des VMs et des utilisateurs (VLAN ou réseau physique dédié).",
@@ -1336,6 +1336,7 @@
"planning": "Planification",
"please-confirm-to-continue": "Cette action ne peut pas être annulée. Êtes-vous sûr de vouloir continuer ?",
"please-wait": "Veuillez patienter",
"plus-n": "+{n}",
"plugin": "Plugin",
"plugin-missing": "Le plugin est manquant",
"plugin:configuration-of": "la configuration de {name}",
@@ -1347,7 +1348,6 @@
"plugin:not-configurable": "Ce plugin n'est pas configurable",
"plugin:test-info": "Testez le plugin avec sa configuration enregistrée.",
"plugins": "Plugins",
"plus-n": "+{n}",
"policy": "Politique",
"pool": "Pool",
"pool-add-host:ip-info": "Entrez l’adresse de l’hôte que vous souhaitez ajouter au pool.",
@@ -1487,8 +1487,8 @@
"resources-overview": "Vue d'ensemble des ressources",
"rest-api": "API REST",
"resulting-expression": "Expression résultante",
"resume": "Reprise",
"retention": "Rétention",
"resume": "Reprise",
"retry": "Réessayer",
"review": "Revue",
"review-and-confirm": "Vérifier et confirmer",
@@ -1672,8 +1672,8 @@
"tag-mandatory": "Le tag est obligatoire.",
"tags": "Tags",
"target": "Cible",
"target-network": "Réseau cible",
"target-proxy": "Proxy cible",
"target-network": "Réseau cible",
"target-sr": "SR cible",
"task": "Tâche",
"task-type": "Type de tâche",

View File

@@ -128,7 +128,7 @@
"action:revert-vm-here": "VM을 여기로 되돌리기",
"action:save": "저장",
"action:search": "검색",
"action:search-treeview": "트리 화면에서 검색 ({shortcut})",
"action:search-treeview": "트리 화면에서 검색",
"action:see-all": "모두 보기",
"action:see-less": "덜 보기",
"action:see-n-more": "{n}개 더 보기",

View File

@@ -4,11 +4,9 @@
"about": "Over",
"accept-self-signed-certificates": "Zelfondertekende certificaten accepteren",
"access-forum": "Open forum",
"access-key-id": "Toegangssleutel-ID",
"access-mode": "Toegangsmodus",
"access-xoa": "Open XOA",
"account": "Account",
"account-name": "Account name",
"account-organization-more": "Account, organisatie & meer…",
"action:add": "Toevoegen",
"action:add-filter": "Voeg filter toe",
@@ -17,15 +15,12 @@
"action:add-network-in-xo-5": "Voeg netwerk toe in XO-5",
"action:add-sort": "Voeg sorteren toe",
"action:add-vifs-in-xo-5": "Voeg VIF toe in XO-5",
"action:apply": "Toepassen",
"action:attach": "Koppelen",
"action:attach-vdi": "@:attach-vdi",
"action:back": "Terug",
"action:boot-vm": "VM opstarten",
"action:change-state": "Wijzig status",
"action:clear-selection": "selectie wissen",
"action:close": "Sluiten",
"action:configure": "Configureren",
"action:confirm": "Bevestigen",
"action:connect": "Verbind",
"action:connect-n": "Sluit {n} aan",
@@ -34,7 +29,6 @@
"action:connect-n-vdis": "Sluit 1 VDI aan | Sluit {n} VDI's aan",
"action:connect-n-vifs": "Verbind 1 VIF | {n} VIF’s verbinden",
"action:connect-pool": "Verbind pool",
"action:continue": "Ga verder",
"action:copy": "Kopiëren",
"action:copy-all": "Kopieer alles",
"action:copy-host": "Kopieer host",
@@ -44,12 +38,10 @@
"action:create-bonded-network": "Maak gebundeld netwerk",
"action:create-internal-network": "Maak intern netwerk",
"action:create-network": "Maak netwerk",
"action:create-new-br": "Maak een nieuwe back-upopslagplaats aan",
"action:create-traffic-rule": "Verkeersregel aanmaken",
"action:create-vdi": "VDI aanmaken",
"action:create-vif": "VIF aanmaken",
"action:delete": "Verwijderen",
"action:delete-configuration": "Configuratie verwijderen",
"action:delete-filter": "Filter verwijderen",
"action:delete-group": "Groep verwijderen",
"action:delete-n-networks": "1 netwerk verwijderen | {n} netwerken verwijderen",
@@ -62,14 +54,12 @@
"action:deploy": "Uitrollen",
"action:deploy-xoa": "Rol XOA uit",
"action:detach": "Loskoppelen",
"action:detach-host": "Host loskoppelen",
"action:detach-n-vdis": "1 VDI loskoppelen | {n} VDI’s loskoppelen",
"action:detach-vdi": "VDI loskoppelen",
"action:disable": "Uitschakelen",
"action:disable-and-evacuate-vms": "Virtuele machines uitschakelen en evacueren",
"action:disable-host": "Host uitschakelen",
"action:disable-host-and-evacuate-vms": "Host uitschakelen en VM’s evacueren",
"action:disable-load-at-startup": "Het laden bij het opstarten uitschakelen",
"action:disconnect": "Loskoppelen",
"action:disconnect-n": "Ontkoppel {n}",
"action:disconnect-n-srs": "1 SR loskoppelen | {n} SR’s loskoppelen",
@@ -81,16 +71,11 @@
"action:duplicate": "Dupliceren",
"action:duplicate-n-vms": "1 VM dupliceren | {n} VM’s dupliceren",
"action:edit": "Bewerken",
"action:edit-br": "Bewerk BR",
"action:edit-config": "Configuratie bewerken",
"action:edit-n-brs": "Bewerk {n} BR's",
"action:edit-traffic-rule": "@:action:edit @.lower:traffic-rule",
"action:emergency-shutdown": "Noodstop",
"action:emergency-shutdown-host": "@:action:emergency-shutdown host",
"action:enable": "Inschakelen",
"action:enable-host": "Host inschakelen",
"action:enable-light-mode": "Lichte modus inschakelen",
"action:enable-load-at-startup": "Laden bij het opstarten inschakelen",
"action:export": "Exporteren",
"action:export-content": "Inhoud exporteren",
"action:export-n-vms": "Exporteer 1 VM | Exporteer {n} VMs",
@@ -98,8 +83,6 @@
"action:export-table-to": "Exporteer tabel naar {type}",
"action:export-vdi": "Een VDI exporteren",
"action:export-vm": "VM exporteren | VMs exporteren",
"action:fill-empty-networks": "Lege netwerken vullen",
"action:fill-empty-srs": "Vul lege SR’s in",
"action:filter": "Filter",
"action:force-migrate-on-sr": "Forceer migratie op SR",
"action:force-reboot": "Opnieuw opstarten forceren",
@@ -107,8 +90,6 @@
"action:force-shutdown": "Afsluiten forceren",
"action:forget": "Vergeten",
"action:forget-host": "Vergeet host",
"action:forget-n-brs": "Vergeet 1 BR | Vergeet {n} BR's",
"action:forget-n-pifs": "1 PIF vergeten | {n} PIF’s vergeten",
"action:go-back": "Ga terug",
"action:group": "Groep",
"action:hide": "Verberg",
@@ -116,7 +97,6 @@
"action:import-export": "Import/Export",
"action:install-app": "Installeer {name}",
"action:install-guest-tools": "Installeer guest tools",
"action:load": "Laden",
"action:load-now": "Nu laden",
"action:log-out": "Uitloggen",
"action:migrate": "Migreren",
@@ -134,16 +114,13 @@
"action:reboot": "Opnieuw opstarten",
"action:reboot-host": "@:action:reboot host",
"action:reformat": "Formatteren",
"action:reset-all-networks": "Alle netwerken resetten",
"action:reset-all-srs": "Alle SR’s resetten",
"action:reset-to-default": "Terugzetten naar standaardinstellingen",
"action:restart-toolstack": "Toolstack opnieuw opstarten",
"action:resume": "Hervatten",
"action:revert-to-snapshot": "Terugkeren naar de snapshot",
"action:revert-vm-here": "VM hier terugzetten",
"action:save": "Opslaan",
"action:search": "Zoeken",
"action:search-treeview": "@:action:search in boomstructuur ({shortcut})",
"action:search-treeview": "Zoeken in boomstructuur",
"action:see-all": "Alles bekijken",
"action:see-less": "Minder weergeven",
"action:see-n-more": "Zie {n} meer",
@@ -173,11 +150,7 @@
"action:start-host": "Host starten",
"action:start-on-host": "Start op specifieke host",
"action:suspend": "Opschorten",
"action:test": "Test",
"action:test-plugin": "Test plugin",
"action:test-speed": "Testsnelheid",
"action:turn-into-group": "Verander in groep",
"action:unload": "Ontladen",
"action:update": "Bijwerken",
"action:use-query-builder": "Querybouwer gebruiken",
"add-or": "+OF",
@@ -203,12 +176,9 @@
"all-done!": "Helemaal klaar!",
"all-good!": "Alles goed!",
"all-quiet-launchpad": "Alles rustig op het lanceerplatform",
"all-srs-shared-storage-migration-optional": "Alle SR’s worden gedeeld; opslagmigratie is optioneel.",
"all-vifs-follow-vm": "Alle VIF’s volgen de VM naar zijn nieuwe host: binnen de pool blijven hun netwerken ongewijzigd.",
"allocated-space": "Toegewezen ruimte",
"allow": "Toestaan",
"allow-self-signed-ssl": "Mogelijk moet je zelf ondertekende SSL-certificaten toestaan in je browser",
"allow-unauthorized": "Toestaan zonder toestemming",
"allowed-ips": "Toegestane IP-adressen",
"allowed-ips-example": "Bijvoorbeeld: 192.168.0.1; 2001:db8::1",
"and": "En",
@@ -216,42 +186,30 @@
"api-error-details": "API foutdetails",
"api-warning-details": "API-waarschuwing details",
"appearance": "Uiterlijk",
"archives": "Archieven",
"aria:breadcrumb:label": "Broodkruimel",
"ascending": "oplopend",
"at-least-one-enabled": "Ten minste één is ingeschakeld",
"attach-vdi": "Koppel bestaande VDI",
"auto-generated": "Automatisch gegenereerd",
"auto-power": "Automatisch opstarten",
"available": "Beschikbaar",
"available-properties-for-advanced-filter:": "Beschikbare eigenschappen voor geavanceerd filter:",
"azure": "Azure",
"azurite": "Azuriet",
"back-pool-dashboard": "Ga terug naar je Pool dashboard",
"back-site-dashboard": "Ga terug naar je omgeving dashboard",
"backed-up-vms": "Geback-upte VM's",
"backup": "Back-up",
"backup-and-replication": "Back-up en replicatie",
"backup-archive-status": "Backup archief status",
"backup-date": "@:backup @.lower:date",
"backup-format": "Formaat voor incrementele back-ups",
"backup-issues": "Back-up problemen",
"backup-job": "Back-uptaak",
"backup-jobs": "Back-uptaken",
"backup-jobs:see-all": "Bekijk alle back-uptaken",
"backup-logs": "@:backup @.lower:logs",
"backup-network": "Back-up netwerk",
"backup-repositories": "Back-up repositories",
"backup-repository": "Back-up opslag repository",
"backup-repository-path": "Pad naar de back-upopslagplaats",
"backup-repository-type": "Back-up opslag repository (lokaal, NFS, SMB)",
"backup-targets": "Back-updoelen",
"backup:last-replication": "Laatste replicatie",
"backup:pool-metadata": "Pool metadata",
"backup:rolling-snapshot": "Rollende snapshot",
"backup:vms-backup": "Back-up van VM's",
"backup:vms-mirror": "VM’s spiegelen",
"backup:vms-replication": "VM-replicatie",
"backup:xo-config": "XO-configuratie",
"backups": "Back-ups",
"backups:jobs:disabled": "Uitgeschakeld",
@@ -272,8 +230,6 @@
"backups:vms-protection:unprotected": "In ten minste 1 opdracht maar onbeschermd",
"bios-default": "bios (standaard)",
"bios-info": "BIOS-info",
"block-based": "Blokgebaseerd",
"block-based-hint": "Er zijn specifieke instellingen vereist; raadpleeg de documentatie.",
"bond": "Bind",
"bond-devices": "Bind apparaten",
"bond-mode": "Bundel modus",
@@ -281,9 +237,6 @@
"bond-status": "Binding status",
"boot-firmware": "Opstart firmware",
"bootable": "Opstartbaar",
"br-details": "Gegevens over de back-upopslagplaats",
"br-type-details": "{type} details",
"bucket-name": "Naam van de bucket",
"build-number": "Build versie",
"by": "Door",
"bytes:gi": "GiB",
@@ -295,7 +248,6 @@
"character-limit": "{count}/{max} karakter | {count}/{max} karakters",
"check-errors:": "Bekijk de fouten:",
"check-summing": "TX Controle sommen",
"click-test-br-speed": "Klik hier om de BR-snelheid te testen",
"click-to-display-alarms:": "Klik om alarmen weer te geven:",
"click-to-return-default-pool": "Klik hier om terug te gaan naar de standaard pool",
"cloud-config": "Cloudconfiguratie",
@@ -313,7 +265,6 @@
"confirm-cancel?": "Weet je zeker dat je wilt annuleren?",
"confirm-delete": "Je staat op het punt om {name} te verwijderen",
"confirm-disconnect": "Je staat op het punt om de verbinding met {0} te verbreken",
"confirm-forget": "Je staat op het punt {name} te vergeten",
"confirm-vm-revert": "Bevestig het terugzetten van de VM",
"connect": "Verbind",
"connected": "Verbonden",
@@ -325,13 +276,9 @@
"console": "Console",
"console-actions": "Console acties",
"console-clipboard": "Console klembord",
"console-keyboard-layout": "Toetsenbordindeling voor gasten",
"console-keyboard-layout-not-applicable": "Niet van toepassing: tekens worden ongewijzigd naar deze console verzonden",
"console-offline": "Console offline",
"console-type-text-skipped": "Niet getypt, volgende ontbreekt in de geselecteerde toetsenbordindeling: {chars}",
"console-unavailable": "Console onbeschikbaar",
"console-unavailable-reason": "De console is momenteel niet beschikbaar omdat {type} is uitgeschakeld.",
"container-name": "Containernaam",
"control-domain-memory": "Geheugen besturingsdomein",
"copied": "Gekopieerd",
"copy-host-bios-strings": "Kopieer host-BIOS-strings naar VM (alleen voor BIOS VM).",
@@ -358,7 +305,6 @@
"current": "Huidig",
"current-attach": "Momenteel aangesloten",
"custom-fields": "Aangepaste velden",
"custom-options": "Aangepaste opties",
"dark-mode:auto": "Automatische donkere modus",
"dark-mode:disable": "Donkere modus uitschakelen",
"dark-mode:enable": "Donkere modus inschakelen",
@@ -378,12 +324,7 @@
"deploy-xoa-status:waiting": "Wachten op antwoord van XOA…",
"descending": "aflopend",
"description": "Omschrijving",
"destination-host": "Bestemmingshost",
"destination-network": "Bestemmingsnetwerk",
"destination-network-required": "Bestemmingsnetwerk is vereist.",
"destination-sr": "Bestemming SR",
"destination-sr-required": "Bestemming SR is vereist.",
"details": "Details",
"device": "Apparaat",
"device-config": "Apparaatconfiguratie",
"dhcp": "DHCP",
@@ -408,24 +349,14 @@
"do-you-really-want-to-leave-this-page?": "Er worden nog enkele wijzigingen doorgevoerd. Wilt je deze pagina echt verlaten?",
"documentation": "Documentatie",
"documentation-name": "{name} documentatie",
"domain": "Domein",
"done": "Gereed",
"drop": "Laten vallen",
"duplication-method": "Duplicatiemethode",
"duration": "Duur",
"edit-vif": "VIF bewerken",
"edit-vif:error-message": "Er is een fout opgetreden tijdens het bewerken van het VIF-bestand. Controleer je configuratie-instellingen en probeer het opnieuw.",
"editing-vif": "VIF bewerken",
"email": "E-mail",
"empty": "Leeg",
"enabled": "Ingeschakeld",
"encrypted": "Versleuteld",
"encryption": "Versleuteling",
"encryption-available-for-block-modes-only": "Versleuteling is alleen beschikbaar voor blokmodus.",
"encryption-key-invalid": "De sleutel moet precies {n} hexadecimale tekens bevatten.",
"encryption-key-loss-warning": "Als je de versleutelingssleutel kwijtraakt, kunnen je gegevens niet meer worden hersteld.",
"ended": "Beëindigd",
"endpoint-url": "Eindpunt-URL",
"engines-off": "Motoren uit, baan stabiel",
"eol": "EOL",
"error": "Fout",
@@ -444,34 +375,20 @@
"field:exceeds-max-characters": "Veldwaarde mag niet meer dan {max} karakters bevatten.",
"field:required": "Veld is verplicht.",
"file": "Bestand",
"file-based": "Op bestanden gebaseerd",
"filter-actions": "Filteracties",
"following-hosts-unreachable": "De volgende hosts zijn onbereikbaar",
"for-backup": "Voor back-up",
"for-replication": "Voor replicatie",
"force-reboot-blocked": "Geforceerd opnieuw opstarten geblokkeerd",
"force-shutdown-blocked": "Gedwongen afsluiten geblokkeerd",
"form:error:field-integer": "{field} moet een geheel getal zijn",
"form:error:field-maximum": "{field} moet {max} of minder zijn",
"form:error:field-min-items": "{field} moet ten minste {n} item bevatten | {field} moet ten minste {n} items bevatten",
"form:error:field-minimum": "{field} moet {min} of meer zijn",
"form:error:field-required": "{field} is verplicht",
"form:error:integer": "Moet een heel getal zijn",
"form:error:maximum": "Moet {max} of minder zijn",
"form:error:min-items": "Moet ten minste {n} item bevatten | Moet ten minste {n} items bevatten",
"form:error:minimum": "Moet {min} of meer zijn",
"form:error:required": "Dit veld is verplicht",
"form:n-errors-summary": "Het veld {n} moet worden gecontroleerd | De velden {n} moeten worden gecontroleerd",
"form:warning:out-of-range": "Moet tussen {min} en {max} liggen",
"format": "Formaat",
"free-space": "Vrije ruimte",
"free-space-on-sr": "Vrije ruimte op SR",
"from-device": "Van apparaat",
"from-network": "Van het netwerk",
"from-sr": "Van SR",
"from-vlan": "Vanuit VLAN",
"from-vm": "Van VM",
"full": "Volledig",
"full-copy": "Volledige kopie",
"fullscreen": "Volledig scherm",
"gateway": "Gateway",
@@ -487,8 +404,6 @@
"gzip": "GZIP",
"hardware": "Hardware",
"hardware-specifications": "Hardwarespecificaties",
"health-check": "Gezondheidscontrole",
"health-check-sr": "@:health-check SR",
"heartbeat-storage-repository": "Hartslag opslagrepository",
"here": "Hier",
"high-availability": "Hoge beschikbaarheid (HA)",
@@ -499,10 +414,8 @@
"host-enable-title": "Weet je zeker dat je {host} wilt inschakelen?",
"host-internal-networks": "Host interne netwerken",
"host-missing": "Host ontbreekt",
"host-name": "Hostnaam",
"host-not-running": "Host is gestopt",
"host-off": "Host is uitgeschakeld",
"host-or-ip-address": "Host of IP-adres",
"host:status:active": "@:status:active",
"host:status:disabled": "@:status:disabled",
"host:status:halted": "@:status:halted",
@@ -511,14 +424,12 @@
"host:status:unknown": "@:status:unknown",
"hosts": "Hosts",
"hosts-status": "Hosts status",
"https": "HTTPS",
"hyper-threading": "Hyper Threading (SMT)",
"id": "ID",
"in": "in",
"in-last-three-runs": "In hun laatste 3 runs",
"in-progress": "In uitvoering",
"included": "Inbegrepen",
"incremental": "Incrementeel",
"info": "Info",
"info:vdi-attached-rw": "Deze VDI is al in lees-schrijfmodus gekoppeld aan een andere VM.",
"infos": "Info's",
@@ -531,9 +442,7 @@
"invalid-field": "Ongeldig veld",
"invalid-ip-addresses": "Een of meer ongeldige IP-adressen",
"invalid-mac-address": "Ongeldig MAC-adres",
"invalid-port": "Ongeldige poort",
"invalid-rate-limit": "De limiet mag niet negatief zijn",
"invalid-username-or-password": "Ongeldige gebruikersnaam en/of wachtwoord.",
"ip-address": "IP-adres",
"ip-address-info": "Je kunt een regel toepassen op één enkel IP-adres of op een subnet met de CIDR-notatie. Voorbeelden: 192.168.1.10 of 10.20.0.0/16",
"ip-address-invalid": "Het IP-adres is ongeldig.",
@@ -549,10 +458,8 @@
"is-primary-host": "{name} is primaire host",
"iscsi-iqn": "iSCSI IQN",
"iso-dvd": "ISO/DVD",
"item": "Item",
"job": "Taak",
"job:arg:allocated-space-required": "Er is toegewezen opslagruimte nodig",
"job:arg:backup-repository-required": "Een back-upopslagplaats is vereist",
"job:arg:bond-mode-required": "@:bond-mode-required",
"job:arg:direction-required": "Richting is vereist",
"job:arg:file-required": "Bestand is verplicht",
@@ -560,7 +467,6 @@
"job:arg:ip-range-required": "Een IP-reeks is vereist",
"job:arg:missing-payload": "Payload ontbreekt",
"job:arg:name-required": "@:name-required",
"job:arg:nbd-and-insecure-nbd-exclusive": "NBD en onbeveiligde NBD kunnen niet tegelijkertijd worden ingeschakeld",
"job:arg:password-required": "Wachtwoord is vereist",
"job:arg:pif-id-required": "PIF ID is vereist",
"job:arg:pif-ids-required": "Ten minste één PIF-ID is vereist",
@@ -571,27 +477,10 @@
"job:arg:sr-vdi-required": "SR VDI is vereist",
"job:arg:target-id-required": "Doel-ID is vereist",
"job:arg:template-uuid-required": "Sjabloon UUID is vereist",
"job:arg:url-required": "URL is verplicht",
"job:arg:username-required": "Gebruikersnaam is vereist",
"job:arg:vdi-id-required": "VDI-ID is vereist",
"job:arg:vlan-required": "@:vlan-required",
"job:arg:vm-id-required": "VM-ID is vereist",
"job:backup-repository-benchmark:in-progress": "Benchmark van de back-upopslagplaats wordt uitgevoerd…",
"job:backup-repository-benchmark:missing-backup-repository": "Back-uprepository ontbreekt",
"job:backup-repository-benchmark:n-repositories-disabled": "1 geselecteerde back-upopslagplaats is uitgeschakeld | {n} geselecteerde back-upopslagplaatsen zijn uitgeschakeld",
"job:backup-repository-benchmark:repository-disabled": "Back-upopslagplaats uitgeschakeld",
"job:backup-repository-bulk-edit:in-progress": "De bewerking van de back-uprepositories is bezig…",
"job:backup-repository-bulk-edit:missing-backup-repository": "Er is geen back-uprepository om te bewerken",
"job:backup-repository-bulk-edit:missing-payload": "Ontbrekende wijzigingen voor een back-uprepository",
"job:backup-repository-change-state:in-progress": "De status van de back-uprepository wordt momenteel gewijzigd…",
"job:backup-repository-change-state:missing-backup-repository": "Er is geen back-uprepository om verbinding mee te maken of uit te schakelen",
"job:backup-repository-create:encryption-requires-block": "Voor versleuteling is het blokgebaseerde back-upformaat vereist",
"job:backup-repository-edit:encryption-key-locked": "De versleutelingssleutel kan niet worden gewijzigd",
"job:backup-repository-edit:encryption-requires-block": "Voor versleuteling is het blokgebaseerde back-upformaat vereist",
"job:backup-repository-edit:unknown-type": "Onbekend type back-upopslagplaats",
"job:backup-repository-forget:in-progress": "Vergeten van backup-opslagplaats wordt momenteel uitgevoerd…",
"job:backup-repository-forget:missing-backup-repository": "Geen back-upopslagplaats om te vergeten",
"job:backup-repository-forget:used-by-n-backup-jobs": "Wordt gebruikt door 1 back-uptaak; verwijder het eerst uit die taak | Wordt gebruikt door {n} back-uptaak; verwijder het eerst uit die taken",
"job:connect:in-progress": "Wordt verbonden…",
"job:create:in-progress": "Aan het maken…",
"job:delete:in-progress": "Verwijderen in uitvoering…",
@@ -600,11 +489,10 @@
"job:edit:in-progress": "Wordt momenteel bewerkt…",
"job:enable:in-progress": "Wordt ingeschakeld…",
"job:export:in-progress": "Exporteren is bezig…",
"job:host-detach:bad-power-state": "@:host-not-running",
"job:host-detach:in-progress": "Het loskoppelen van de host is bezig…",
"job:host-detach:master-host": "De hoofdhost kan niet worden losgekoppeld",
"job:host-detach:missing-host": "Geen host om los te koppelen",
"job:host-disable:bad-power-state": "@:host-not-running",
"job:host-disable:bad-power-state": "De host is niet actief",
"job:host-disable:missing-host": "@:host-missing",
"job:host-enable:missing-host": "@:host-missing",
"job:host-evacuate:in-progress": "De evacuatie van de host is aan de gang…",
@@ -615,17 +503,16 @@
"job:host-reboot:evacuate-in-progress": "Virtuele machines worden momenteel geëvacueerd…",
"job:host-reboot:in-progress": "De host wordt opnieuw opgestart…",
"job:host-reboot:missing-host": "Er is geen host om opnieuw op te starten",
"job:host-restart-toolstack:bad-power-state": "@:host-not-running",
"job:host-restart-toolstack:ha-enabled": "Het opnieuw opstarten van de toolstack is niet toegestaan zolang HA is ingeschakeld voor de pool",
"job:host-restart-toolstack:bad-power-state": "Host draait niet",
"job:host-restart-toolstack:in-progress": "De toolstack van de host wordt opnieuw opgestart…",
"job:host-restart-toolstack:missing-host": "Geen host om toolstack op opnieuw te starten",
"job:host-scan-pifs:bad-power-state": "@:host-not-running",
"job:host-scan-pifs:bad-power-state": "Host is niet actief",
"job:host-scan-pifs:in-progress": "@:scan-pifs bezig…",
"job:host-scan-pifs:missing-host": "@:host-missing",
"job:host-shutdown:bad-power-state": "Host is al gestopt",
"job:host-shutdown:in-progress": "De host wordt momenteel afgesloten…",
"job:host-shutdown:missing-host": "Er is geen host om af te sluiten",
"job:host-smart-reboot:bad-power-state": "@:host-not-running",
"job:host-smart-reboot:bad-power-state": "De host draait niet",
"job:host-smart-reboot:in-progress": "Slimme herstart van de host bezig…",
"job:host-smart-reboot:missing-host": "Geen host voor slimme herstart",
"job:host-smart-reboot:vm-clean-shutdown-in-progress": "VMs worden op dit moment netjes afgesloten…",
@@ -638,37 +525,15 @@
"job:host-start:power-on-disabled": "Inschakelen uitgeschakeld",
"job:migrate:in-progress": "Migratie is bezig…",
"job:network-delete:has-n-physical-pif-connected": "Er is één fysieke PIF aangesloten op het netwerk | Er zijn {n} fysieke PIF's aangesloten op het netwerk",
"job:network-delete:has-n-pif-connected": "Er is één PIF aangesloten op het netwerk | Er zijn {n} PIF's aangesloten op het netwerk",
"job:network-delete:has-n-vif-attached": "Er is één VIF op het netwerk aangesloten | Er zijn {n} VIF’s op het netwerk aangesloten",
"job:network-delete:missing-network": "Geen netwerk om te verwijderen",
"job:pbd-plug:missing-pbd": "Er zijn geen PBD's om aan te sluiten",
"job:pbd-plug:pbd-connected": "Er zijn al één of meerdere PBD’s aangesloten",
"job:pbd-unplug:missing-pbd": "Er zijn geen PBD’s om los te koppelen",
"job:pbd-unplug:pbd-disconnected": "Eén of meerdere PBD’s zijn al losgekoppeld",
"job:pif-forget:in-progress": "Vergeten van PIF is bezig…",
"job:pif-forget:is-management-interface": "De beheerinterface van een host mag niet worden vergeten",
"job:pif-forget:missing-pif": "Geen PIF’s om te vergeten",
"job:pif-management-reconfigure:bad-power-state": "@:host-not-running",
"job:pif-management-reconfigure:bad-power-state": "De host draait niet",
"job:pif-management-reconfigure:current-pif": "Huidige PIF",
"job:pif-management-reconfigure:in-progress": "De herconfiguratie van de beheerinterface is bezig…",
"job:pif-management-reconfigure:missing-ip": "IP-adres ontbreekt",
"job:plugin-autoload:missing-plugin": "@:plugin-missing",
"job:plugin-change-state:already-loaded": "Plugin is al geladen",
"job:plugin-change-state:already-unloaded": "Plugin is al ontkoppeld",
"job:plugin-change-state:load-in-progress": "De plug-in wordt geladen…",
"job:plugin-change-state:missing-plugin": "@:plugin-missing",
"job:plugin-change-state:not-configured": "De plug-in moet worden geconfigureerd om deze te laden",
"job:plugin-change-state:not-unloadable": "Deze plug-in kan niet worden losgekoppeld",
"job:plugin-change-state:unload-in-progress": "De plug-in wordt momenteel losgekoppeld…",
"job:plugin-configure:missing-plugin": "@:plugin-missing",
"job:plugin-configure:not-configurable": "@:plugin:not-configurable",
"job:plugin-delete-configuration:loaded": "De plug-in moet worden losgekoppeld om de configuratie ervan te wissen",
"job:plugin-delete-configuration:missing-plugin": "@:plugin-missing",
"job:plugin-delete-configuration:no-configuration": "Deze plug-in heeft geen instellingen",
"job:plugin-test:in-progress": "Plugin wordt momenteel getest…",
"job:plugin-test:missing-plugin": "@:plugin-missing",
"job:plugin-test:not-loaded": "De plug-in moet zijn geladen om te kunnen worden getest",
"job:plugin-test:not-testable": "Deze plug-in kan niet worden getest",
"job:server-connect:missing-server": "Er zijn geen servers om verbinding mee te maken",
"job:server-disconnect:missing-server": "Er zijn geen servers om de verbinding mee te verbreken",
"job:server-disconnect:server-disconnected": "Eén of meerdere servers zijn al losgekoppeld",
@@ -689,7 +554,7 @@
"job:vdi-export:format-required": "Export in VDI-formaat is vereist",
"job:vdi-export:missing-vdi": "Geen VDI om te exporteren",
"job:vdi-migrate:in-progress": "Migratie is bezig…",
"job:vdi-migrate:missing-sr": "@:destination-sr-required",
"job:vdi-migrate:missing-sr": "Bestemming SR is verplicht",
"job:vdi-migrate:missing-vdi": "Er is geen VDI geselecteerd",
"job:vif-connect:missing-vif": "Er zijn geen VIF’s om te verbinden",
"job:vif-connect:vif-already-connected": "VIF is al verbonden",
@@ -717,11 +582,9 @@
"job:vm-force-shutdown:in-progress": "Geforceerde afsluiten is bezig…",
"job:vm-force-shutdown:missing-vm": "Geen VM voor geforceerde uitschakeling",
"job:vm-migrate:bad-power-state": "VM moet actief zijn",
"job:vm-migrate:blocked-operation": "VM-migratie is geblokkeerd",
"job:vm-migrate:in-progress": "Migratie in uitvoering…",
"job:vm-migrate:missing-host": "De bestemmingshost moet worden opgegeven",
"job:vm-migrate:missing-vm": "Geen VM om te migreren",
"job:vm-migrate:paused": "VM mag niet worden gepauzeerd",
"job:vm-not-running": "VM moet actief zijn",
"job:vm-pause:bad-power-state": "VM moet actief zijn",
"job:vm-pause:blocked-operation": "VM-pauze is geblokkeerd",
@@ -754,15 +617,8 @@
"job:vm-suspend:in-progress": "Bezig met opschorten…",
"job:vm-suspend:missing-vm": "Geen VM om op te schorten",
"jobs": "Opdrachten",
"json-schema:hide-examples": "Voorbeelden verbergen",
"json-schema:nested-label": "{parent} › {label}",
"json-schema:numbered-item": "{label} {n}",
"json-schema:show-examples-n": "Voorbeeld weergeven ({n}) | Voorbeelden weergeven ({n})",
"json-schema:unsupported-field": "Het veld “{label}” kan vanuit deze interface niet worden bewerkt",
"keep-me-logged": "Houd me ingelogd",
"keep-page-open": "Vernieuw of verlaat de tab niet voor het einde van de implementatie.",
"key": "Sleutel",
"keywords": "Trefwoorden",
"language": "Taal",
"language-preferences": "Taalvoorkeuren",
"last": "Laatste",
@@ -782,20 +638,15 @@
"license-socket": "Licentie socket",
"license-type": "Licentie type",
"licensing": "Licentie",
"load-at-startup": "Bij het opstarten laden",
"load-average": "Gemiddelde belasting",
"loaded": "Geladen",
"loading": "Bezig met laden",
"local": "Lokaal",
"locked": "Vergrendeld",
"locking-mode": "Vergrendelmodus",
"locking-mode-default": "Standaard vergrendelingsmodus",
"log-name": "Log {date}",
"login": "Inloggen",
"login-only-on-master": "Inloggen is alleen mogelijk op de master host",
"logs": "Logbestanden",
"mac-address": "MAC-adres",
"mac-address-change-cut-connection": "Als je het MAC-adres wijzigt, wordt de verbinding tijdelijk verbroken",
"mac-addresses": "MAC-adressen",
"manage-citrix-pv-drivers-via-windows-update": "Beheer citrix PV-stuurprogramma's via Windows Update",
"management": "Beheer",
@@ -812,21 +663,14 @@
"memory-usage": "Geheugengebruik",
"merge-backups-synchronously": "Back-ups synchroon samenvoegen",
"message": "Bericht",
"migration-blocked": "Migratie geblokkeerd",
"migration-compression": "Migratiecompressie",
"migration-network": "Migratienetwerk",
"minimum-dynamic-memory": "Minimaal dynamisch geheugen",
"minimum-static-memory": "Minimaal statisch geheugen",
"missing-patches": "Ontbrekende patches",
"missing-translations?": "Ontbrekende of onjuiste vertalingen?",
"mixed-value": "[Mixed]",
"modal:action:vm-force-migrate": "VM geforceerd migreren",
"modal:backup-repository-forget-message": "Als je deze back-upopslagplaats vergeet, wordt deze definitief uit het systeem verwijderd. Bestaande back-ups die in deze opslagplaats zijn opgeslagen, zijn dan niet langer toegankelijk via het platform. Deze handeling kan niet ongedaan worden gemaakt. Ga voorzichtig te werk. | Als je deze back-upopslagplaatsen vergeet, worden deze definitief uit het systeem verwijderd. Bestaande back-ups die in deze opslagplaatsen zijn opgeslagen, zijn dan niet langer toegankelijk via het platform. Deze handeling kan niet ongedaan worden gemaakt. Ga voorzichtig te werk.",
"modal:backup-repository-forget-title": "Je staat op het punt een back-uprepository te vergeten | Je staat op het punt {n} back-uprepositories te vergeten",
"modal:confirm-host-detach?": "Weet je zeker dat je {host} wilt loskoppelen?",
"modal:confirm-host-disable-and-evacuate-vms?": "Weet je zeker dat je {host} wilt uitschakelen en de VM’s ervan wilt evacueren?",
"modal:confirm-host-disable?": "Weet je zeker dat je {host} wilt uitschakelen?",
"modal:confirm-host-emergency-shutdown?": "Weet u zeker dat u {host} in een noodstop wilt zetten?",
"modal:confirm-host-enable?": "Weet je zeker dat je {host} wilt inschakelen?",
"modal:confirm-host-force-reboot?": "Weet je zeker dat je {host} geforceerd opnieuw wilt opstarten?",
"modal:confirm-host-forget?": "Weet je zeker dat je {host} wilt vergeten?",
@@ -838,7 +682,6 @@
"modal:host-detach-message": "Deze host wordt uit de pool verwijderd en de lokale opslag ervan wordt gereset. Zorg ervoor dat er geen virtuele machines meer op draaien en dat er een back-up is gemaakt van alles wat je nodig hebt van de lokale opslag.",
"modal:host-disable-and-evacuate-vms-message": "De host wordt uitgeschakeld en de daarop draaiende VM’s worden automatisch gemigreerd naar andere hosts in de pool, zonder onderbreking, voor zover de beschikbare resources dit toelaten.",
"modal:host-disable-message": "De host wordt gemarkeerd als niet beschikbaar voor het starten of ontvangen van nieuwe VM’s. Dit heeft geen invloed op VM’s die al actief zijn.",
"modal:host-emergency-shutdown-message": "Hierdoor wordt de host uitgeschakeld. De actieve VM’s worden, zonder migratie, in de wachtstand gezet voordat de host wordt uitgeschakeld. VM’s die niet in de wachtstand kunnen worden gezet, worden uitgeschakeld.",
"modal:host-enable-message": "De host wordt weer beschikbaar voor het starten of ontvangen van VM’s.",
"modal:host-force-reboot-message": "De host staat op het punt opnieuw op te starten. De actieve VM’s worden waar mogelijk naar andere hosts verplaatst, maar de VM’s die niet kunnen worden verplaatst, worden geforceerd afgesloten. Er kan gegevensverlies optreden.",
"modal:host-forget-message": "Hiermee wordt de host definitief uit de pool-database verwijderd. Doe dit alleen als de host fysiek niet meer aanwezig is of onherstelbaar is – als de host weer online kan komen, gebruik dan in plaats daarvan ‘Detach’. Deze handeling kan niet ongedaan worden gemaakt.",
@@ -846,7 +689,6 @@
"modal:host-restart-toolstack-message": "De beheerservice (toolstack) van de host wordt zo opnieuw opgestart. Actieve VM’s worden niet onderbroken, maar zijn tijdelijk niet te beheren (een paar minuten).",
"modal:host-shutdown-message": "Hierdoor wordt de host uitgeschakeld. Alle virtuele machines die daar nog op draaien, worden overgezet naar een andere actieve host.",
"modal:host-smart-reboot-message": "Alle actieve VM’s op deze host worden onderbroken, de host wordt opnieuw opgestart en daarna worden de VM’s automatisch hervat. Dit leidt tot tijdelijke uitval. Als Xen Orchestra zelf op deze host draait, worden de VM’s mogelijk niet automatisch hervat.",
"modal:pif-forget-message": "Met deze actie wordt het geselecteerde PIF van de host vergeten. | Met deze actie worden de geselecteerde PIF's van hun hosts vergeten.",
"modal:pif-management-reconfigure-info": "Als je deze PIF instelt als de beheer-PIF, wordt dit de standaard-PIF die wordt gebruikt voor beheerverkeer. Zorg ervoor dat deze PIF correct is geconfigureerd en bereikbaar is voordat je verdergaat.",
"modal:pif-management-reconfigure-title": "Je staat op het punt dit in te stellen als de PIF voor het beheer",
"modal:pool-disconnect-message": "De pool kan niet langer via XO worden beheerd. Je kunt hem later opnieuw koppelen.",
@@ -860,23 +702,17 @@
"mtu": "MTU",
"mtu-default-value-message": "Standaard 1500",
"multi-creation": "Multi-creatie",
"multi-edit-brs-different-types": "De geselecteerde BR's zijn van verschillende typen: de gegevens ervan kunnen niet in één keer worden bewerkt.",
"multi-pathing": "Multi-pathing",
"multiple-schedules": "Meerdere schema's",
"multiple-schedules-advice": "Wij raden aan om een back-uptaak met meerdere schema’s op te splitsen in meerdere back-uptaken met elk één schema.",
"n-bonded-networks": "1 gebundeld netwerk | {n} gebundelde netwerken",
"n-brs": "1 BR | {n} BR's",
"n-gb": "{n} GB",
"n-gb-left": "{n} GB over",
"n-gb-required": "{n} GB nodig",
"n-hexadecimal-characters": "{n} hexadecimale tekens.",
"n-hosts": "1 host | {n} hosts",
"n-hosts-awaiting-patch": "{n} host wacht op deze patch {n} hosts wachten op deze patch",
"n-internal-networks": "1 intern netwerk | {n} interne netwerken",
"n-missing": "{n} ontbreekt",
"n-networks": "1 netwerk | {n} netwerken",
"n-percent": "{n} %",
"n-pifs": "1 PIF | {n} PIF's",
"n-snapshots": "1 snapshot | {n} snapshots",
"n-srs": "1 SR | {n} SR’s",
"n-traffic-rules": "1 verkeersregel | {n} verkeersregels",
@@ -887,11 +723,6 @@
"n-vms": "1 VM | {n} VMs",
"name": "Naam",
"name-required": "Naam is verplicht.",
"native": "Native",
"nbd:disabled": "Uitgeschakeld",
"nbd:insecure": "Onbeveiligd (niet versleuteld)",
"nbd:insecure-warning": "De schijfgegevens van de back-ups worden onversleuteld over dit netwerk verzonden. Schakel deze functie alleen in op een netwerk dat uitsluitend voor back-ups is bestemd en dat is geïsoleerd van de VM’s en de gebruikers (een speciaal VLAN of een fysiek netwerk).",
"nbd:secure": "Beveiligd (TLS)",
"nested-virtualization": "Geneste virtualisatie",
"netmask": "Netmask",
"network": "Netwerk",
@@ -943,8 +774,6 @@
"new-vm:user-config-variables-name": "{'{name}'}: de naam van de VM. Deze mag geen '_' bevatten",
"news": "Nieuws",
"news-name": "{name} nieuws",
"next-run": "Volgende run",
"nfs": "NFS",
"nic-type": "NIC-type",
"no-active-backup-jobs": "Er zijn geen actieve back-uptaken op deze site.",
"no-alarm-detected": "Geen alarmen gedetecteerd",
@@ -952,14 +781,10 @@
"no-backup-job-available": "Geen back-uptaken beschikbaar",
"no-backup-repository-detected": "Geen back-upopslagplaatsen gedetecteerd",
"no-backup-run-available": "Geen back-up runs beschikbaar",
"no-br-selected": "Er is geen BR geselecteerd",
"no-config": "Geen configuratie",
"no-custom-field-detected": "Er zijn geen aangepaste velden gedetecteerd",
"no-data": "Geen data",
"no-data-to-calculate": "Geen gegevens om te berekenen",
"no-default-network-configured": "Er is geen standaardnetwerk geconfigureerd.",
"no-empty-network-to-fill": "Geen leeg netwerk om te vullen",
"no-empty-sr-to-fill": "Er is geen lege SR om in te vullen",
"no-group-attached": "Geen groep gekoppeld",
"no-host-attached": "Geen hosts gekoppeld",
"no-host-detected": "Geen hosts gedetecteerd",
@@ -967,12 +792,10 @@
"no-network-detected": "Geen netwerken gedetecteerd",
"no-pbd-attached": "Geen PBD's gekoppeld",
"no-pif-detected": "Geen PIF's gedetecteerd",
"no-plugin-detected": "Er zijn geen plug-ins gedetecteerd",
"no-pools-detected": "Geen pools gedetecteerd",
"no-replicated-vm": "Deze VM wordt niet gerepliceerd. Configureer een replicatietaak om dit in te schakelen.",
"no-result": "Geen resultaten",
"no-role-applied": "Geen rol toegepast",
"no-run": "Geen run",
"no-running-vm-detected": "Er zijn geen actieve VM’s gedetecteerd",
"no-selected-vm-can-be-exported": "Geen van de geselecteerde VM's kan worden geëxporteerd",
"no-selected-vm-can-be-migrated": "Geen van de geselecteerde VM's kan worden gemigreerd",
@@ -1013,7 +836,6 @@
"operation:force-reboot": "Geforceerd opnieuw opstarten",
"operation:force-shutdown": "Geforceerd afsluiten",
"operation:import": "Importeren",
"operation:migrate": "Migreren",
"operation:pause": "Pauzeren",
"operation:resume": "Hervatten",
"operation:shutdown": "Afsluiten",
@@ -1025,7 +847,6 @@
"operation:vm-clean-shutdown": "Veilig afsluiten van VM's",
"operation:vm-hard-shutdown": "VMs worden abrupt uitgeschakeld",
"operation:vm-suspend": "VMs worden opgeschort",
"optional": "Optioneel",
"options": "Opties",
"or": "Of",
"os-kernel": "OS-kernel",
@@ -1039,15 +860,9 @@
"partially-connected": "Gedeeltelijk verbonden",
"password": "Wachtwoord",
"password-invalid": "Wachtwoord onjuist",
"password-required": "Er is een wachtwoord vereist.",
"patch-name": "Patchnaam",
"patches": "Patches",
"patches-up-to-date": "Patches up-to-date",
"path": "Pad",
"path-in-bucket": "Pad in bucket",
"path-in-container": "Pad in container",
"path-must-be-absolute-on-proxy-host": "Het pad moet een absoluut pad op de proxyhost zijn. Voorbeeld: /var/lib/xoa/backups",
"path-on-share": "Pad op de gedeelde map",
"pause": "Onderbreken",
"pause-blocked": "Pauzeren geblokkeerd",
"pbd-details": "fysiek blokapparaat (PBD) details",
@@ -1058,18 +873,6 @@
"pifs-status": "PIF's status",
"please-confirm-to-continue": "Deze actie kan niet ongedaan worden gemaakt. Weet je zeker dat je wilt doorgaan?",
"please-wait": "Even geduld",
"plugin": "Plugin",
"plugin-missing": "De plug-in ontbreekt",
"plugin:configuration-of": "de configuratie van {name}",
"plugin:configuration-presets": "Configuratievoorinstellingen",
"plugin:configuration-presets-info": "Gebruik een vooraf gedefinieerde configuratie om het formulier in te vullen",
"plugin:delete-configuration-info": "De instellingen van de plug-in gaan verloren.",
"plugin:needs-configuration": "Deze plug-in kan pas worden geladen nadat deze is geconfigureerd.",
"plugin:needs-configuration-short": "Moet eerst worden geconfigureerd voordat het kan worden geladen.",
"plugin:not-configurable": "Deze plug-in kan niet worden geconfigureerd",
"plugin:test-info": "Test de plug-in met de opgeslagen configuratie.",
"plugins": "Plug-ins",
"plus-n": "+{n}",
"policy": "Beleid",
"pool": "Pool",
"pool-connection-ip-info": "Geef het adres van de primaire host van de pool op waarmee je verbinding wilt maken.",
@@ -1150,11 +953,9 @@
"rate-limit": "Verwerkingslimiet",
"read": "Lezen",
"read-only": "Alleen-lezen",
"reading-speed": "Leessnelheid",
"reboot-blocked": "Herstart geblokkeerd",
"reboot-vm-internal-shutdown": "VM opnieuw opstarten bij interne afsluiting",
"receive": "Ontvangen",
"region": "Regio",
"relative-time:day": "1 dag | {n} dagen",
"relative-time:future": "In {str}",
"relative-time:hour": "1 uur | {n} uren",
@@ -1177,29 +978,22 @@
"resources-overview": "Bronnen overzicht",
"rest-api": "REST API",
"retry": "Opnieuw proberen",
"review-and-confirm": "Controleer en bevestig",
"roles": "Rollen",
"roles-applied": "Rollen toegepast",
"root-by-default": "Standaard “root”.",
"rule-type": "Regeltype",
"run": "Uitvoeren",
"run-interrupted": "De run werd voortijdig afgebroken",
"running-vm": "Actieve VM | Actieve VM's",
"s3": "S3",
"s3-backup-repository": "S3-back-up opslag repository",
"s3-endpoint-sample": "Voorbeeld: s3.us-west-1.amazonaws.com",
"scan-pifs": "Scan PIF's",
"schedule": "Planning",
"schedules": "Schema's",
"secret": "Secret",
"secure-boot": "Beveiligd opstarten",
"see-details": "Zie details",
"select-compression": "Selecteer een compressie",
"select-destination-host": "Selecteer een bestemmingshost",
"select-format": "Formaat selecteren",
"select-host": "Selecteer host",
"select-pool": "Kies een pool",
"select-preset": "Kies een voorinstelling",
"select-to-see-details": "Klik op {icon} om de details te bekijken",
"selected-vms-in-execution": "Enkele geselecteerde VM's zijn actief",
"self-signed-certificates": "Zelf ondertekende certificaten",
@@ -1210,14 +1004,9 @@
"show-by": "Toon door",
"shutdown-blocked": "Uitschakeling geblokkeerd",
"size": "Grootte",
"size-and-speed": "@:size & @.lower:speed",
"size-on-disk": "Grootte op schijf",
"skipped": "Overgeslagen",
"smart-mode": "Slimme modus",
"smb": "SMB",
"smb-intended-for-windows": "SMB-remotes zijn bedoeld voor Windows-servers. Voor Linux-systemen, waaronder de meeste NAS-apparaten die Samba gebruiken, moet je in plaats daarvan NFS gebruiken.",
"smb-share-sample": "Voorbeeld: [adres\\share]",
"smb-subfolder-sample": "Voorbeeld: [pad\\naar\\back-up]",
"snapshot": "Snapshot",
"snapshot-created-on": "Snapshot gemaakt op",
"snapshot-delete-warning": "Het verwijderen van 1 snapshot kan leiden tot onherstelbaar gegevensverlies. Deze handeling is definitief en kan niet ongedaan worden gemaakt. | Het in één keer verwijderen van {n} snapshots kan leiden tot onherstelbaar gegevensverlies. Deze handeling is definitief en kan niet ongedaan worden gemaakt.",
@@ -1267,13 +1056,11 @@
"stats": "Statistieken",
"status": "Status",
"status:active": "Actief",
"status:configured": "Geconfigureerd",
"status:connected": "Aangesloten",
"status:disabled": "Uitgeschakeld",
"status:disconnected": "Ontkoppeld",
"status:halted": "Gestopt",
"status:inactive": "Inactief",
"status:not-configured": "Niet geconfigureerd",
"status:paused": "Gepauzeerd",
"status:running": "Gestart",
"status:suspended": "Geschorst",
@@ -1283,11 +1070,9 @@
"storage": "Opslag",
"storage-configuration": "Opslagconfiguratie",
"storage-format": "Opslagformaat",
"storage-mode": "Opslagmodus",
"storage-repositories": "Opslagrepositories",
"storage-repository": "Opslagrepository",
"storage-usage": "Opslaggebruik",
"subfolder": "Submap",
"success": "Succes",
"summary": "Overzicht",
"support": "Ondersteuning",
@@ -1314,7 +1099,6 @@
"tasks-page": "Taken pagina",
"template": "Sjabloon",
"template-has-bios-strings": "De sjabloon bevat al de BIOS strings",
"test-data": "Testgegevens",
"theme": "Thema",
"theme-auto": "Auto",
"theme-dark": "Donker",
@@ -1334,9 +1118,6 @@
"this-vm-cant-be-migrated": "Deze VM kan niet worden gemigreerd",
"timeout": "Time-out",
"timezone": "Tijdzone",
"to-network": "Naar netwerk",
"to-sr": "Naar SR",
"to-vlan": "Naar VLAN",
"toolstack-uptime": "Toolstack uptime",
"top-#": "Top {n}",
"topology": "Topologie",
@@ -1359,13 +1140,11 @@
"traffic-rules:format-warning": "Configuratiefout: De verkeersregels hebben niet de verwachte indeling. Raadpleeg {check-doc} voor informatie over hoe je ze kunt migreren.",
"traffic-rules:format-warning:check-doc": "raadpleeg de meest recente documentatie",
"traffic-rules:no-traffic-rules-detected": "Er zijn geen verkeersregels gevonden",
"traffic-rules:target-on": "@.capitalize:direction-on",
"traffic-rules:xapi-plugin-required": "Vereist de XAPI-plug-in modus",
"translation-tool": "Vertaalprogramma",
"treeview": "Boomstructuurweergave",
"trigger": "Trigger",
"type": "Type",
"unable-to-connect": "Kan geen verbinding maken",
"unable-to-connect-to-the-pool": "Kan geen verbinding maken met de pool",
"unable-to-connect-to-xo-server": "Kan geen verbinding maken met XO-server.",
"unable-to-create-new-bonded-network": "Kan geen nieuw gebundeld netwerk aanmaken",
@@ -1373,11 +1152,8 @@
"unable-to-create-new-network": "Kan geen nieuw netwerk aanmaken",
"unable-to-create-new-vif": "Kan geen nieuwe VIF aanmaken",
"unable-to-delete-network": "Kan netwerk niet verwijderen",
"unable-to-edit-vif": "Kan VIF niet bewerken",
"unable-to-migrate-vdi": "VDI kan niet worden gemigreerd op SR",
"unauthorized": "Ongeautoriseerd",
"unknown": "Onbekend",
"unknown-error": "@:unknown fout",
"unlocked": "Ontgrendeld",
"unnamed": "Zonder naam",
"unreachable-hosts": "Onbereikbare hosts",
@@ -1386,7 +1162,6 @@
"untranslated-text-helper": "Standaard worden niet-vertaalde teksten in het Engels weergegeven.",
"up-to-date": "Actueel",
"url": "URL",
"use-https": "Gebruik HTTPS",
"used": "Gebruikt",
"used-for-backup": "Gebruikt voor back-up",
"used-space": "Gebruikte ruimte",
@@ -1395,10 +1170,8 @@
"user-config": "Gebruikersconfiguratie",
"user-management": "Gebruikersbeheer",
"username": "Gebruikersnaam",
"username-required": "Gebruikersnaam is verplicht.",
"users": "Gebruikers",
"uuid": "UUID",
"value-by-default": "{value} standaard",
"vcpu": "vCPU",
"vcpu-at-startup": "vCPU bij het opstarten",
"vcpus": "vCPU's",
@@ -1408,7 +1181,6 @@
"vdi-connect-title": "Je staat op het punt om 1 VDI te verbinden | Je staat op het punt om {n} VDI’s te verbinden",
"vdi-delete-warning": "Hierdoor worden de geselecteerde VDI en alle gegevens die erop zijn opgeslagen definitief verwijderd. Deze handeling kan niet ongedaan worden gemaakt.",
"vdi-description": "VDI beschrijving",
"vdi-destination-sr-required": "{name}: @:destination-sr-required",
"vdi-detach-info": "Hiermee wordt de geselecteerde VDI losgekoppeld van de VM. De schijf wordt niet verwijderd en kan later weer worden gekoppeld.",
"vdi-detach-title": "Je staat op het punt 1 VDI los te koppelen | Je staat op het punt {n} VDI's los te koppelen",
"vdi-disconnect-info": "De VM heeft geen toegang meer tot de VDI. De schijf blijft aangesloten en je kunt later opnieuw verbinding maken.",
@@ -1422,17 +1194,12 @@
"vdi-throughput": "VDI-doorvoer",
"vdis": "VDI's",
"vdis-allocated-space": "Aan VDI’s toegewezen ruimte",
"vdis-must-be-migrated": "VDI’s moeten worden gemigreerd.",
"version": "Versie",
"version-number": "Versie {version}",
"vga": "VGA",
"vhd-file": "VHD-bestand",
"vhd-file-hint": "De schijfgrootte moet kleiner zijn dan 2 TB",
"video-ram": "Video-RAM",
"vif": "VIF",
"vif-connect-title": "Je staat op het punt om 1 VIF aan te sluiten | Je staat op het punt om {n} VIF's aan te sluiten",
"vif-connected": "VIF is verbonden",
"vif-destination-network-required": "{name}: @:destination-network-required",
"vif-device": "VIF #{device}",
"vif-disconnect-info": "De VM heeft geen toegang meer tot het netwerk. De VIF blijft aangesloten en je kunt deze later opnieuw verbinden.",
"vif-disconnect-title": "Je staat op het punt om 1 VIF los te koppelen | Je staat op het punt om {n} VIF's los te koppelen",
@@ -1440,7 +1207,6 @@
"vif-required": "VIF is vereist.",
"vif-status": "VIF status",
"vifs": "VIF's",
"vifs-must-be-reassigned": "VIF's moeten opnieuw worden toegewezen.",
"viridian": "Viridian",
"virtual-tpm": "Virtuele TPM (VTPM)",
"virtualization-boot-settings": "Virtualisatie & opstartinstellingen",
@@ -1450,24 +1216,18 @@
"vlan-required": "VLAN is vereist.",
"vm": "VM",
"vm-backup-failure-number-of-retries": "Aantal pogingen als VM-back-up mislukt",
"vm-delete-warning": "Hierdoor worden de VM, de bijbehorende snapshots en de schijven definitief verwijderd. Schijven die aan een andere VM zijn gekoppeld, blijven behouden. Deze handeling kan niet ongedaan worden gemaakt.",
"vm-disable-blocked-protection": "Om door te gaan, kun je de beveiliging in de configuratie van de VM uitschakelen.",
"vm-disable-delete-protection": "Om het te verwijderen, bewerk je de configuratie en schakel je de verwijderingsbeveiliging uit.",
"vm-disable-migration-protection": "Om verder te gaan, moet je de configuratie aanpassen en de migratiebescherming uitschakelen.",
"vm-is-running": "De VM is actief",
"vm-limit-topology": "VM-limiettopologie",
"vm-management": "VM-beheer",
"vm-name": "VM-naam",
"vm-name-required": "VM-naam is verplicht.",
"vm-not-found": "@:vm @.lower:not-found",
"vm-not-running": "VM is gestopt",
"vm-not-running-intra-pool-nothing-to-migrate": "De VM draait niet: binnen de pool is er geen actief RAM-geheugen om te migreren. Zolang er geen schijf naar een andere SR wordt verplaatst, valt er niets te migreren.",
"vm-not-running-no-disk-nothing-to-migrate": "Er valt niets te migreren: de VM draait niet en heeft geen schijf.",
"vm-off": "Deze virtuele machine is uitgeschakeld.",
"vm-protected-deletion": "Deze VM is momenteel beveiligd tegen verwijdering.",
"vm-protected-force-reboot": "Deze VM is beveiligd tegen gedwongen herstart.",
"vm-protected-force-shutdown": "Deze VM is beveiligd tegen gedwongen uitschakeling.",
"vm-protected-migration": "Deze VM is beveiligd tegen migratie.",
"vm-protected-pause": "Deze VM is beveiligd tegen pauzeren.",
"vm-protected-reboot": "Deze VM is beveiligd tegen herstarten.",
"vm-protected-shutdown": "Deze VM is beveiligd tegen uitschakeling.",
@@ -1505,7 +1265,6 @@
"what-is-an-unreachable-pool?": "Wat is een onbereikbare pool?",
"with-memory": "Met geheugen",
"write": "Schrijven",
"writing-speed": "Schrijfsnelheid",
"xcp-ng": "XCP-ng",
"xen-orchestra": "Xen Orchestra",
"xo": "XO",
@@ -1528,6 +1287,5 @@
"xoa-ssh-password-confirm-different": "SSH wachtwoordbevestiging is anders",
"xva": "XVA",
"you-are-currently-on": "Je bent momenteel op: {0}",
"your-default-network-is": "Je standaardnetwerk is {name}",
"zstd": "ZSTD"
}

View File

@@ -128,7 +128,7 @@
"action:revert-vm-here": "Reverter VM para cá",
"action:save": "Guardar",
"action:search": "Pesquisa",
"action:search-treeview": "Pesquisar na árvore de navegação ({shortcut})",
"action:search-treeview": "Pesquisar na árvore de navegação",
"action:see-all": "Exibir tudo",
"action:see-less": "Ver menos",
"action:see-n-more": "Exibir {n} mais",
@@ -503,7 +503,7 @@
"job:arg:ip-range-required": "O intervalo de IP é obrigatório",
"job:arg:missing-payload": "Payload está faltando",
"job:arg:name-required": "O rótulo do nome esta em falta",
"job:arg:password-required": "É necessário utilizar uma palavra-passe",
"job:arg:password-required": "É necessário utilizar uma palavra-passe.",
"job:arg:pif-id-required": "O ID do PIF é obrigatório",
"job:arg:pif-ids-required": "É necessário pelo menos um ID de PIF",
"job:arg:pool-id-required": "Pool ID é obrigatório",

View File

@@ -119,7 +119,7 @@
"action:revert-vm-here": "Reverter a VM aqui",
"action:save": "Guardar",
"action:search": "Pesquisa",
"action:search-treeview": "Pesquisar na árvore de navegação ({shortcut})",
"action:search-treeview": "Pesquisar na árvore de navegação",
"action:see-all": "Exibir tudo",
"action:see-less": "Ver menos",
"action:see-n-more": "Exibir {n} mais",

View File

@@ -4,11 +4,9 @@
"about": "O aplikácii",
"accept-self-signed-certificates": "Prijímať samy sebou podpísané certifikáty",
"access-forum": "Diskusné fórum",
"access-key-id": "Identif. prístupového kľúča",
"access-mode": "Režim prístupu",
"access-xoa": "Pristúpiť do XOA",
"account": "Účet",
"account-name": "Názov účtu",
"account-organization-more": "Účet, organizácia a ďalšie…",
"action:add": "Pridať",
"action:add-filter": "Pridať filter",
@@ -122,7 +120,7 @@
"action:revert-vm-here": "Vrátiť virt. stroj do stavu tu",
"action:save": "Uložiť",
"action:search": "Hľadať",
"action:search-treeview": "@:action:search v stromovom zobrazení ({shortcut})",
"action:search-treeview": "Hľadať v stromovom zobrazení",
"action:see-all": "Zobraziť všetko",
"action:see-less": "Zobraziť menej",
"action:see-n-more": "Pozri {n} ďalšie",
@@ -188,7 +186,6 @@
"api-error-details": "Podrobnosti o chybe rozhrania API",
"api-warning-details": "Podrobnosti o varovaní z API",
"appearance": "Vzhľad",
"archives": "Archívy",
"aria:breadcrumb:label": "Omrvinková navigácia",
"ascending": "vzostupne",
"attach-vdi": "Pripojiť existujúci obraz virt. disku",
@@ -196,13 +193,10 @@
"auto-power": "Automatické zapínanie",
"available": "K dispozícii",
"available-properties-for-advanced-filter:": "Vlastnosti pre pokročilý filter, ktoré sú k dispozícii:",
"azure": "Azure",
"azurite": "Azurite",
"back-pool-dashboard": "Prejsť späť na prehľad fondu",
"back-site-dashboard": "Prejsť späť na prehľad lokality",
"backed-up-vms": "Zálohované VM",
"backup": "Záloha",
"backup-and-replication": "Zálohovanie a replikácia",
"backup-archive-status": "Stav archívu zálohy",
"backup-issues": "Problémy so zálohovaním",
"backup-job": "Zálohovacia úloha",
@@ -236,7 +230,6 @@
"backups:vms-protection:unprotected": "V aspoň 1 úlohe, ale zatiaľ nechránené",
"bios-default": "bios (predvolené)",
"bios-info": "Informácie o BIOS",
"block-based": "Blokové",
"bond": "Spriahnutie",
"bond-devices": "Zariadenie spriahnutia",
"bond-mode": "Režim spriahnutia",
@@ -244,7 +237,6 @@
"bond-status": "Stav spriahnutia",
"boot-firmware": "Spúšťací firmvér",
"bootable": "Zavediteľné",
"bucket-name": "Názov buketu",
"build-number": "Číslo zostavenia",
"by": "Od",
"bytes:gi": "GiB",
@@ -256,7 +248,6 @@
"character-limit": "{count}/{max} znak | {count}/{max} znakov",
"check-errors:": "Pozrite si chyby:",
"check-summing": "Kontrolné súčty odosielania",
"click-test-br-speed": "Kliknutím vyskúšate rýchlosť blokovej replikácie",
"click-to-display-alarms:": "Kliknutím zobrazíte výstrahy:",
"click-to-return-default-pool": "Kliknutím sem sa vrátite na východiskový fond",
"cloud-config": "Cloud config",
@@ -288,7 +279,6 @@
"console-offline": "Konzola offline",
"console-unavailable": "Konzola nie je k dispozícii",
"console-unavailable-reason": "Konzola momentálne nie je k dispozícii, pretože {type} je vypnutý.",
"container-name": "Názov kontajnera",
"control-domain-memory": "Operačná pamäť riadiaca (virt.) domény",
"copied": "Skopírované",
"copy-host-bios-strings": "Skopírovať BIOS reťazca z hostiteľa do virt. stroje (len pre virt. stroje, používajúce BIOS).",
@@ -315,7 +305,6 @@
"current": "Súčasné",
"current-attach": "Existujúce pripojenie",
"custom-fields": "Užívateľsky určené kolónky",
"custom-options": "Užívateľsky určené predvoľby",
"dark-mode:auto": "Automatický tmavý režim",
"dark-mode:disable": "Vypnúť tmavý režim",
"dark-mode:enable": "Zapnúť tmavý režim",
@@ -360,7 +349,6 @@
"do-you-really-want-to-leave-this-page?": "Stále ešte prebieha nasadzovanie niektorých zmien. Naozaj chcete túto stránku opustiť?",
"documentation": "Dokumentácia",
"documentation-name": "Dokumentácia pre {name}",
"domain": "Doména",
"done": "Hotovo",
"drop": "Zahodiť",
"duplication-method": "Metóda duplikácie",
@@ -368,9 +356,7 @@
"email": "E-mail",
"empty": "Prázdne",
"enabled": "Povolené",
"encryption": "Šifrovanie",
"ended": "Ukončené",
"endpoint-url": "URL koncového bodu",
"engines-off": "Motory vypnuté, orbita stabilná",
"eol": "EOL",
"error": "Chyba",
@@ -389,7 +375,6 @@
"field:exceeds-max-characters": "Je potrebné, aby zadanie v kolónke bolo dlhé najviac {max} znakov.",
"field:required": "Kolónku je potrebné vyplniť.",
"file": "Súbor",
"file-based": "Súborové",
"filter-actions": "Akcie filtra",
"following-hosts-unreachable": "Nasledujúci hostitelia sú nedostupní",
"for-backup": "Pre zálohovanie",
@@ -429,7 +414,7 @@
"host-enable-title": "Naozaj chcete hostiteľa {host} povoliť?",
"host-internal-networks": "Interné siete hostiteľa",
"host-missing": "Hostiteľ chýba",
"host-not-running": "Hostiteľ nie je spustený",
"host-not-running": "Hostiteľ nespustený",
"host-off": "Hostiteľ je vypnutý",
"host:status:active": "@:status:active",
"host:status:disabled": "@:status:disabled",
@@ -439,7 +424,6 @@
"host:status:unknown": "@:status:unknown",
"hosts": "Hostitelia",
"hosts-status": "Stav hostiteľov",
"https": "HTTPS",
"hyper-threading": "Hyper threading (SMT)",
"id": "ID",
"in": "vstupujúci",
@@ -497,9 +481,6 @@
"job:arg:vdi-id-required": "Je potrebný identif. obrazu virt. disku",
"job:arg:vlan-required": "@:vlan-required",
"job:arg:vm-id-required": "Je potrebný identifikátor virt. stroje",
"job:backup-repository-benchmark:in-progress": "Prebieha test rýchlosti repozitára záloh…",
"job:backup-repository-benchmark:missing-backup-repository": "Chýba repozitár záloh",
"job:backup-repository-benchmark:repository-disabled": "Repozitár záloh zakázaný",
"job:connect:in-progress": "Prebieha pripájanie…",
"job:create:in-progress": "Prebieha vytváranie…",
"job:delete:in-progress": "Prebieha odstraňovanie…",
@@ -511,27 +492,27 @@
"job:host-detach:in-progress": "Prebieha odpojenie hostiteľa…",
"job:host-detach:master-host": "Hlavného hostiteľa nie je možné odpojiť",
"job:host-detach:missing-host": "Žádný hostitel k odpojení",
"job:host-disable:bad-power-state": "@:host-not-running",
"job:host-disable:bad-power-state": "Hostiteľ nie je zapnutý",
"job:host-disable:missing-host": "@:host-missing",
"job:host-enable:missing-host": "@:host-missing",
"job:host-evacuate:in-progress": "Prebieha evakuácia z hostiteľa…",
"job:host-forget:bad-power-state": "Hostiteľ je spustený",
"job:host-forget:in-progress": "Prebieha zabúdanie hostiteľa…",
"job:host-forget:missing-host": "Žiadny hostiteľ na zabudnutie",
"job:host-reboot:bad-power-state": "@:host-not-running",
"job:host-reboot:bad-power-state": "Hostiteľ nie je spustený",
"job:host-reboot:evacuate-in-progress": "Prebieha evakuácia virt. strojov…",
"job:host-reboot:in-progress": "Prebieha reštart hostiteľa…",
"job:host-reboot:missing-host": "Žiadny hostiteľ na reštartovanie",
"job:host-restart-toolstack:bad-power-state": "@:host-not-running",
"job:host-restart-toolstack:bad-power-state": "Hostiteľ nie je spustený",
"job:host-restart-toolstack:in-progress": "Prebieha reštart toolstack vrstiev hostiteľa…",
"job:host-restart-toolstack:missing-host": "Žiadny hostiteľ na ktorom reštartovať toolstack",
"job:host-scan-pifs:bad-power-state": "@:host-not-running",
"job:host-scan-pifs:bad-power-state": "Hostiteľ nie je spustený",
"job:host-scan-pifs:in-progress": "@:scan-pifs prebieha…",
"job:host-scan-pifs:missing-host": "@:host-missing",
"job:host-shutdown:bad-power-state": "Hostiteľ už je zastavený",
"job:host-shutdown:in-progress": "Prebieha vypínanie hostiteľa…",
"job:host-shutdown:missing-host": "Žiadny hostiteľ na vypnutie",
"job:host-smart-reboot:bad-power-state": "@:host-not-running",
"job:host-smart-reboot:bad-power-state": "Hostiteľ nie je spustený",
"job:host-smart-reboot:in-progress": "Prebieha inteligentný reštart hostiteľa…",
"job:host-smart-reboot:missing-host": "Žiadny hostiteľ na inteligentné reštartovanie",
"job:host-smart-reboot:vm-clean-shutdown-in-progress": "Prebieha korektné vypínanie virt. strojov…",
@@ -544,14 +525,12 @@
"job:host-start:power-on-disabled": "Zapnutie zakázané",
"job:migrate:in-progress": "Sťahovanie prebieha…",
"job:network-delete:has-n-physical-pif-connected": "Sieť má pripojené jedno fyzické rozhranie | Sieť má pripojené {n} fyzické rozhrania | Sieť má pripojených {n} fyzických rozhraní",
"job:network-delete:has-n-pif-connected": "Sieť má pripojené jedno fyzické rozhranie | Sieť má pripojené {n} fyzické rozhrania | Sieť má pripojených {n} fyzických rozhraní",
"job:network-delete:has-n-vif-attached": "Sieť má pripojené jedno virtuálne rozhranie | Sieť má pripojená {n} virtuálne rozhranie | Sieť má pripojených {n} virtuálnych rozhraní",
"job:network-delete:missing-network": "Žiadna sieť na zmazanie",
"job:pbd-plug:missing-pbd": "Žiadne fyzické blokové zariadenia na pripojenie",
"job:pbd-plug:pbd-connected": "Jedno alebo viace fyzických blokových zariadení už je pripojených",
"job:pbd-unplug:missing-pbd": "Žiadne fyzické blokové zariadenia na odpojenie",
"job:pbd-unplug:pbd-disconnected": "Jedno alebo viac fyzyckých blokových zariadení už je odpojené",
"job:pif-management-reconfigure:bad-power-state": "@:host-not-running",
"job:pif-management-reconfigure:bad-power-state": "Hostiteľ nie je spustený",
"job:pif-management-reconfigure:current-pif": "Existujúce fyzické rozhranie",
"job:pif-management-reconfigure:in-progress": "Prebieha prenastavovanie rozhrania pre správu…",
"job:pif-management-reconfigure:missing-ip": "Chýba IP adresa",
@@ -575,7 +554,7 @@
"job:vdi-export:format-required": "Vyžaduje sa formát exportu obrazu virt. disku",
"job:vdi-export:missing-vdi": "Žiadny obraz virt. disku na export",
"job:vdi-migrate:in-progress": "Prebieha sťahovanie…",
"job:vdi-migrate:missing-sr": "@:destination-sr-required",
"job:vdi-migrate:missing-sr": "Je potrebný repozitár úložiska",
"job:vdi-migrate:missing-vdi": "Nevybraný žiadny obraz virt. disku",
"job:vif-connect:missing-vif": "Žiadna virt. sieťové rozhrania na pripojenie",
"job:vif-connect:vif-already-connected": "Virt. sieťové rozhranie už je pripojené",
@@ -640,7 +619,6 @@
"jobs": "Úlohy",
"keep-me-logged": "Neodhlasovať",
"keep-page-open": "Neobnovujte ani nezatvárajte kartu pred ukončením nasadenia.",
"key": "Kľúč",
"language": "Jazyk",
"language-preferences": "Jazykové nastavenia",
"last": "Posledný",
@@ -668,7 +646,6 @@
"locking-mode-default": "Predvolený režim zamykania",
"login": "Prihlásenie",
"login-only-on-master": "Prihlásenie je možné iba na hlavnom hostiteľovi",
"logs": "Záznamy udalostí",
"mac-address": "MAC adresa",
"mac-addresses": "MAC adresy",
"manage-citrix-pv-drivers-via-windows-update": "Spravovať citrix PV ovládače prostredníctvom Windows Update",
@@ -797,7 +774,6 @@
"new-vm:user-config-variables-name": "{'{name}'}: názov virt. stroje. Nemôže obsahovať „_“ (podčiarknutie)",
"news": "Novosti",
"news-name": "Novinky v {name}",
"nfs": "NFS",
"nic-type": "Typ sieťového rozhrania",
"no-active-backup-jobs": "Na tejto lokalite nie sú žiadne aktívne úlohy zálohovania.",
"no-alarm-detected": "Neboli zistené žiadne alarmy",
@@ -887,9 +863,6 @@
"patch-name": "Názov záplaty",
"patches": "Záplaty",
"patches-up-to-date": "Záplaty aktuálne",
"path": "Popis umiestnenia",
"path-in-bucket": "Popis umiestnenia v bukete",
"path-on-share": "Popis umiestnenia na zdieľanie",
"pause": "Pozastaviť",
"pause-blocked": "Pozastavenie zablokované",
"pbd-details": "Podrobnosti o fyzickém blokovém zařízení (PBD)",
@@ -980,11 +953,9 @@
"rate-limit": "Limit frekvencie",
"read": "Čítanie",
"read-only": "Iba na čítanie",
"reading-speed": "Rýchlosť čítania",
"reboot-blocked": "Reštartovanie zablokované",
"reboot-vm-internal-shutdown": "Reštartovať virt. stroj počas interného vypnutia",
"receive": "Prijať",
"region": "Región",
"relative-time:day": "1 deň | {n} dní",
"relative-time:future": "V {str}",
"relative-time:hour": "1 hodina | {n} hodín",
@@ -1013,12 +984,10 @@
"rule-type": "Typ pravidla",
"run": "Spustiť",
"running-vm": "Spustený virt. stroj | Spustené virt. stroje",
"s3": "S3",
"s3-backup-repository": "S3 repozitár záloh",
"scan-pifs": "Skenovať PIFs",
"schedule": "Plán",
"schedules": "Plány",
"secret": "Tajomstvo",
"secure-boot": "Secure boot",
"see-details": "Zobraziť podrobnosti",
"select-compression": "Vyberte kompresiu",
@@ -1038,7 +1007,6 @@
"size-on-disk": "Veľkosť na disku",
"skipped": "Preskočené",
"smart-mode": "Inteligentný režim",
"smb": "SMB",
"snapshot": "Zachytiť stav",
"snapshot-created-on": "Zachytený stav vytvorený",
"snapshot-delete-warning": "Zmazanie 1 zachyteného stavu môže viesť k nevratnej strate dát. Táto akcia je trvalá a nemožno ju vziať späť. | Zmazanie {n} zachytených stavov môže viesť k nevratnej strate dát. Táto akcia je trvalá a nemožno ju vziať späť.",
@@ -1102,7 +1070,6 @@
"storage": "Úložisko",
"storage-configuration": "Konfigurácia úložiska",
"storage-format": "Formát úložiska",
"storage-mode": "Režim úložiska",
"storage-repositories": "Repozitáre úložiska",
"storage-repository": "Repozitár úložiska",
"storage-usage": "Využitie úložiska",
@@ -1178,7 +1145,6 @@
"treeview": "Stromové zobrazenie",
"trigger": "Spúšťač",
"type": "Typ",
"unable-to-connect": "Nebolo možné sa pripojiť",
"unable-to-connect-to-the-pool": "Nebolo možné sa pripojiť k fondu",
"unable-to-connect-to-xo-server": "Nedá sa pripojiť k serveru XO.",
"unable-to-create-new-bonded-network": "Nebolo možné vytvoriť novú spriahnutú sieť",
@@ -1299,7 +1265,6 @@
"what-is-an-unreachable-pool?": "Čo je nedosiahnuteľný fond?",
"with-memory": "S pamäťou",
"write": "Zapísať",
"writing-speed": "Rýchlosť zápisu",
"xcp-ng": "XCP-ng",
"xen-orchestra": "Xen Orchestra",
"xo": "XO",

View File

@@ -116,7 +116,7 @@
"action:revert-vm-here": "Återställ VM här",
"action:save": "Spara",
"action:search": "Sök",
"action:search-treeview": "@:action:search i trädvyn ({shortcut})",
"action:search-treeview": "Sök i trädvyn",
"action:see-all": "Se alla",
"action:see-less": "Se mindre",
"action:see-n-more": "Se {n} mer",

View File

@@ -119,7 +119,7 @@
"action:revert-vm-here": "VM'yi buraya geri al",
"action:save": "Kaydet",
"action:search": "Ara",
"action:search-treeview": "Ağaç görünümünde ara ({shortcut})",
"action:search-treeview": "Ağaç görünümünde ara",
"action:see-all": "Tümünü gör",
"action:see-less": "Daha az gör",
"action:see-n-more": "{n} tane daha gör",

View File

@@ -1,7 +1,7 @@
{
"name": "@xen-orchestra/web-core",
"type": "module",
"version": "0.66.1",
"version": "0.66.0",
"private": false,
"exports": {
"./*": {

View File

@@ -1,6 +1,6 @@
{
"name": "@xen-orchestra/web",
"version": "0.66.1",
"version": "0.66.0",
"type": "module",
"scripts": {
"dev": "vite",
@@ -26,7 +26,7 @@
"@types/d3-time-format": "^4.0.3",
"@types/lodash-es": "^4.17.12",
"@types/node": "^18.19.80",
"@vates/types": "^3.1.0",
"@vates/types": "^3.0.0",
"@vitejs/plugin-vue": "^6.0.0",
"@vitest/ui": "^4.1.9",
"@vue/test-utils": "^2.4.11",
@@ -35,9 +35,9 @@
"@vueuse/integrations": "^14.0.0",
"@vueuse/math": "^14.0.0",
"@vueuse/shared": "^14.0.0",
"@xen-orchestra/backups": "^1.0.1",
"@xen-orchestra/backups": "^1.0.0",
"@xen-orchestra/cron": "^1.0.7",
"@xen-orchestra/web-core": "^0.66.1",
"@xen-orchestra/web-core": "^0.66.0",
"complex-matcher": "^1.1.1",
"d3-time-format": "^4.1.0",
"happy-dom": "^20.0.0",

View File

@@ -6,40 +6,23 @@ import MenuItem from '@core/components/menu/MenuItem.vue'
import VtsTaskList from '@core/components/task/VtsTaskList.vue'
import UiButtonIcon from '@core/components/ui/button-icon/UiButtonIcon.vue'
import UiLink from '@core/components/ui/link/UiLink.vue'
import { useRightSidebarStore } from '@core/packages/sidebar'
import { createTaskItem } from '@core-test/create-task-item.ts'
import { mount } from '@vue/test-utils'
import { nextTick } from 'vue'
mockXoTaskCollection()
// Tasks started after it are unread
const LAST_SEEN_AT = 200
const SLIDE_DURATION = 250
beforeEach(() => {
taskCollectionMock.reset()
localStorage.setItem('my-tasks.last-seen-at', String(LAST_SEEN_AT))
localStorage.setItem('sidebar.right.expanded', 'true')
})
afterEach(() => {
vi.useRealTimers()
})
function mountSidebar() {
return mount(MyTasksSidebar, { global: createGlobalTestConfig() })
}
function hasTaskList(wrapper: ReturnType<typeof mountSidebar>) {
return wrapper.findComponent(VtsTaskList).exists()
}
async function toggleSidebar(value: boolean) {
useRightSidebarStore().toggleExpand(value)
await nextTick()
}
async function openMenu(wrapper: ReturnType<typeof mountSidebar>) {
await wrapper.getComponent(UiButtonIcon).trigger('click')
@@ -73,51 +56,3 @@ it('cannot mark all tasks as read when none is unread', async () => {
expect(item.props('disabled')).toBe(true)
})
describe('task list rendering', () => {
beforeEach(() => {
taskCollectionMock.lastDayTasks.value = [createTaskItem({ id: 'task', status: 'success', start: 100, end: 150 })]
})
it('does not render the tasks while the sidebar is collapsed', async () => {
localStorage.setItem('sidebar.right.expanded', 'false')
const wrapper = mountSidebar()
expect(hasTaskList(wrapper)).toBe(false)
await toggleSidebar(true)
expect(hasTaskList(wrapper)).toBe(true)
})
it('keeps rendering the tasks while the sidebar slides out', async () => {
vi.useFakeTimers()
const wrapper = mountSidebar()
await toggleSidebar(false)
vi.advanceTimersByTime(SLIDE_DURATION - 1)
await nextTick()
expect(hasTaskList(wrapper)).toBe(true)
vi.advanceTimersByTime(1)
await nextTick()
expect(hasTaskList(wrapper)).toBe(false)
})
it('keeps rendering the tasks when the sidebar expands again while sliding out', async () => {
vi.useFakeTimers()
const wrapper = mountSidebar()
await toggleSidebar(false)
await toggleSidebar(true)
vi.advanceTimersByTime(SLIDE_DURATION)
await nextTick()
expect(hasTaskList(wrapper)).toBe(true)
})
})

View File

@@ -38,22 +38,20 @@
</div>
</template>
<template v-if="isTasksListRendered">
<VtsStateHero v-if="hasTaskFetchError" format="card" type="error" size="medium">
{{ t('error-no-data') }}
</VtsStateHero>
<VtsStateHero v-else-if="!areTasksReady || isSearching" format="panel" type="busy" size="medium" />
<VtsTaskList
v-else-if="displayedTasks.length > 0"
:tasks="displayedTasks"
:selected-task-id="openedTaskId"
:expand-all="hasSearch"
:unread-task-ids
/>
<VtsStateHero v-else format="card" type="no-result" size="medium">
{{ hasSearch ? t('no-result') : t('no-task') }}
</VtsStateHero>
</template>
<VtsStateHero v-if="hasTaskFetchError" format="card" type="error" size="medium">
{{ t('error-no-data') }}
</VtsStateHero>
<VtsStateHero v-else-if="!areTasksReady || isSearching" format="panel" type="busy" size="medium" />
<VtsTaskList
v-else-if="displayedTasks.length > 0"
:tasks="displayedTasks"
:selected-task-id="openedTaskId"
:expand-all="hasSearch"
:unread-task-ids
/>
<VtsStateHero v-else format="card" type="no-result" size="medium">
{{ hasSearch ? t('no-result') : t('no-task') }}
</VtsStateHero>
</VtsLayoutSidebar>
</template>
@@ -73,8 +71,7 @@ import { vTooltip } from '@core/directives/tooltip.directive.ts'
import { useRightSidebarStore } from '@core/packages/sidebar'
import { useUiStore } from '@core/stores/ui.store.ts'
import { filterTasksByName } from '@core/utils/task.util.ts'
import { useTimeoutFn } from '@vueuse/core'
import { computed, ref, watch } from 'vue'
import { computed, watch } from 'vue'
import { useI18n } from 'vue-i18n'
import { useRoute } from 'vue-router'
@@ -93,30 +90,6 @@ watch(
}
)
const SLIDE_DURATION = 250
const isTasksListRendered = ref(rightSidebar.isExpanded)
const { start: hideContentAfterSlide, stop: cancelHideContent } = useTimeoutFn(
() => {
isTasksListRendered.value = false
},
SLIDE_DURATION,
{ immediate: false }
)
watch(
() => rightSidebar.isExpanded,
isExpanded => {
if (isExpanded) {
cancelHideContent()
isTasksListRendered.value = true
} else {
hideContentAfterSlide()
}
}
)
const { search, debouncedSearch, isSearching } = useDebouncedSearch()
const hasSearch = computed(() => debouncedSearch.value.trim() !== '')

View File

@@ -1,9 +1,7 @@
import { useXoTaskNameResolver } from '@/modules/task/composables/xo-task-name-resolver.composable.ts'
import type { FrontXoTask } from '@/modules/task/remote-resources/use-xo-task-collection.ts'
import { convertXoTaskToCore } from '@/modules/task/utils/convert-xo-task-to-core.util.ts'
import { reuseUnchangedTasks } from '@/modules/task/utils/reuse-unchanged-tasks.util.ts'
import { useXoUserCollection } from '@/modules/user/remote-resources/use-xo-user-collection.ts'
import type { Task } from '@core/components/ui/task-item/UiTaskItem.vue'
import { toComputed } from '@core/utils/to-computed.util.ts'
import type { XoUser } from '@vates/types'
import { computed, type MaybeRefOrGetter } from 'vue'
@@ -14,21 +12,18 @@ export function useXoTasksConversion(rawTasks: MaybeRefOrGetter<FrontXoTask[]>)
const tasks = toComputed(rawTasks)
const convertedTasks = computed<Task[]>(previousTasks =>
reuseUnchangedTasks(
previousTasks,
tasks.value.map(task => {
const userId = task.properties.userId
const convertedTasks = computed(() =>
tasks.value.map(task => {
const userId = task.properties.userId
if (!userId) {
return convertXoTaskToCore(task, { nameResolver: resolveTaskName })
}
if (!userId) {
return convertXoTaskToCore(task, { nameResolver: resolveTaskName })
}
const user = getUserById(userId as XoUser['id'])
const userName = user?.name ?? user?.email
return convertXoTaskToCore(task, { userName, nameResolver: resolveTaskName })
})
)
const user = getUserById(userId as XoUser['id'])
const userName = user?.name ?? user?.email
return convertXoTaskToCore(task, { userName, nameResolver: resolveTaskName })
})
)
return { convertedTasks }

View File

@@ -1,17 +1,13 @@
import { useXoTaskCollection } from '@/modules/task/remote-resources/use-xo-task-collection.ts'
import { getBatchProgress } from '@/modules/task/utils/xo-tasks-pending.util.ts'
import { keepIfEqual } from '@/shared/utils/keep-if-equal.util.ts'
import { createSharedComposable } from '@vueuse/core'
import { computed, ref, watch } from 'vue'
export const useXoTasksPending = createSharedComposable(() => {
const { lastDayTasks } = useXoTaskCollection()
const pendingTaskIds = computed<string[]>(previousIds =>
keepIfEqual(
previousIds,
lastDayTasks.value.filter(task => task.status === 'pending').map(task => task.id)
)
const pendingTaskIds = computed(() =>
lastDayTasks.value.filter(task => task.status === 'pending').map(task => task.id)
)
const pendingCount = computed(() => pendingTaskIds.value.length)
@@ -27,11 +23,8 @@ export const useXoTasksPending = createSharedComposable(() => {
{ immediate: true }
)
const pendingProgress = computed<ReturnType<typeof getBatchProgress> | undefined>(previousProgress =>
keepIfEqual(
previousProgress,
batchTaskIds.value.size === 0 ? undefined : getBatchProgress(lastDayTasks.value, batchTaskIds.value)
)
const pendingProgress = computed(() =>
batchTaskIds.value.size === 0 ? undefined : getBatchProgress(lastDayTasks.value, batchTaskIds.value)
)
return { pendingCount, pendingProgress }

View File

@@ -61,24 +61,6 @@ describe('pendingProgress', () => {
expect(wrapper.vm.pendingProgress).toEqual({ value: 100, maxValue: 200 })
})
it('keeps the same object when the tasks change without changing the progress', async () => {
lastDayTasks.value = [
createTaskItem({ id: 'running', status: 'pending', start: 300, progress: 40 }),
createTaskItem({ id: 'done', status: 'success', start: 100, end: 200 }),
]
const { wrapper } = mountPendingTasks()
const progress = wrapper.vm.pendingProgress
lastDayTasks.value = [
createTaskItem({ id: 'running', status: 'pending', start: 300, progress: 40, warnings: [] }),
createTaskItem({ id: 'done', status: 'success', start: 100, end: 250 }),
]
await nextTick()
expect(wrapper.vm.pendingProgress).toBe(progress)
})
it('is cleared once every task of the batch is done, and the next batch starts fresh', async () => {
lastDayTasks.value = [createTaskItem({ id: 'first', status: 'pending', start: 300 })]

View File

@@ -6,7 +6,6 @@ import {
getUnreadTaskIds,
pruneReadActivity,
} from '@/modules/task/utils/xo-tasks-unread.util.ts'
import { keepIfEqual } from '@/shared/utils/keep-if-equal.util.ts'
import { findTask } from '@core/utils/task.util.ts'
import { createSharedComposable, useLocalStorage } from '@vueuse/core'
import { computed, type MaybeRefOrGetter, onScopeDispose, readonly, ref, toValue, watch } from 'vue'
@@ -66,9 +65,7 @@ export const useXoTasksUnread = createSharedComposable(() => {
{ immediate: true }
)
const unreadTaskIds = computed<Set<string>>(previousIds =>
keepIfEqual(previousIds, getUnreadTaskIds(lastDayTasks.value, lastSeenAt.value, readActivityById.value))
)
const unreadTaskIds = computed(() => getUnreadTaskIds(lastDayTasks.value, lastSeenAt.value, readActivityById.value))
const unreadTasks = computed(() => lastDayTasks.value.filter(task => unreadTaskIds.value.has(task.id)))

View File

@@ -48,18 +48,6 @@ describe('unreadTaskIds', () => {
expect([...wrapper.vm.unreadTaskIds].sort()).toEqual(['a', 'root'])
})
it('keeps the same set when the tasks change without changing the unread ones', async () => {
lastDayTasks.value = [createTree(), createTaskItem({ id: 'old', start: 50, end: 150 })]
const { wrapper } = mountUnreadTasks()
const unreadTaskIds = wrapper.vm.unreadTaskIds
lastDayTasks.value = [createTree(), createTaskItem({ id: 'old', start: 50, end: 160 })]
await nextTick()
expect(wrapper.vm.unreadTaskIds).toBe(unreadTaskIds)
})
it('no longer contains a parent once its only unread subtask is opened', () => {
lastDayTasks.value = [createTree()]

View File

@@ -1,11 +1,9 @@
import { useXoTaskNameResolver } from '@/modules/task/composables/xo-task-name-resolver.composable.ts'
import { convertXoTaskToCore } from '@/modules/task/utils/convert-xo-task-to-core.util.ts'
import { reuseUnchangedTasks } from '@/modules/task/utils/reuse-unchanged-tasks.util.ts'
import { findTaskById, getTaskRoute } from '@/modules/task/utils/xo-task.util.ts'
import { useWatchCollection } from '@/shared/composables/watch-collection.composable.ts'
import { useXoCollectionState } from '@/shared/composables/xo-collection-state/use-xo-collection-state.ts'
import { BASE_URL } from '@/shared/utils/fetch.util.ts'
import type { Task } from '@core/components/ui/task-item/UiTaskItem.vue'
import type { ResourceContext } from '@core/packages/remote-resource/types.ts'
import { defineRemoteResource } from '@core/packages/remote-resource/define-remote-resource.ts'
import type { XoTask } from '@vates/types'
@@ -36,10 +34,10 @@ export function createTaskCollectionState<TArgs extends any[] = []>(
const sortedTasks = useSorted(tasks, (task1, task2) => task2.start - task1.start)
const { resolveTaskName } = useXoTaskNameResolver()
const lastDayTasks = computed<Task[]>(previousTasks => {
const lastDayTasks = computed(() => {
const now = Date.now()
const tasks = sortedTasks.value
return sortedTasks.value
.filter(task => now - task.start < ONE_DAY)
.map(task =>
convertXoTaskToCore(task, {
@@ -47,8 +45,6 @@ export function createTaskCollectionState<TArgs extends any[] = []>(
nameResolver: resolveTaskName,
})
)
return reuseUnchangedTasks(previousTasks, tasks)
})
const getTaskById = (taskId: FrontXoTask['id']) => {

View File

@@ -1,42 +0,0 @@
import type { Task } from '@core/components/ui/task-item/UiTaskItem.vue'
import { isEqual } from 'lodash-es'
// Keeps the previous object of each task that did not change, subtasks included, so the components it is passed to
// can skip their update. Returns the previous list itself when no task changed
export function reuseUnchangedTasks(previousTasks: Task[] | undefined, nextTasks: Task[]): Task[] {
if (previousTasks === undefined) {
return nextTasks
}
const previousTasksById = new Map(previousTasks.map(task => [task.id, task]))
const tasks = nextTasks.map(task => reuseUnchangedTask(previousTasksById.get(task.id), task))
if (hasSameTasks(tasks, previousTasks)) {
return previousTasks
}
return hasSameTasks(tasks, nextTasks) ? nextTasks : tasks
}
function hasSameTasks(tasks: Task[], otherTasks: Task[]) {
return tasks.length === otherTasks.length && tasks.every((task, index) => task === otherTasks[index])
}
// A changed task keeps its new object, which reuses its unchanged subtasks
function reuseUnchangedTask(previousTask: Task | undefined, nextTask: Task): Task {
if (previousTask === undefined) {
return nextTask
}
const { subtasks: previousSubtasks, ...previousFields } = previousTask
const { subtasks: nextSubtasks, ...nextFields } = nextTask
const subtasks = nextSubtasks === undefined ? undefined : reuseUnchangedTasks(previousSubtasks, nextSubtasks)
if (subtasks === previousSubtasks && isEqual(previousFields, nextFields)) {
return previousTask
}
return subtasks === nextSubtasks ? nextTask : { ...nextTask, subtasks }
}

View File

@@ -1,99 +0,0 @@
import { reuseUnchangedTasks } from '@/modules/task/utils/reuse-unchanged-tasks.util.ts'
import { createTaskItem } from '@core-test/create-task-item.ts'
// Each call builds new objects, like a new conversion of the same raw tasks
function createTasks() {
return [
createTaskItem({
id: 'root',
start: 100,
nameParts: [{ text: 'VM', to: { name: '/vm/[id]/dashboard', params: { id: 'vm' } } }],
warnings: [{ message: 'warning', data: { size: 1 } }],
subtasks: [createTaskItem({ id: 'sub-1', start: 110 }), createTaskItem({ id: 'sub-2', start: 120 })],
}),
createTaskItem({ id: 'other', start: 200 }),
]
}
it('returns the new tasks when there are no previous ones', () => {
const tasks = createTasks()
expect(reuseUnchangedTasks(undefined, tasks)).toBe(tasks)
})
it('returns the previous list when no task changed', () => {
const previousTasks = createTasks()
expect(reuseUnchangedTasks(previousTasks, createTasks())).toBe(previousTasks)
})
it('reuses the unchanged tasks and keeps the changed ones', () => {
const previousTasks = createTasks()
const nextTasks = createTasks()
nextTasks[1].end = 300
const tasks = reuseUnchangedTasks(previousTasks, nextTasks)
expect(tasks).not.toBe(previousTasks)
expect(tasks[0]).toBe(previousTasks[0])
expect(tasks[1]).toBe(nextTasks[1])
})
it('reuses the unchanged subtasks of a changed task', () => {
const previousTasks = createTasks()
const nextTasks = createTasks()
nextTasks[0].subtasks![1].end = 300
const [root] = reuseUnchangedTasks(previousTasks, nextTasks)
expect(root).not.toBe(previousTasks[0])
expect(root).toEqual(nextTasks[0])
expect(root.subtasks![0]).toBe(previousTasks[0].subtasks![0])
expect(root.subtasks![1]).toBe(nextTasks[0].subtasks![1])
})
it('sees a change in the resolved name of a task', () => {
const previousTasks = createTasks()
const nextTasks = createTasks()
nextTasks[0].nameParts![0].text = 'Renamed VM'
const [root] = reuseUnchangedTasks(previousTasks, nextTasks)
expect(root).not.toBe(previousTasks[0])
expect(root).toEqual(nextTasks[0])
})
it('sees a change in the data of a warning', () => {
const previousTasks = createTasks()
const nextTasks = createTasks()
nextTasks[0].warnings![0].data = { size: 2 }
const [root] = reuseUnchangedTasks(previousTasks, nextTasks)
expect(root).not.toBe(previousTasks[0])
expect(root).toEqual(nextTasks[0])
})
it('sees a subtask being added', () => {
const previousTasks = createTasks()
const nextTasks = createTasks()
nextTasks[1].subtasks = [createTaskItem({ id: 'new-sub' })]
expect(reuseUnchangedTasks(previousTasks, nextTasks)[1]).toEqual(nextTasks[1])
})
it('reuses the tasks of a list with added, removed or moved tasks', () => {
const previousTasks = createTasks()
const [root, other] = createTasks()
const newTask = createTaskItem({ id: 'new', start: 300 })
const [addedTask, keptTask] = reuseUnchangedTasks(previousTasks, [newTask, other])
expect(addedTask).toBe(newTask)
expect(keptTask).toBe(previousTasks[1])
const [firstTask, secondTask] = reuseUnchangedTasks(previousTasks, [other, root])
expect(firstTask).toBe(previousTasks[1])
expect(secondTask).toBe(previousTasks[0])
})

View File

@@ -1,6 +1,6 @@
<template>
<VtsStateHero v-if="!arePoolsReady" format="page" type="busy" size="large" />
<RouterView v-else v-slot="{ Component }">
<RouterView v-slot="{ Component }">
<SiteHeader />
<component :is="Component" />
</RouterView>

View File

@@ -1,6 +0,0 @@
import { isEqual } from 'lodash-es'
// Returns `previous` when `next` is deeply equal to it: a computed returning it then doesn't trigger its dependents
export function keepIfEqual<T>(previous: T | undefined, next: T): T {
return previous !== undefined && isEqual(previous, next) ? previous : next
}

View File

@@ -1,21 +0,0 @@
import { keepIfEqual } from '@/shared/utils/keep-if-equal.util.ts'
it('returns the next value when there is no previous one', () => {
const next = ['a']
expect(keepIfEqual(undefined, next)).toBe(next)
})
it('returns the previous value when the next one is deeply equal', () => {
const previous = { value: 40, maxValue: 100 }
const previousIds = new Set(['a', 'b'])
expect(keepIfEqual(previous, { value: 40, maxValue: 100 })).toBe(previous)
expect(keepIfEqual(previousIds, new Set(['b', 'a']))).toBe(previousIds)
})
it('returns the next value when it differs', () => {
const next = new Set(['a', 'c'])
expect(keepIfEqual(new Set(['a', 'b']), next)).toBe(next)
})

View File

@@ -25,7 +25,7 @@
"dependencies": {
"@vates/async-each": "^1.0.3",
"@vates/decorate-with": "^2.1.0",
"@vates/nbd-client": "^3.7.2",
"@vates/nbd-client": "^3.7.1",
"@vates/parse-duration": "^0.1.1",
"@vates/read-chunk": "^1.2.1",
"@vates/task": "^0.7.0",

View File

@@ -4,7 +4,6 @@ import pRetry from 'promise-toolbox/retry'
import { createLogger } from '@xen-orchestra/log'
import { decorateClass } from '@vates/decorate-with'
import { defer } from 'golike-defer'
import { invalidParameters } from 'xo-common/api-errors.js'
import { readChunk } from '@vates/read-chunk'
import { strict as assert } from 'node:assert'
@@ -265,49 +264,6 @@ class Vdi {
return stream
}
/**
* Grow a VDI to a new virtual size.
*
* If the VDI is attached to a running VM, the resize is done online when the
* XAPI and the SR support it.
*
* @param {string} vdiRef - reference of the VDI to resize
* @param {number} size - new virtual size in bytes, cannot be below the current one
* @returns {Promise<void>}
* @throws invalid parameters error if `size` is below the current virtual size
* @throws `VDI_IN_USE` if the VDI is attached to a running VM and the XAPI
* or the SR does not support online resize
*/
async resize(vdiRef, size) {
// XAPI may return int64 fields as strings
const currentSize = Number(await this.getField('VDI', vdiRef, 'virtual_size'))
if (size < currentSize) {
throw invalidParameters(`cannot set new size (${size}) below the current size (${currentSize})`)
}
try {
await this.callAsync('VDI.resize', vdiRef, size)
} catch (resizeError) {
if (resizeError.code !== 'VDI_IN_USE') {
throw resizeError
}
// the VDI is attached to a running VM: resize_online only exists on recent XAPI versions
try {
await this.callAsync('VDI.resize_online', vdiRef, size)
} catch (resizeOnlineError) {
const knownFailureOnlineResize = [
'MESSAGE_METHOD_UNKNOWN', // older version , no suppport
'MESSAGE_REMOVED', // XCP-ng 8.3 still declares the method but marks it as removed
'SR_OPERATION_NOT_SUPPORTED', // xapi support it , but not this SR
]
if (knownFailureOnlineResize.includes(resizeOnlineError.code)) {
// in this case the base error is more useful
throw resizeError
}
throw resizeOnlineError
}
}
}
/**
* Write the content of a disk into an existing VDI.
*

View File

@@ -1,70 +0,0 @@
import { strict as assert } from 'node:assert'
import test from 'node:test'
import { invalidParameters } from 'xo-common/api-errors.js'
// vdi.mjs cannot be imported alone (circular import with index.mjs)
import { Xapi } from './index.mjs'
const VDI_REF = 'OpaqueRef:vdi'
const CURRENT_SIZE = 1024
const NEW_SIZE = 2048
function xapiError(code) {
return Object.assign(new Error(code), { code })
}
// call VDI_resize on a fake XAPI: `results` maps a XAPI method to the error it
// must throw (no entry = success), resolve with the ordered list of called methods
async function resize(size, results = {}) {
const calledMethods = []
const xapi = {
// XAPI may return int64 fields as strings
getField: async () => String(CURRENT_SIZE),
callAsync: async (method, vdiRef, requestedSize) => {
assert.equal(vdiRef, VDI_REF)
assert.equal(requestedSize, size)
calledMethods.push(method)
if (results[method] !== undefined) {
throw results[method]
}
},
}
await Xapi.prototype.VDI_resize.call(xapi, VDI_REF, size)
return calledMethods
}
test('refuses a size below the current one without calling XAPI', async () => {
await assert.rejects(resize(CURRENT_SIZE - 1), error => invalidParameters.is(error))
})
test('uses VDI.resize when it succeeds', async () => {
assert.deepEqual(await resize(NEW_SIZE), ['VDI.resize'])
})
test('rethrows VDI.resize errors other than VDI_IN_USE without trying online', async () => {
const srFull = xapiError('SR_FULL')
await assert.rejects(resize(NEW_SIZE, { 'VDI.resize': srFull }), error => error === srFull)
})
test('falls back to VDI.resize_online when the VDI is in use', async () => {
const calledMethods = await resize(NEW_SIZE, { 'VDI.resize': xapiError('VDI_IN_USE') })
assert.deepEqual(calledMethods, ['VDI.resize', 'VDI.resize_online'])
})
for (const code of ['MESSAGE_METHOD_UNKNOWN', 'MESSAGE_REMOVED', 'SR_OPERATION_NOT_SUPPORTED']) {
test(`throws VDI_IN_USE when VDI.resize_online fails with ${code}`, async () => {
const vdiInUse = xapiError('VDI_IN_USE')
await assert.rejects(
resize(NEW_SIZE, { 'VDI.resize': vdiInUse, 'VDI.resize_online': xapiError(code) }),
error => error === vdiInUse
)
})
}
test('rethrows other VDI.resize_online errors', async () => {
const srFull = xapiError('SR_FULL')
await assert.rejects(
resize(NEW_SIZE, { 'VDI.resize': xapiError('VDI_IN_USE'), 'VDI.resize_online': srFull }),
error => error === srFull
)
})

View File

@@ -53,7 +53,6 @@
- [REST API] `POST /rest/v0/srs/:id/actions/import_vdi_from_url` imports an ISO from an HTTP(S) URL into an ISO SR (PR [#10751](https://github.com/vatesfr/xen-orchestra/pull/10751))
- [REST API] `sr: import:vdi` privilege is split into `import:vdi:upload` and `import:vdi:url`, existing `import:vdi` privileges cover both (PR [#10751](https://github.com/vatesfr/xen-orchestra/pull/10751))
- [REST API] `POST /rest/v0/vdis` (create an empty VDI) now only requires the `vdi: create` privilege, `sr: import:vdi` is no longer needed (PR [#10751](https://github.com/vatesfr/xen-orchestra/pull/10751))
- [REST API] Get the state of a proxy appliance updater: `GET /rest/v0/proxies/:id/appliance_updater_state` (PR [#10773](https://github.com/vatesfr/xen-orchestra/pull/10773))
- [REST API/SDN Controller] Global Private Networks can be created with `POST /rest/v0/plugins/sdn-controller/pools/actions/create_private_network`, which answers the ids of their networks (PR [#10708](https://github.com/vatesfr/xen-orchestra/pull/10708))
- [REST API/V2V] `POST /rest/v0/v2v/inventory` reads the inventory of a vCenter or ESXi (datacenters, clusters, hosts, datastores, networks and VMs with their disks and network cards), and `POST /rest/v0/pools/:id/actions/import_vms_from_vmware` imports a list of VMs into the pool, with an SR per disk and a network per network card, resuming partial imports with a delta. Restricted to administrators, credentials are never stored (PR [#10597](https://github.com/vatesfr/xen-orchestra/pull/10597))
- [RPU] Resume a failed or interrupted rolling pool update: only the hosts with remaining work are handled, and the VMs go back to their original host (PR [#10474](https://github.com/vatesfr/xen-orchestra/pull/10474))
@@ -75,8 +74,6 @@
- [V2V] Add the _Migrate VMs_ wizard in Administration › V2V: connect to a VMware source, choose the destination pool and its defaults, select the VMs to migrate, map their disks, network cards and settings, then review and start the migration (PR [#10816](https://github.com/vatesfr/xen-orchestra/pull/10816))
- [V2V] Optional `docking` of the guest once its import is complete: the VM boots on the docking ISO deployed on the pool (`vates-autopilot-docking-<build date and time>-<commit>.iso`), with the guest tools ISO, which prepares it to run on XCP-ng (Xen drivers, VMware tools disabled, guest agent, network interface names, Windows first boot). Off by default, available on `POST /rest/v0/pools/:id/actions/import_vms_from_vmware` (PR [#10621](https://github.com/vatesfr/xen-orchestra/pull/10621))
- [V2V] Optional `startVm` once the import is complete: a docked guest is followed through its first boot (Windows drivers and agent installation, with a diagnosis of the VM when it does not complete), then Secure Boot is enabled again when the source had it (PR [#10621](https://github.com/vatesfr/xen-orchestra/pull/10621))
- [V2V] Import from ESXi 6.5 hosts whose data port only accepts RSA key exchange (PR [#10802](https://github.com/vatesfr/xen-orchestra/pull/10802))
- [V2V] Import from ESXi 6.5 and 6.7 hosts through a vCenter (PR [#10819](https://github.com/vatesfr/xen-orchestra/pull/10819))
- [VM] Select multiple VMs in VM tables to change their power state, snapshot or delete them at once (PR [#10780](https://github.com/vatesfr/xen-orchestra/pull/10780))
- [VM] Add and remove VM tags from the VM dashboard and the VM side panel (PR [#10804](https://github.com/vatesfr/xen-orchestra/pull/10804))
- [VM] The VM creation form is now a 3-step workflow: choose the pool and the template, configure the VM, then review every setting (with the values overridden from the template highlighted) before creating it. Required fields are checked at each step, and a failed creation shows its error details without losing the form (PR [#10851](https://github.com/vatesfr/xen-orchestra/pull/10851))
@@ -93,12 +90,8 @@
### Bug fixes
- [Backup/Live mount] Fix mounts failing when xo-server runs without root on a system using iptables-legacy, instead of leaving the firewall alone (PR [#10426](https://github.com/vatesfr/xen-orchestra/pull/10426))
- [Backups/Merge] The background merge no longer crashes with `ENAMETOOLONG` when a VM's backups are locked by another job: it waits 5 minutes before trying again instead of retrying in a loop (PR [#10866](https://github.com/vatesfr/xen-orchestra/pull/10866))
- [Backups] A backup job that fails as a whole is now marked as failed in its task, instead of staying pending until XO restarts (PR [#10778](https://github.com/vatesfr/xen-orchestra/pull/10778))
- [Backup jobs] Remove the Target proxy field from the mirror backup job form (PR [#10914](https://github.com/vatesfr/xen-orchestra/pull/10914))
- [Dark mode] Selected, hovered and pressed backgrounds of danger elements (buttons, tags, chips, toasters…) are darker, as designed, so their text is easier to read (PR [#10888](https://github.com/vatesfr/xen-orchestra/pull/10888))
- [Forms] Dropdown lists with nothing selected show their placeholder (e.g. _Select a storage_ in the VM migration form) instead of staying empty (PR [#10882](https://github.com/vatesfr/xen-orchestra/pull/10882))
- [Light theme] Danger backgrounds (selected, hover and active) use the lighter red tints of the design system (PR [#10891](https://github.com/vatesfr/xen-orchestra/pull/10891))
- [Logs] Fix the syslog transport sending every log with the _informational_ severity, splitting a log with line breaks into several messages, keeping the previous connection open when the configuration changes, and accumulating connections and memory when the syslog server is unreachable or does not read (PR [#10619](https://github.com/vatesfr/xen-orchestra/pull/10619))
- [Modals] Modals no longer stretch across the screen: their width is limited to a third of the screen, up to 550px (PR [#10800](https://github.com/vatesfr/xen-orchestra/pull/10800))
- [Pages] The page header and tabs now stay in place on every page: dashboards, System and General tabs, consoles, settings and creation forms scroll under them instead of scrolling with them (PR [#10822](https://github.com/vatesfr/xen-orchestra/pull/10822))
@@ -114,19 +107,14 @@
- [Servers] Fix a pool disappearing from XO, its server stuck in "connecting" until it is disabled and enabled again, after a short network interruption (PR [#10814](https://github.com/vatesfr/xen-orchestra/pull/10814))
- [Side panels] Fix the double scrollbar when the side panel content is taller than the screen: the page header now stays in place, and the list and the side panel each scroll on their own. All scrollbars are now thin, like the side panel one (PR [#10807](https://github.com/vatesfr/xen-orchestra/pull/10807))
- [Side panels] Closing a side panel in one browser tab no longer closes it in the other tabs, where the eye buttons stopped working (PR [#10869](https://github.com/vatesfr/xen-orchestra/pull/10869))
- [Site] The site pages are no longer displayed below a loader while pools are loading (PR [#10923](https://github.com/vatesfr/xen-orchestra/pull/10923))
- [Tables] The "Show more"/"Show less" button of long texts stays at the top right of the cell, and expanding every text of a column no longer squeezes it to one letter per line (PR [#10873](https://github.com/vatesfr/xen-orchestra/pull/10873))
- [Tooltips] Short tooltips near the edge of the screen no longer wrap onto two lines (PR [#10822](https://github.com/vatesfr/xen-orchestra/pull/10822))
- [Treeview] Fix translations of the tooltip for VM and host statuses in treeview (PR [#10643](https://github.com/vatesfr/xen-orchestra/pull/10643))
- [Treeview] The treeview scrollbar can be dragged again: the resize handle, which covered it, now sits just outside the treeview (PR [#10886](https://github.com/vatesfr/xen-orchestra/pull/10886))
- [UI] Searchable dropdown lists no longer overflow the screen on mobile (PR [#10854](https://github.com/vatesfr/xen-orchestra/pull/10854))
- [V2V] Keep the MAC address of a network card set by hand on VMware, instead of generating a new one, and no longer create a network interface for a card which is not present (PR [#10597](https://github.com/vatesfr/xen-orchestra/pull/10597))
- [V2V] When the import of a disk fails before its transfer starts, the task shows the reason given by the migration engine (e.g. `could not connect: timed out`) instead of `stream has ended without data, was looking for 8 bytes` (PR [#10842](https://github.com/vatesfr/xen-orchestra/pull/10842))
- [VDIs] The storage link of a VDI, in its side panel and on its page, opens the storage repository page of XO 6 instead of XO 5 (PR [#10864](https://github.com/vatesfr/xen-orchestra/pull/10864))
- [VDIs] The used space of a VDI now includes its whole snapshot chain instead of only its last layer, which was almost 0 for disks with snapshots (e.g. after backups). As it can exceed the disk size, it is shown as a size, without usage bar or free space (PR [#10902](https://github.com/vatesfr/xen-orchestra/pull/10902))
- [VM] In the VM creation form, a template without network interface now gets one by default, like in XO 5: one on each automatic network of the pool, or on its management network (PR [#10863](https://github.com/vatesfr/xen-orchestra/pull/10863))
- [XO6] A PIF can no longer be set as the management PIF when its network MTU is not 1500, which XCP-ng does not support on management interfaces (PR [#10905](https://github.com/vatesfr/xen-orchestra/pull/10905))
- [XO6] A VM converted into a template no longer stays in the VM list and treeview, contribution by [@pcbeingused333](https://github.com/pcbeingused333), fixes issue [#10717](https://github.com/vatesfr/xen-orchestra/issues/10717) (PR [#10884](https://github.com/vatesfr/xen-orchestra/pull/10884))
### Released packages
@@ -137,22 +125,32 @@
- @vates/fuse-vhd 2.1.4
- @vates/iscsi 0.4.1
- @vates/obfuscate 0.2.0
- xo-collection 1.0.0
- xen-api 6.0.0
- @vates/nbd-client 3.7.1
- @vates/node-vsphere-soap 2.2.1
- @vates/syslog 0.2.0
- @vates/types 3.0.0
- @xen-orchestra/acl 1.9.0
- @xen-orchestra/audit-core 0.4.1
- @xen-orchestra/autopilot-docking 0.1.0
- @xen-orchestra/backup-archive 1.2.1
- @xen-orchestra/xapi 10.0.0
- @xen-orchestra/backups 1.0.0
- @xen-orchestra/backups-cli 1.1.19
- @xen-orchestra/cr-seed-cli 1.0.4
- @xen-orchestra/disk-cli 2.2.6
- @xen-orchestra/immutable-backups 3.0.10
- @xen-orchestra/web-core 0.66.0
- @xen-orchestra/mcp 1.4.4
- @xen-orchestra/mixins 0.24.0
- @xen-orchestra/proxy 0.35.0
- @xen-orchestra/vmware-explorer 1.3.0
- @xen-orchestra/qa-test 1.5.0
- @xen-orchestra/rest-api 0.42.0
- @xen-orchestra/web 0.66.0
- xapi-explore-sr 0.4.9
- xo-server 5.214.0
- xo-server-audit 0.16.0
- xo-server-auth-ldap 0.10.13
- xo-server-backup-reports 1.7.2
@@ -166,16 +164,6 @@
- xo-server-usage-report 0.11.2
- xo-server-web-hooks 0.4.1
- xo-web 5.209.0
- xo-collection 1.0.1
- @vates/nbd-client 3.7.2
- @vates/types 3.1.0
- @xen-orchestra/backups 1.0.1
- @xen-orchestra/web-core 0.66.1
- @xen-orchestra/proxy 0.35.1
- @xen-orchestra/vmware-explorer 1.4.0
- @xen-orchestra/rest-api 0.43.0
- @xen-orchestra/web 0.66.1
- xo-server 5.214.1
## **6.10.0** (2026-10-29)

View File

@@ -9,14 +9,22 @@
> Users must be able to say: "Nice enhancement, I'm eager to test it"
- [i18n] Update Czech, Danish, Dutch, German, Korean, Portuguese, Portuguese (Brasil), Slovak, Spanish, Swedish and Turkish translations (PR [#10680](https://github.com/vatesfr/xen-orchestra/pull/10680))
- [VDI] Disks of running VMs can be resized when XAPI supports online resize (PR [#10845](https://github.com/vatesfr/xen-orchestra/pull/10845))
- [REST API] Get the state of a proxy appliance updater: `GET /rest/v0/proxies/:id/appliance_updater_state` (PR [#10773](https://github.com/vatesfr/xen-orchestra/pull/10773))
### Bug fixes
> Users must be able to say: "I had this issue, happy to know it's fixed"
- [Tasks] Fix XO 6 freezes caused by the "My tasks" sidebar (PR [#10935](https://github.com/vatesfr/xen-orchestra/pull/10935))
- [Light theme] Danger backgrounds (selected, hover and active) use the lighter red tints of the design system (PR [#10891](https://github.com/vatesfr/xen-orchestra/pull/10891))
- [Dark mode] Selected, hovered and pressed backgrounds of danger elements (buttons, tags, chips, toasters…) are darker, as designed, so their text is easier to read (PR [#10888](https://github.com/vatesfr/xen-orchestra/pull/10888))
- [Backups/Merge] The background merge no longer crashes with `ENAMETOOLONG` when a VM's backups are locked by another job: it waits 5 minutes before trying again instead of retrying in a loop (PR [#10866](https://github.com/vatesfr/xen-orchestra/pull/10866))
- [V2V] When the import of a disk fails before its transfer starts, the task shows the reason given by the migration engine (e.g. `could not connect: timed out`) instead of `stream has ended without data, was looking for 8 bytes` (PR [#10842](https://github.com/vatesfr/xen-orchestra/pull/10842))
- [XO6] A PIF can no longer be set as the management PIF when its network MTU is not 1500, which XCP-ng does not support on management interfaces (PR [#10905](https://github.com/vatesfr/xen-orchestra/pull/10905))
- [XO6] A VM converted into a template no longer stays in the VM list and treeview, contribution by [@pcbeingused333](https://github.com/pcbeingused333), fixes issue [#10717](https://github.com/vatesfr/xen-orchestra/issues/10717) (PR [#10884](https://github.com/vatesfr/xen-orchestra/pull/10884))
- [VDIs] The used space of a VDI now includes its whole snapshot chain instead of only its last layer, which was almost 0 for disks with snapshots (e.g. after backups). As it can exceed the disk size, it is shown as a size, without usage bar or free space (PR [#10902](https://github.com/vatesfr/xen-orchestra/pull/10902))
- [XO6/Backup jobs] Remove the Target proxy field from the mirror backup job form (PR [#10914](https://github.com/vatesfr/xen-orchestra/pull/10914))
- [xo-server] Fix every pool showing as disconnected after running `xo-server-db` or `xo-server-recover-account`, even though XO was still connected to them (PR [#10834](https://github.com/vatesfr/xen-orchestra/pull/10834))
- [xo-server] Fix a server that could no longer be enabled (`incorrect state`) until xo-server was restarted (PR [#10834](https://github.com/vatesfr/xen-orchestra/pull/10834))
### Packages to release
@@ -34,11 +42,14 @@
<!--packages-start-->
- @vates/nbd-client patch
- @vates/types minor
- @xen-orchestra/rest-api patch
- @xen-orchestra/backups patch
- @xen-orchestra/rest-api minor
- @xen-orchestra/web patch
- @xen-orchestra/web-core minor
- @xen-orchestra/xapi minor
- xo-server patch
- @xen-orchestra/web-core patch
- xen-api minor
- xo-collection patch
- xo-server minor
<!--packages-end-->

View File

@@ -1,6 +1,6 @@
import t from 'tap'
import { Xapi } from './index.mjs'
import { NO_SESSION_ERROR_CODE, Xapi } from './index.mjs'
import XapiError from './_XapiError.mjs'
// Build a client without starting the event loop or opening any connection.
@@ -246,3 +246,79 @@ t.test('_failoverToSurvivor', t => {
t.end()
})
// The event loop lost the master: a probe (on its own transport) found it
// back, but the re-login on the main connection is reset because XAPI is still
// restarting, which is what happens right after a toolstack restart.
t.test('re-login after a failover', t => {
const OLD_SESSION = 'OpaqueRef:old-session'
const NEW_SESSION = 'OpaqueRef:new-session'
// the first `failedLogins` logins fail with `loginError`, `onFailedLogin` is
// called on each of them, while the session is being reopened
const stubXapi = (xapi, { failedLogins, loginError = connError('ECONNRESET'), onFailedLogin = () => {} }) => {
const state = { logins: 0 }
xapi._sessionId = OLD_SESSION
// do not slow the tests down with the delay between the login attempts
xapi._sessionOpenRetryOptions = { ...xapi._sessionOpenRetryOptions, delay: 0 }
xapi._probeHost = async hostname => hostname
xapi._call = async (method, args) => {
switch (method) {
case 'session.login_with_password':
if (++state.logins <= failedLogins) {
await onFailedLogin()
throw loginError
}
return NEW_SESSION
case 'pool.get_all_records':
return { 'OpaqueRef:pool': { uuid: 'pool-1', master: 'OpaqueRef:master', other_config: {} } }
case 'host.get_all_records':
return {}
case 'system.listMethods':
return []
default:
// any other call needs a valid session
if (args[0] !== NEW_SESSION) {
throw new XapiError('SESSION_INVALID', [args[0]])
}
return 'result'
}
}
return state
}
t.test('retries the login when the connection is reset', async t => {
const xapi = makeXapi()
stubXapi(xapi, { failedLogins: 1 })
await xapi._failoverToSurvivor()
t.equal(xapi._sessionId, NEW_SESSION)
})
t.test('does not retry a timeout, which would delay the failover to the other members', async t => {
const xapi = makeXapi()
const state = stubXapi(xapi, { failedLogins: Infinity, loginError: connError('ETIMEDOUT') })
await t.rejects(xapi._failoverToSurvivor(), { code: 'ETIMEDOUT' })
t.equal(state.logins, 1)
})
t.test('fails the calls made meanwhile with a no-session error', async t => {
const xapi = makeXapi()
const errors = []
stubXapi(xapi, {
failedLogins: 1,
onFailedLogin: () => xapi.call('VM.start', 'OpaqueRef:vm', false, false).catch(error => errors.push(error)),
})
await xapi._failoverToSurvivor()
t.equal(errors.length, 1)
t.equal(errors[0].code, NO_SESSION_ERROR_CODE)
t.equal(await xapi.call('VM.start', 'OpaqueRef:vm', false, false), 'result', 'calls work once the session is back')
})
t.end()
})

View File

@@ -34,6 +34,11 @@ const { debug } = createLogger('xen-api')
export const DISCONNECTED_ERROR_CODE = 'XEN_API_DISCONNECTED'
export const NO_SESSION_ERROR_CODE = 'XEN_API_NO_SESSION'
const TRANSIENT_CONNECTION_ERROR_CODES = new Set(['ECONNREFUSED', 'ECONNRESET', 'EPIPE', 'UND_ERR_SOCKET'])
const isTransientConnectionError = error =>
TRANSIENT_CONNECTION_ERROR_CODES.has(error?.code) || TRANSIENT_CONNECTION_ERROR_CODES.has(error?.cause?.code)
// ===================================================================
// Minimal `node:http(s)` request helper used by `putResource`.
// `fetch`/`undici` cannot be used here because `putResource` relies on a hack
@@ -1163,7 +1168,11 @@ export class Xapi extends EventEmitter {
try {
return await pRetry(() => {
const sessionId = this._sessionId
assert.notStrictEqual(sessionId, undefined)
if (sessionId === undefined) {
const error = new Error('no session, the connection to XAPI is being re-established')
error.code = NO_SESSION_ERROR_CODE
throw error
}
const newArgs = [sessionId]
if (args !== undefined) {
@@ -1189,10 +1198,12 @@ export class Xapi extends EventEmitter {
// 4. the second call fails with SESSION_INVALID which leads to a new
// unnecessary renewal
_sessionOpenRetryOptions = {
tries: 2,
when: { code: 'HOST_IS_SLAVE' },
tries: 3,
when: error => error?.code === 'HOST_IS_SLAVE' || isTransientConnectionError(error),
onRetry: error => {
this._setUrl({ ...this._url, hostname: formatHostname(error.params[0]) })
if (error.code === 'HOST_IS_SLAVE') {
this._setUrl({ ...this._url, hostname: formatHostname(error.params[0]) })
}
},
}
_sessionOpen = coalesceCalls(this._sessionOpen)

View File

@@ -52,7 +52,7 @@
"promise-toolbox": "^0.21.0",
"pw": "0.0.4",
"undici": "^8.10.0",
"xo-collection": "^1.0.1",
"xo-collection": "^1.0.0",
"xo-common": "^0.11.0"
},
"devDependencies": {

View File

@@ -1,7 +1,7 @@
{
"private": false,
"name": "xo-collection",
"version": "1.0.1",
"version": "1.0.0",
"license": "AGPL-3.0-or-later",
"description": "Generic in-memory collection with events",
"homepage": "https://github.com/vatesfr/xen-orchestra/tree/master/packages/xo-collection",

View File

@@ -28,7 +28,7 @@
},
"dependencies": {
"@isaacs/ttlcache": "^1.4.1",
"@vates/types": "^3.1.0",
"@vates/types": "^3.0.0",
"@xen-orchestra/log": "^1.0.0",
"xo-common": "^0.11.0"
},

View File

@@ -31,7 +31,7 @@
"dependencies": {
"@vates/async-each": "^1.0.3",
"@vates/coalesce-calls": "^0.1.0",
"@vates/types": "^3.1.0",
"@vates/types": "^3.0.0",
"@xen-orchestra/log": "^1.0.0",
"json5": "^2.2.3",
"undici": "^6.2.1"

View File

@@ -31,7 +31,7 @@
"dependencies": {
"@vates/async-each": "^1.0.3",
"@vates/coalesce-calls": "^0.1.0",
"@vates/types": "^3.1.0",
"@vates/types": "^3.0.0",
"@xen-orchestra/log": "^1.0.0",
"@xen-orchestra/openflow": "^0.1.4",
"ipaddr.js": "^2.0.1",

View File

@@ -1,7 +1,7 @@
{
"private": true,
"name": "xo-server",
"version": "5.214.1",
"version": "5.214.0",
"license": "AGPL-3.0-or-later",
"description": "Server part of Xen-Orchestra",
"keywords": [
@@ -39,7 +39,7 @@
"@vates/event-listeners-manager": "^1.0.1",
"@vates/fatfs": "^0.11.1",
"@vates/multi-key-map": "^0.2.0",
"@vates/nbd-client": "^3.7.2",
"@vates/nbd-client": "^3.7.1",
"@vates/obfuscate": "^0.2.0",
"@vates/otp": "^1.1.0",
"@vates/parse-duration": "^0.1.1",
@@ -47,11 +47,11 @@
"@vates/read-chunk": "^1.2.1",
"@vates/syslog": "^0.2.0",
"@vates/task": "^0.7.0",
"@vates/types": "^3.1.0",
"@vates/types": "^3.0.0",
"@vates/xml": "^2.0.0",
"@vates/xml-rpc": "^1.0.0",
"@xen-orchestra/async-map": "^0.1.5",
"@xen-orchestra/backups": "^1.0.1",
"@xen-orchestra/backups": "^1.0.0",
"@xen-orchestra/cron": "^1.0.7",
"@xen-orchestra/defined": "^0.0.2",
"@xen-orchestra/disk-transform": "^1.3.4",
@@ -61,10 +61,10 @@
"@xen-orchestra/mixin": "^0.2.1",
"@xen-orchestra/mixins": "^0.24.0",
"@xen-orchestra/qcow2": "^1.4.1",
"@xen-orchestra/rest-api": "^0.43.0",
"@xen-orchestra/rest-api": "^0.42.0",
"@xen-orchestra/self-signed": "^0.2.1",
"@xen-orchestra/template": "^0.1.1",
"@xen-orchestra/vmware-explorer": "^1.4.0",
"@xen-orchestra/vmware-explorer": "^1.3.0",
"@xen-orchestra/xapi": "^10.0.0",
"@xen-orchestra/xva": "^1.0.3",
"ajv": "^8.0.3",
@@ -147,7 +147,7 @@
"xdg-basedir": "^5.1.0",
"xen-api": "^6.0.0",
"xo-acl-resolver": "^0.6.0",
"xo-collection": "^1.0.1",
"xo-collection": "^1.0.0",
"xo-common": "^0.11.0",
"xo-remote-parser": "^2.0.0",
"xo-vmdk-to-vhd": "^2.5.10",

View File

@@ -1226,6 +1226,12 @@ export default class Xapi extends XapiBase {
}
}
_resizeVdi(vdi, size) {
log.debug(`Resizing VDI ${vdi.name_label} from ${vdi.virtual_size} to ${size}`)
return this.callAsync('VDI.resize', vdi.$ref, size)
}
_getVmCdDrive(vm) {
for (const vbd of vm.$VBDs) {
if (vbd.type === 'CD') {
@@ -1280,10 +1286,7 @@ export default class Xapi extends XapiBase {
}
async resizeVdi(vdiId, size) {
const vdi = this.getObject(vdiId)
log.debug(`Resizing VDI ${vdi.name_label} from ${vdi.virtual_size} to ${size}`)
await this.VDI_resize(vdi.$ref, size)
await this._resizeVdi(this.getObject(vdiId), size)
}
async ejectCdFromVm(vmId) {

View File

@@ -250,6 +250,11 @@ const methods = {
// update VDI size if is bigger
if (size != null) {
if (size < _vdi.virtual_size) {
throw new Error(
`Unable to update to a smaller VDI size for VDI with PBD userdevice: ${userdevice}. Current size: ${_vdi.virtual_size}, new size: ${size}`
)
}
await this.resizeVdi(_vdi.$id, size)
}
})

View File

@@ -53,6 +53,8 @@ const createXenServers = () => {
xapis.length = 0
const resolved = async () => {}
// events emitted on the app, e.g. `server:disconnected`
const emitted = []
const app = {
addConfigManager() {},
config: {
@@ -63,7 +65,7 @@ const createXenServers = () => {
getOptional() {},
watchDuration: (_, cb) => cb(DELAY),
},
emit() {},
emit: (event, payload) => emitted.push({ event, ...payload }),
hooks: new EventEmitter(),
httpRequest() {},
_objects: { set() {}, unset() {} },
@@ -99,7 +101,7 @@ const createXenServers = () => {
const getStatus = () => stored['server-1'].status
return { getStatus, xenServers }
return { emitted, getStatus, xenServers }
}
describe('grace period before marking a pool disconnected', function () {
@@ -109,6 +111,9 @@ describe('grace period before marking a pool disconnected', function () {
if (xapi.status !== 'disconnected') {
await xapi.disconnect()
}
// a late event on a disconnected connection may have reinstalled it,
// restarting its pool marking interval
xapi.xo?.uninstall()
}
await sleep(10)
})
@@ -152,6 +157,64 @@ describe('grace period before marking a pool disconnected', function () {
assert.equal(getStatus(), 'disconnected')
})
// plugins (e.g. the SDN controller) release a connection on this event
describe('server:disconnected', function () {
const disconnectedXapis = emitted => emitted.filter(_ => _.event === 'server:disconnected').map(_ => _.xapi)
it('is emitted when the user disables the server', async function () {
const { emitted, xenServers } = createXenServers()
await xenServers.connectXenServer('server-1')
await xenServers.disconnectXenServer('server-1')
assert.deepEqual(disconnectedXapis(emitted), [xapis[0]])
})
it('is emitted when the connection drops', async function () {
const { emitted, xenServers } = createXenServers()
await xenServers.connectXenServer('server-1')
await xapis[0].disconnect()
assert.deepEqual(disconnectedXapis(emitted), [xapis[0]])
})
})
// the `event.from` in flight when the connection is closed can still answer
// and emit `eventFetchingSuccess` on the closed connection
describe('late events on a closed connection', function () {
it('does not reconnect a server disabled by the user', async function () {
const { getStatus, xenServers } = createXenServers()
await xenServers.connectXenServer('server-1')
const [xapi] = xapis
xapi.emit('eventFetchingError', new Error('other side closed'))
await xenServers.disconnectXenServer('server-1')
xapi.emit('eventFetchingSuccess')
await sleep(10)
assert.equal(getStatus(), 'disconnected')
assert.equal(xenServers._serverIdsByPool['pool-1'], undefined)
assert.equal(xapi.objects.listenerCount('add'), 0, 'the objects of the closed connection must not be reinstalled')
})
it('does not mark a dropped connection connected, which would stop the auto-reconnect loop', async function () {
const { getStatus, xenServers } = createXenServers()
await xenServers.connectXenServer('server-1')
const [xapi] = xapis
xapi.emit('eventFetchingError', new Error('other side closed'))
await xapi.disconnect()
await sleep(10)
xapi.emit('eventFetchingSuccess')
await sleep(10)
assert.equal(getStatus(), 'disconnected')
assert.equal(xenServers._serverIdsByPool['pool-1'], undefined)
assert.equal(xapi.objects.listenerCount('add'), 0, 'the objects of the closed connection must not be reinstalled')
})
})
it('does not break the connection that replaced a disconnected one', async function () {
const { getStatus, xenServers } = createXenServers()
await xenServers.connectXenServer('server-1')

View File

@@ -1,5 +1,5 @@
import assert from 'node:assert/strict'
import { after, describe, it, mock } from 'node:test'
import { after, describe, it } from 'node:test'
import { mkdtempSync, readFileSync, rmSync } from 'node:fs'
import { tmpdir } from 'node:os'
import { join } from 'node:path'
@@ -140,11 +140,7 @@ function createXenServers({
}
},
}
// the constructor arms a timeout that rejects if the `core started` hook,
// never fired here, does not set up the server collection in time
mock.timers.enable({ apis: ['setTimeout'] })
const xenServers = new XenServers(app, { safeMode: true })
mock.timers.reset()
// no server is registered in the test: stub the XAPI lookup
xenServers.getXapi = () => ({
pool: { $master: { software_version: softwareVersion } },

View File

@@ -4,6 +4,7 @@ import { configure } from '@xen-orchestra/log/configure'
import XenServers from './xen-servers.mjs'
import EventEmitter from 'node:events'
import { incorrectState } from 'xo-common/api-errors.js'
configure({ level: 'FATAL', transport: () => {} })
@@ -135,6 +136,55 @@ describe('updateXenServer', function () {
})
})
describe('connectXenServer', function () {
// records the attempts instead of opening a connection
const stubConnection = xenServers => {
const attempts = []
xenServers._connectXenServer = async id => {
attempts.push(id)
}
return attempts
}
// a status saved by a connection which is gone, e.g. a late event on a
// dropped connection which saved `connected`, or its grace period which
// saved `connecting`: without a live connection or an attempt in flight,
// nothing will ever fix it
for (const status of ['connected', 'connecting']) {
it(`connects a disabled server whose saved status is a stale \`${status}\``, async function () {
const { xenServers } = createXenServers({ ...SERVER, enabled: false, status })
const attempts = stubConnection(xenServers)
await xenServers.connectXenServer('server-1')
assert.deepEqual(attempts, ['server-1'])
})
}
it('refuses while the server has a live connection, even if its saved status is `disconnected`', async function () {
// e.g. after `xo-server-db` reset every saved status: connecting would
// replace `_xapis[id]` and orphan the live connection
const { xenServers } = createXenServers()
xenServers._xapis['server-1'] = createXapi()
xenServers._serverIdsByPool['pool-1'] = 'server-1'
const attempts = stubConnection(xenServers)
await assert.rejects(xenServers.connectXenServer('server-1'), error => incorrectState.is(error))
assert.deepEqual(attempts, [])
})
it('refuses while a connection attempt is in flight', async function () {
const { xenServers } = createXenServers({ ...SERVER, status: 'connecting' })
xenServers._connectingXenServers.add('server-1')
const attempts = stubConnection(xenServers)
await assert.rejects(xenServers.connectXenServer('server-1'), error => incorrectState.is(error))
assert.deepEqual(attempts, [])
})
})
describe('disconnectXenServer', function () {
const connect = async (xenServers, { poolId = 'pool-1', serverId = 'server-1' } = {}) => {
xenServers._xapis[serverId] = createXapi({ $id: poolId })

View File

@@ -76,12 +76,6 @@ export default class XenServers {
}
}
}
let timeoutId
let promiseSetupServersStatus = new Promise((_resolve, reject) => {
timeoutId = setTimeout(() => {
reject(new Error('unable to setup the server collection. Timed out'))
}, 1000)
})
app.hooks.on('core started', async () => {
const serversDb = (this._servers = new Servers({
connection: app._redis,
@@ -89,13 +83,6 @@ export default class XenServers {
indexes: ['host'],
crypto: app.cryptoCredentials,
}))
// at XO startup, set all servers as disconnected
clearTimeout(timeoutId)
promiseSetupServersStatus = (async () => {
const servers = await serversDb.get()
await serversDb.update(servers.map(server => ({ ...server, status: 'disconnected' })))
})()
await promiseSetupServersStatus
app.hooks.emit('registerCollection', {
collection: serversDb,
@@ -111,6 +98,10 @@ export default class XenServers {
)
})
app.hooks.on('start', async () => {
// at XO startup, set all servers as disconnected
const servers = await this._servers.get()
await this._servers.update(servers.map(server => ({ ...server, status: 'disconnected' })))
// Add servers in XenStore
if (!(await this._servers.exists())) {
const key = 'vm-data/xen-servers'
@@ -124,7 +115,6 @@ export default class XenServers {
}
if (!safeMode) {
await promiseSetupServersStatus
await connectServers()
}
})
@@ -437,14 +427,13 @@ export default class XenServers {
async connectXenServer(id, { enable = true } = {}) {
const server = await this.getXenServerWithCredentials(id)
const serverStatus = server.status
// `_connectingXenServers` also guards against a concurrent connection
// attempt for the same server, which would overwrite `_xapis[id]` and leak
// a live connection
const connecting = this._connectingXenServers.has(id)
if (serverStatus !== 'disconnected' || connecting) {
if (this._xapis[id] !== undefined || connecting) {
throw incorrectState({
actual: connecting ? 'connecting' : serverStatus,
actual: connecting ? 'connecting' : this._xapis[id].status,
expected: 'disconnected',
object: server.id,
property: 'status',
@@ -656,6 +645,10 @@ export default class XenServers {
_updateXenServer(server.id, { status: 'connecting' })
}, this._xapiMarkDisconnectedDelay)
xapi.once('eventFetchingSuccess', () => {
if (this._xapis[server.id] !== xapi) {
return
}
xapi.once('eventFetchingError', onEventFetchingError)
if (serverIdsByPool[poolId] === undefined) {
// the pool may now be known under another identifier, `install()`
@@ -673,9 +666,13 @@ export default class XenServers {
xapi.once('disconnected', async () => {
clearTimeout(markDisconnectedTimeout)
xapi.xo.uninstall()
this._app.emit('server:disconnected', { server, xapi })
if (this._xapis[server.id] !== xapi) {
return
}
delete this._xapis[server.id]
this._forgetXenServerPool(server.id)
this._app.emit('server:disconnected', { server, xapi })
const _server = await this.getXenServerWithCredentials(id)
if (_server.status !== 'disconnected') {
await this.updateXenServer(server.id, { status: 'disconnected' })

View File

@@ -4,22 +4,12 @@ import { EventEmitter } from 'node:events'
import Xo from './xo.mjs'
const { afterEach, beforeEach, describe, it, mock } = test
const { describe, it } = test
// resolves with the arguments of the next `name` event of `emitter`
const nextEvent = (emitter, name) => new Promise(resolve => emitter.once(name, (...args) => resolve(args)))
describe('registerCollection', () => {
// the constructor arms a timer that is only disarmed on `core started`, which this test does not emit:
// the fake timers keep it from firing after the test ends
beforeEach(() => {
mock.timers.enable({ apis: ['setTimeout'] })
})
afterEach(() => {
mock.timers.reset()
})
// the `backup-archive` SSE events are built from this wrapper: the collection emits arrays of items, the
// emitter returned by `getXoEventEmitterByType` emits one `(object, previous)` event per item
it('turns the array payloads of a collection into add, update and remove events', async () => {

View File

@@ -122,7 +122,7 @@
"relative-luminance": "^2.0.1",
"reselect": "^2.5.4",
"rimraf": "^6.0.1",
"sanitize-html": "2.17.4",
"sanitize-html": "^2.17.4",
"sass": "^1.38.1",
"semver": "^6.0.0",
"strip-ansi": "^5.2.0",

View File

@@ -17499,7 +17499,7 @@ safe-regex@^1.1.0:
resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==
sanitize-html@2.17.4:
sanitize-html@^2.17.4:
version "2.17.4"
resolved "https://registry.yarnpkg.com/sanitize-html/-/sanitize-html-2.17.4.tgz#7db8b73b0024ccf543978c2a44da8223c4740cb1"
integrity sha512-2HW7v2ol/uAM7sX4hbD8Z59OGWmAPrvjL8E71UWlBcj6m+kcF6ilQBLny+cIgY214QJeJT5tQuxKKqX0SQqjGQ==