Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incus/network_peer: Add example for create command #825

Merged
merged 2 commits into from
May 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion cmd/incus/network_peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,10 @@ func (c *cmdNetworkPeerCreate) Command() *cobra.Command {

incus network peer create default peer2 ovn-ic --type=remote
Create a new peering between network "default" in the current project and other remote networks through the "ovn-ic" integration
`))

incus network peer create default peer3 web/default < config.yaml
Create a new peering between network default in the current project and network default in the web project using the configuration
in the file config.yaml`))

cmd.RunE = c.Run

Expand Down
81 changes: 43 additions & 38 deletions po/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: LXD\n"
"Report-Msgid-Bugs-To: lxc-devel@lists.linuxcontainers.org\n"
"POT-Creation-Date: 2024-05-03 20:08+0200\n"
"POT-Creation-Date: 2024-05-03 20:52-0400\n"
"PO-Revision-Date: 2024-01-25 23:01+0000\n"
"Last-Translator: Dklfajsjfi49wefklsf32 <nlincus@users.noreply.hosted.weblate."
"org>\n"
Expand Down Expand Up @@ -380,7 +380,7 @@ msgstr ""
"###\n"
"### Der Name wird zwar angezeigt, lässt sich jedoch nicht ändern.\n"

#: cmd/incus/network_peer.go:641
#: cmd/incus/network_peer.go:644
#, fuzzy
msgid ""
"### This is a YAML representation of the network peer.\n"
Expand Down Expand Up @@ -1159,7 +1159,7 @@ msgstr ""

#: cmd/incus/network.go:369 cmd/incus/network_acl.go:429
#: cmd/incus/network_forward.go:308 cmd/incus/network_load_balancer.go:311
#: cmd/incus/network_peer.go:331 cmd/incus/network_zone.go:382
#: cmd/incus/network_peer.go:334 cmd/incus/network_zone.go:382
#: cmd/incus/network_zone.go:1065 cmd/incus/storage_bucket.go:154
#, c-format
msgid "Bad key/value pair: %s"
Expand Down Expand Up @@ -1589,7 +1589,7 @@ msgstr ""
#: cmd/incus/config_metadata.go:154 cmd/incus/config_trust.go:353
#: cmd/incus/image.go:483 cmd/incus/network.go:762 cmd/incus/network_acl.go:696
#: cmd/incus/network_forward.go:716 cmd/incus/network_integration.go:312
#: cmd/incus/network_load_balancer.go:686 cmd/incus/network_peer.go:726
#: cmd/incus/network_load_balancer.go:686 cmd/incus/network_peer.go:729
#: cmd/incus/network_zone.go:637 cmd/incus/network_zone.go:1328
#: cmd/incus/profile.go:599 cmd/incus/project.go:368 cmd/incus/storage.go:363
#: cmd/incus/storage_bucket.go:361 cmd/incus/storage_bucket.go:1110
Expand Down Expand Up @@ -2051,7 +2051,7 @@ msgstr "Kein Zertifikat für diese Verbindung"
msgid "Delete network load balancers"
msgstr "Kein Zertifikat für diese Verbindung"

#: cmd/incus/network_peer.go:758 cmd/incus/network_peer.go:759
#: cmd/incus/network_peer.go:761 cmd/incus/network_peer.go:762
msgid "Delete network peerings"
msgstr ""

Expand Down Expand Up @@ -2190,9 +2190,9 @@ msgstr ""
#: cmd/incus/network_load_balancer.go:996
#: cmd/incus/network_load_balancer.go:1069 cmd/incus/network_peer.go:28
#: cmd/incus/network_peer.go:81 cmd/incus/network_peer.go:174
#: cmd/incus/network_peer.go:245 cmd/incus/network_peer.go:388
#: cmd/incus/network_peer.go:473 cmd/incus/network_peer.go:575
#: cmd/incus/network_peer.go:622 cmd/incus/network_peer.go:759
#: cmd/incus/network_peer.go:245 cmd/incus/network_peer.go:391
#: cmd/incus/network_peer.go:476 cmd/incus/network_peer.go:578
#: cmd/incus/network_peer.go:625 cmd/incus/network_peer.go:762
#: cmd/incus/network_zone.go:27 cmd/incus/network_zone.go:85
#: cmd/incus/network_zone.go:181 cmd/incus/network_zone.go:244
#: cmd/incus/network_zone.go:317 cmd/incus/network_zone.go:412
Expand Down Expand Up @@ -2541,7 +2541,7 @@ msgstr "Alternatives config Verzeichnis."
msgid "Edit network load balancer configurations as YAML"
msgstr "Alternatives config Verzeichnis."

#: cmd/incus/network_peer.go:621 cmd/incus/network_peer.go:622
#: cmd/incus/network_peer.go:624 cmd/incus/network_peer.go:625
#, fuzzy
msgid "Edit network peer configurations as YAML"
msgstr "Alternatives config Verzeichnis."
Expand Down Expand Up @@ -2648,7 +2648,7 @@ msgstr ""
#: cmd/incus/cluster.go:562 cmd/incus/config.go:641 cmd/incus/config.go:673
#: cmd/incus/network.go:1325 cmd/incus/network_acl.go:522
#: cmd/incus/network_forward.go:521 cmd/incus/network_integration.go:587
#: cmd/incus/network_load_balancer.go:507 cmd/incus/network_peer.go:550
#: cmd/incus/network_load_balancer.go:507 cmd/incus/network_peer.go:553
#: cmd/incus/network_zone.go:475 cmd/incus/network_zone.go:1159
#: cmd/incus/profile.go:1082 cmd/incus/project.go:820 cmd/incus/storage.go:816
#: cmd/incus/storage_bucket.go:615 cmd/incus/storage_volume.go:2013
Expand All @@ -2670,7 +2670,7 @@ msgstr "Fehler beim hinzufügen des Alias %s\n"
#: cmd/incus/cluster.go:556 cmd/incus/network.go:1319
#: cmd/incus/network_acl.go:516 cmd/incus/network_forward.go:515
#: cmd/incus/network_integration.go:581 cmd/incus/network_load_balancer.go:501
#: cmd/incus/network_peer.go:544 cmd/incus/network_zone.go:469
#: cmd/incus/network_peer.go:547 cmd/incus/network_zone.go:469
#: cmd/incus/network_zone.go:1153 cmd/incus/profile.go:1076
#: cmd/incus/project.go:814 cmd/incus/storage.go:810
#: cmd/incus/storage_bucket.go:609 cmd/incus/storage_volume.go:2007
Expand Down Expand Up @@ -2924,7 +2924,7 @@ msgstr "Akzeptiere Zertifikat"
msgid "Failed getting existing storage pools: %w"
msgstr "kann nicht zum selben Container Namen kopieren"

#: cmd/incus/network_peer.go:361
#: cmd/incus/network_peer.go:364
#, c-format
msgid "Failed getting peer's status: %w"
msgstr ""
Expand Down Expand Up @@ -3381,7 +3381,7 @@ msgstr "Kein Zertifikat für diese Verbindung"
msgid "Get the key as a network load balancer property"
msgstr "Kein Zertifikat für diese Verbindung"

#: cmd/incus/network_peer.go:391
#: cmd/incus/network_peer.go:394
#, fuzzy
msgid "Get the key as a network peer property"
msgstr "Kein Zertifikat für diese Verbindung"
Expand Down Expand Up @@ -3467,7 +3467,7 @@ msgstr "Profil %s erstellt\n"
msgid "Get values for network load balancer configuration keys"
msgstr "Profil %s erstellt\n"

#: cmd/incus/network_peer.go:387 cmd/incus/network_peer.go:388
#: cmd/incus/network_peer.go:390 cmd/incus/network_peer.go:391
#, fuzzy
msgid "Get values for network peer configuration keys"
msgstr "Profil %s erstellt\n"
Expand Down Expand Up @@ -3909,7 +3909,7 @@ msgstr "ungültiges Argument %s"
msgid "Invalid path %s"
msgstr "Ungültiges Ziel %s"

#: cmd/incus/network_peer.go:276
#: cmd/incus/network_peer.go:279
#, fuzzy
msgid "Invalid peer type"
msgstr "Ungültiges Ziel %s"
Expand Down Expand Up @@ -4975,9 +4975,9 @@ msgstr "Profilname kann nicht geändert werden"
#: cmd/incus/network_load_balancer.go:919
#: cmd/incus/network_load_balancer.go:1032
#: cmd/incus/network_load_balancer.go:1106 cmd/incus/network_peer.go:118
#: cmd/incus/network_peer.go:208 cmd/incus/network_peer.go:288
#: cmd/incus/network_peer.go:429 cmd/incus/network_peer.go:513
#: cmd/incus/network_peer.go:672 cmd/incus/network_peer.go:793
#: cmd/incus/network_peer.go:208 cmd/incus/network_peer.go:291
#: cmd/incus/network_peer.go:432 cmd/incus/network_peer.go:516
#: cmd/incus/network_peer.go:675 cmd/incus/network_peer.go:796
msgid "Missing network name"
msgstr ""

Expand All @@ -4997,9 +4997,9 @@ msgstr "Profilname kann nicht geändert werden"
msgid "Missing network zone record name"
msgstr "Profilname kann nicht geändert werden"

#: cmd/incus/network_peer.go:212 cmd/incus/network_peer.go:292
#: cmd/incus/network_peer.go:433 cmd/incus/network_peer.go:517
#: cmd/incus/network_peer.go:676 cmd/incus/network_peer.go:797
#: cmd/incus/network_peer.go:212 cmd/incus/network_peer.go:295
#: cmd/incus/network_peer.go:436 cmd/incus/network_peer.go:520
#: cmd/incus/network_peer.go:679 cmd/incus/network_peer.go:800
#, fuzzy
msgid "Missing peer name"
msgstr "Fehlende Zusammenfassung."
Expand Down Expand Up @@ -5062,7 +5062,7 @@ msgstr "Profilname kann nicht geändert werden"
msgid "Missing target directory"
msgstr ""

#: cmd/incus/network_peer.go:296
#: cmd/incus/network_peer.go:299
#, fuzzy
msgid "Missing target network or integration"
msgstr "Profilname kann nicht geändert werden"
Expand Down Expand Up @@ -5388,22 +5388,22 @@ msgstr "Profil %s gelöscht\n"
msgid "Network name"
msgstr ""

#: cmd/incus/network_peer.go:365
#: cmd/incus/network_peer.go:368
#, fuzzy, c-format
msgid "Network peer %s created"
msgstr "Profil %s erstellt\n"

#: cmd/incus/network_peer.go:809
#: cmd/incus/network_peer.go:812
#, fuzzy, c-format
msgid "Network peer %s deleted"
msgstr "Profil %s gelöscht\n"

#: cmd/incus/network_peer.go:369
#: cmd/incus/network_peer.go:372
#, c-format
msgid "Network peer %s is in unexpected state %q"
msgstr ""

#: cmd/incus/network_peer.go:367
#: cmd/incus/network_peer.go:370
#, c-format
msgid ""
"Network peer %s pending (please complete mutual peering on peer network)"
Expand Down Expand Up @@ -5715,7 +5715,7 @@ msgstr ""
#: cmd/incus/config_trust.go:354 cmd/incus/image.go:484
#: cmd/incus/network.go:763 cmd/incus/network_acl.go:697
#: cmd/incus/network_forward.go:717 cmd/incus/network_integration.go:313
#: cmd/incus/network_load_balancer.go:687 cmd/incus/network_peer.go:727
#: cmd/incus/network_load_balancer.go:687 cmd/incus/network_peer.go:730
#: cmd/incus/network_zone.go:638 cmd/incus/network_zone.go:1329
#: cmd/incus/profile.go:600 cmd/incus/project.go:369 cmd/incus/storage.go:364
#: cmd/incus/storage_bucket.go:362 cmd/incus/storage_bucket.go:1111
Expand Down Expand Up @@ -6660,12 +6660,12 @@ msgid ""
" incus network set [<remote>:]<network> <listen_address> <key> <value>"
msgstr ""

#: cmd/incus/network_peer.go:472
#: cmd/incus/network_peer.go:475
#, fuzzy
msgid "Set network peer keys"
msgstr "Kein Zertifikat für diese Verbindung"

#: cmd/incus/network_peer.go:473
#: cmd/incus/network_peer.go:476
msgid ""
"Set network peer keys\n"
"\n"
Expand Down Expand Up @@ -6817,7 +6817,7 @@ msgstr "Kein Zertifikat für diese Verbindung"
msgid "Set the key as a network load balancer property"
msgstr "Kein Zertifikat für diese Verbindung"

#: cmd/incus/network_peer.go:480
#: cmd/incus/network_peer.go:483
#, fuzzy
msgid "Set the key as a network peer property"
msgstr "Kein Zertifikat für diese Verbindung"
Expand Down Expand Up @@ -7487,7 +7487,7 @@ msgstr "der Name des Ursprung Containers muss angegeben werden"
msgid "The property %q does not exist on the network integration %q: %v"
msgstr "der Name des Ursprung Containers muss angegeben werden"

#: cmd/incus/network_peer.go:446
#: cmd/incus/network_peer.go:449
#, fuzzy, c-format
msgid "The property %q does not exist on the network peer %q: %v"
msgstr "der Name des Ursprung Containers muss angegeben werden"
Expand Down Expand Up @@ -7733,7 +7733,7 @@ msgid ""
"SPICE graphical output"
msgstr ""

#: cmd/incus/network_peer.go:255
#: cmd/incus/network_peer.go:258
msgid "Type of peer (local or remote)"
msgstr ""

Expand Down Expand Up @@ -7903,12 +7903,12 @@ msgstr "Profil %s erstellt\n"
msgid "Unset network load balancer keys"
msgstr "Kein Zertifikat für diese Verbindung"

#: cmd/incus/network_peer.go:574
#: cmd/incus/network_peer.go:577
#, fuzzy
msgid "Unset network peer configuration keys"
msgstr "Profil %s erstellt\n"

#: cmd/incus/network_peer.go:575
#: cmd/incus/network_peer.go:578
#, fuzzy
msgid "Unset network peer keys"
msgstr "Kein Zertifikat für diese Verbindung"
Expand Down Expand Up @@ -7969,7 +7969,7 @@ msgstr "Kein Zertifikat für diese Verbindung"
msgid "Unset the key as a network load balancer property"
msgstr "Kein Zertifikat für diese Verbindung"

#: cmd/incus/network_peer.go:578
#: cmd/incus/network_peer.go:581
#, fuzzy
msgid "Unset the key as a network peer property"
msgstr "Kein Zertifikat für diese Verbindung"
Expand Down Expand Up @@ -9073,7 +9073,7 @@ msgstr ""
"\n"
"lxd %s <Name>\n"

#: cmd/incus/network_peer.go:620 cmd/incus/network_peer.go:756
#: cmd/incus/network_peer.go:623 cmd/incus/network_peer.go:759
#, fuzzy
msgid "[<remote>:]<network> <peer_name>"
msgstr ""
Expand All @@ -9091,15 +9091,15 @@ msgstr ""
"\n"
"lxd %s <Name>\n"

#: cmd/incus/network_peer.go:386 cmd/incus/network_peer.go:573
#: cmd/incus/network_peer.go:389 cmd/incus/network_peer.go:576
#, fuzzy
msgid "[<remote>:]<network> <peer_name> <key>"
msgstr ""
"Ändert den Laufzustand eines Containers in %s.\n"
"\n"
"lxd %s <Name>\n"

#: cmd/incus/network_peer.go:471
#: cmd/incus/network_peer.go:474
#, fuzzy
msgid "[<remote>:]<network> <peer_name> <key>=<value>..."
msgstr ""
Expand Down Expand Up @@ -9894,6 +9894,11 @@ msgid ""
"incus network peer create default peer2 ovn-ic --type=remote\n"
" Create a new peering between network \"default\" in the current project "
"and other remote networks through the \"ovn-ic\" integration\n"
"\n"
"incus network peer create default peer3 web/default < config.yaml\n"
"\tCreate a new peering between network default in the current project and "
"network default in the web project using the configuration\n"
"\tin the file config.yaml"
msgstr ""

#: cmd/incus/network_zone.go:318
Expand Down
Loading
Loading