From 7d6cebd17812d5586e8221fae4bf78f1bc45f3a4 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Fri, 18 Oct 2019 14:37:52 +0200 Subject: [PATCH] Some changes in validation of network interfaces. --- lib/cr_tf/handler.py | 47 +++-- locale/create_terraform.pot | 186 +++++++++--------- locale/de_DE/LC_MESSAGES/create_terraform.po | 191 ++++++++++--------- locale/en_US/LC_MESSAGES/create_terraform.po | 191 ++++++++++--------- 4 files changed, 325 insertions(+), 290 deletions(-) diff --git a/lib/cr_tf/handler.py b/lib/cr_tf/handler.py index 0cff480..c6d7300 100644 --- a/lib/cr_tf/handler.py +++ b/lib/cr_tf/handler.py @@ -1473,7 +1473,12 @@ class CreateTerraformHandler(BaseHandler): if self.verbose: - out = '\n'.join(map(lambda x: ' * {}'.format(x), self.used_networks)) + lines = [] + for vs_name in self.used_networks: + for nw in self.used_networks[vs_name]: + lines.append(' * VSphere {v!r}: {n}'.format( + v=vs_name, n=nw)) + out = '\n'.join(lines) LOG.debug(_("Used networks:") + "\n" + out) lines = [] @@ -1491,15 +1496,19 @@ class CreateTerraformHandler(BaseHandler): # -------------------------------------------------------------------------· def _validate_interfaces_vm(self, vm): - LOG.debug(_("Checking interfaces of VM {!r} ...").format(vm.name)) + vs_name = vm.vsphere + LOG.debug(_("Checking interfaces of VM {n!r} in VSPhere {v!r} ...").format( + n=vm.name, v=vs_name)) if not vm.interfaces: LOG.error(_("No interfaces defined for VM {!r}.").format(vm.name)) self.eval_errors += 1 return + vsphere = self.vsphere[vs_name] + vm_cluster = None - for cluster in self.vsphere.clusters: + for cluster in vsphere.clusters: if cluster.name.lower() == vm.cluster.lower(): vm_cluster = cluster break @@ -1570,14 +1579,14 @@ class CreateTerraformHandler(BaseHandler): network = iface.network if network: - if network not in self.vsphere.networks: + if network not in vsphere.networks: LOG.error(_( "Could not find network {n!r} for VM {v!r}, interface {i}.").format( n=network, v=vm.name, i=i)) self.eval_errors += 1 continue else: - network = self.vsphere.networks.get_network_for_ip( + network = vsphere.networks.get_network_for_ip( iface.address_v4, iface.address_v6) if not network: self.eval_errors += 1 @@ -1595,7 +1604,7 @@ class CreateTerraformHandler(BaseHandler): LOG.debug(_("Network {n!r} is available in cluster {c!r}.").format( n=network, c=vm_cluster.name)) - net = self.vsphere.networks[network] + net = vsphere.networks[network] if not iface.gateway: LOG.debug(_("Setting gateway of interface {i} of VM {v!r} to {g}.").format( i=i, v=vm.name, g=net.gateway)) @@ -1609,8 +1618,10 @@ class CreateTerraformHandler(BaseHandler): if iface.netmask_v6 is None: iface.netmask_v6 = net.network.prefixlen - if network not in self.used_networks: - self.used_networks.append(network) + if vs_name not in self.used_networks: + self.used_networks[vs_name] = [] + if network not in self.used_networks[vs_name]: + self.used_networks[vs_name].append(network) # -------------------------------------------------------------------------· def validate_dns_mappings(self): @@ -1620,16 +1631,22 @@ class CreateTerraformHandler(BaseHandler): self._validate_reverse_dns_mappings() lines = [] - for pair in self.dns_mappings2create['forward']: - line = ' * {n!r} => {a!r}'.format(n=pair[0], a=str(pair[1])) - lines.append(line) + if self.dns_mappings2create['forward']: + for pair in self.dns_mappings2create['forward']: + line = ' * {n!r} => {a!r}'.format(n=pair[0], a=str(pair[1])) + lines.append(line) + else: + lines.append(self.colored('>>> ' + _('None') + ' <<<', 'AQUA')) LOG.info(_("Forward DNS entries to create:") + "\n" + '\n'.join(lines)) lines = [] - for pair in self.dns_mappings2create['reverse']: - line = ' * {r} ({a!r}) => {n!r}'.format( - r=pair[0].reverse_pointer, n=pair[1], a=str(pair[0])) - lines.append(line) + if self.dns_mappings2create['reverse']: + for pair in self.dns_mappings2create['reverse']: + line = ' * {r} ({a!r}) => {n!r}'.format( + r=pair[0].reverse_pointer, n=pair[1], a=str(pair[0])) + lines.append(line) + else: + lines.append(self.colored('>>> ' + _('None') + ' <<<', 'AQUA')) LOG.info(_("Reverse DNS entries to create:") + "\n" + '\n'.join(lines)) # -------------------------------------------------------------------------· diff --git a/locale/create_terraform.pot b/locale/create_terraform.pot index 6e569ad..f39c898 100644 --- a/locale/create_terraform.pot +++ b/locale/create_terraform.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: create_terraform 1.3.3\n" "Report-Msgid-Bugs-To: frank.brehm@pixelpark.com\n" -"POT-Creation-Date: 2019-10-18 14:06+0200\n" +"POT-Creation-Date: 2019-10-18 14:32+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -387,12 +387,12 @@ msgstr "" msgid "Checking the terraform version ..." msgstr "" -#: lib/cr_tf/handler.py:371 lib/cr_tf/handler.py:2674 lib/cr_tf/handler.py:2699 +#: lib/cr_tf/handler.py:371 lib/cr_tf/handler.py:2691 lib/cr_tf/handler.py:2716 msgid "Executing {!r} ..." msgstr "" -#: lib/cr_tf/handler.py:374 lib/cr_tf/handler.py:2678 lib/cr_tf/handler.py:2696 -#: lib/cr_tf/handler.py:2703 +#: lib/cr_tf/handler.py:374 lib/cr_tf/handler.py:2695 lib/cr_tf/handler.py:2713 +#: lib/cr_tf/handler.py:2720 msgid "Completed process:" msgstr "" @@ -834,7 +834,7 @@ msgstr "" msgid "Removing defined datastore {d!r} for VM {n!r} ..." msgstr "" -#: lib/cr_tf/handler.py:1408 lib/cr_tf/handler.py:1507 +#: lib/cr_tf/handler.py:1408 lib/cr_tf/handler.py:1516 msgid "Did not found cluster object {c!r} for VM {n!r}." msgstr "" @@ -872,346 +872,350 @@ msgstr "" msgid "Validated Addresses:" msgstr "" -#: lib/cr_tf/handler.py:1477 +#: lib/cr_tf/handler.py:1482 msgid "Used networks:" msgstr "" -#: lib/cr_tf/handler.py:1483 +#: lib/cr_tf/handler.py:1488 msgid "Used forward DNS entries:" msgstr "" -#: lib/cr_tf/handler.py:1489 +#: lib/cr_tf/handler.py:1494 msgid "Used reverse DNS entries:" msgstr "" -#: lib/cr_tf/handler.py:1494 -msgid "Checking interfaces of VM {!r} ..." +#: lib/cr_tf/handler.py:1500 +msgid "Checking interfaces of VM {n!r} in VSPhere {v!r} ..." msgstr "" -#: lib/cr_tf/handler.py:1497 +#: lib/cr_tf/handler.py:1504 msgid "No interfaces defined for VM {!r}." msgstr "" -#: lib/cr_tf/handler.py:1516 +#: lib/cr_tf/handler.py:1525 msgid "Checking interface {i} of VM {n!r} ..." msgstr "" -#: lib/cr_tf/handler.py:1519 +#: lib/cr_tf/handler.py:1528 msgid "Interface {i} of VM {n!r} has no defined address." msgstr "" -#: lib/cr_tf/handler.py:1525 +#: lib/cr_tf/handler.py:1534 msgid "Interface {i} of VM {n!r} has no defined FQDN." msgstr "" -#: lib/cr_tf/handler.py:1531 +#: lib/cr_tf/handler.py:1540 msgid "FQDN {f!r} already defined for VM {va!r}({ia}) should be set for interface {ib} of {vb!r}." msgstr "" -#: lib/cr_tf/handler.py:1543 +#: lib/cr_tf/handler.py:1552 msgid "IPv4 address {a} already defined for VM {va!r}({ia}) should be set for interface {ib} of {vb!r}." msgstr "" -#: lib/cr_tf/handler.py:1558 +#: lib/cr_tf/handler.py:1567 msgid "IPv6 address {a} already defined for VM {va!r}({ia}) should be set for interface {ib} of {vb!r}." msgstr "" -#: lib/cr_tf/handler.py:1574 +#: lib/cr_tf/handler.py:1583 msgid "Could not find network {n!r} for VM {v!r}, interface {i}." msgstr "" -#: lib/cr_tf/handler.py:1586 +#: lib/cr_tf/handler.py:1595 msgid "Found network {n!r} for interface {i} of VM {v!r}." msgstr "" -#: lib/cr_tf/handler.py:1590 +#: lib/cr_tf/handler.py:1599 msgid "Network {n!r} for interface {i} of VM {v!r} not available in cluster {c!r}." msgstr "" -#: lib/cr_tf/handler.py:1595 +#: lib/cr_tf/handler.py:1604 msgid "Network {n!r} is available in cluster {c!r}." msgstr "" -#: lib/cr_tf/handler.py:1600 +#: lib/cr_tf/handler.py:1609 msgid "Setting gateway of interface {i} of VM {v!r} to {g}." msgstr "" -#: lib/cr_tf/handler.py:1618 +#: lib/cr_tf/handler.py:1629 msgid "Validating DNS mappings ..." msgstr "" -#: lib/cr_tf/handler.py:1626 +#: lib/cr_tf/handler.py:1639 lib/cr_tf/handler.py:1649 +msgid "None" +msgstr "" + +#: lib/cr_tf/handler.py:1640 msgid "Forward DNS entries to create:" msgstr "" -#: lib/cr_tf/handler.py:1633 +#: lib/cr_tf/handler.py:1650 msgid "Reverse DNS entries to create:" msgstr "" -#: lib/cr_tf/handler.py:1641 +#: lib/cr_tf/handler.py:1658 msgid "Validating forward DNS mappings ..." msgstr "" -#: lib/cr_tf/handler.py:1646 +#: lib/cr_tf/handler.py:1663 msgid "Validating {f!r} => {a!r}." msgstr "" -#: lib/cr_tf/handler.py:1672 +#: lib/cr_tf/handler.py:1689 msgid "Found existing addresses for {f!r}:" msgstr "" -#: lib/cr_tf/handler.py:1674 +#: lib/cr_tf/handler.py:1691 msgid "Did not found existing addresses for {!r}." msgstr "" -#: lib/cr_tf/handler.py:1681 lib/cr_tf/handler.py:1689 +#: lib/cr_tf/handler.py:1698 lib/cr_tf/handler.py:1706 msgid "FQDN {f!r} already points to {a!r}." msgstr "" -#: lib/cr_tf/handler.py:1694 +#: lib/cr_tf/handler.py:1711 msgid "FQDN {f!r} has already existing addresses, but none of them are {a!r}:" msgstr "" -#: lib/cr_tf/handler.py:1710 +#: lib/cr_tf/handler.py:1727 msgid "Validating reverse DNS mappings ..." msgstr "" -#: lib/cr_tf/handler.py:1715 +#: lib/cr_tf/handler.py:1732 msgid "Validating {a!r} => {f!r}." msgstr "" -#: lib/cr_tf/handler.py:1722 +#: lib/cr_tf/handler.py:1739 msgid "Got reverse info:" msgstr "" -#: lib/cr_tf/handler.py:1729 +#: lib/cr_tf/handler.py:1746 msgid "Did not found reverse pointer for {!r}." msgstr "" -#: lib/cr_tf/handler.py:1737 +#: lib/cr_tf/handler.py:1754 msgid "Found reverse pointer {a!r} => {f!r}." msgstr "" -#: lib/cr_tf/handler.py:1740 +#: lib/cr_tf/handler.py:1757 msgid "Reverse pointer for {!r} was already existing." msgstr "" -#: lib/cr_tf/handler.py:1744 +#: lib/cr_tf/handler.py:1761 msgid "Address {a!r} has already an existing reverse pointer to {p!r}." msgstr "" -#: lib/cr_tf/handler.py:1755 lib/cr_tf/handler.py:1776 lib/cr_tf/handler.py:1797 +#: lib/cr_tf/handler.py:1772 lib/cr_tf/handler.py:1793 lib/cr_tf/handler.py:1814 msgid "Method {c}.{m} expected at most one argument, got {n}." msgid_plural "Method {c}.{m} expected at most {e} arguments, got {n}." msgstr[0] "" msgstr[1] "" -#: lib/cr_tf/handler.py:1767 +#: lib/cr_tf/handler.py:1784 msgid "Did not found network {!r}." msgstr "" -#: lib/cr_tf/handler.py:1788 +#: lib/cr_tf/handler.py:1805 msgid "Did not found datastore cluster {!r}." msgstr "" -#: lib/cr_tf/handler.py:1809 +#: lib/cr_tf/handler.py:1826 msgid "Did not found datastore {!r}." msgstr "" -#: lib/cr_tf/handler.py:1815 +#: lib/cr_tf/handler.py:1832 msgid "Performing DNS actions ..." msgstr "" -#: lib/cr_tf/handler.py:1831 +#: lib/cr_tf/handler.py:1848 msgid "There was one error in creating DNS mappings." msgid_plural "There were {n} errors in creating DNS mappings." msgstr[0] "" msgstr[1] "" -#: lib/cr_tf/handler.py:1837 +#: lib/cr_tf/handler.py:1854 msgid "No errors in creating DNS mappings." msgstr "" -#: lib/cr_tf/handler.py:1847 +#: lib/cr_tf/handler.py:1864 msgid "Increasing serial of zone {!r}." msgstr "" -#: lib/cr_tf/handler.py:1866 +#: lib/cr_tf/handler.py:1883 msgid "Got zone {z!r} for FQDN {f!r}." msgstr "" -#: lib/cr_tf/handler.py:1869 +#: lib/cr_tf/handler.py:1886 msgid "Did not found zone to insert {t}-record for {f!r}." msgstr "" -#: lib/cr_tf/handler.py:1887 +#: lib/cr_tf/handler.py:1904 msgid "Trying to create PTR-record {a!r} => {f!r}." msgstr "" -#: lib/cr_tf/handler.py:1892 +#: lib/cr_tf/handler.py:1909 msgid "PTR of {a!r}: {p!r}." msgstr "" -#: lib/cr_tf/handler.py:1897 +#: lib/cr_tf/handler.py:1914 msgid "Got reverse zone {z!r} for address {a!r}." msgstr "" -#: lib/cr_tf/handler.py:1900 +#: lib/cr_tf/handler.py:1917 msgid "Did not found zone to insert PTR-record {p!r} ({a})." msgstr "" -#: lib/cr_tf/handler.py:1914 +#: lib/cr_tf/handler.py:1931 msgid "Ensuring existence of directory {!r}." msgstr "" -#: lib/cr_tf/handler.py:1918 +#: lib/cr_tf/handler.py:1935 msgid "Directory {!r} already exists." msgstr "" -#: lib/cr_tf/handler.py:1920 +#: lib/cr_tf/handler.py:1937 msgid "Path {!r} exists, but is not a directory." msgstr "" -#: lib/cr_tf/handler.py:1923 +#: lib/cr_tf/handler.py:1940 msgid "Creating directory {!r} ..." msgstr "" -#: lib/cr_tf/handler.py:1925 +#: lib/cr_tf/handler.py:1942 msgid "Simulation mode - directory will not be created." msgstr "" -#: lib/cr_tf/handler.py:1930 +#: lib/cr_tf/handler.py:1947 msgid "Could not create directory {d!r}: {e}" msgstr "" -#: lib/cr_tf/handler.py:1938 +#: lib/cr_tf/handler.py:1955 msgid "Directory {!r} does not exists ?!?!" msgstr "" -#: lib/cr_tf/handler.py:1942 +#: lib/cr_tf/handler.py:1959 msgid "No write access to directory {!r}." msgstr "" -#: lib/cr_tf/handler.py:1945 +#: lib/cr_tf/handler.py:1962 msgid "Changing into directory {!r}." msgstr "" -#: lib/cr_tf/handler.py:1950 +#: lib/cr_tf/handler.py:1967 msgid "Script-Dir relative to project dir: {!r}." msgstr "" -#: lib/cr_tf/handler.py:1953 +#: lib/cr_tf/handler.py:1970 msgid "Checking {!r} for a previous terraform configuration." msgstr "" -#: lib/cr_tf/handler.py:1956 +#: lib/cr_tf/handler.py:1973 msgid "In {d!r} there exists already {w!r}, but this is not a directory." msgstr "" -#: lib/cr_tf/handler.py:1960 +#: lib/cr_tf/handler.py:1977 msgid "In {d!r} there exists already {w!r}, but this not a file." msgstr "" -#: lib/cr_tf/handler.py:1964 +#: lib/cr_tf/handler.py:1981 msgid "" "In directory {d!r} there are already existing both {w1!r} and {w2!r}. Is this an old terraform " "project?" msgstr "" -#: lib/cr_tf/handler.py:1974 +#: lib/cr_tf/handler.py:1991 msgid "Cleaning project directory {!r}." msgstr "" -#: lib/cr_tf/handler.py:1978 +#: lib/cr_tf/handler.py:1995 msgid "Directory {!r} is already clean." msgstr "" -#: lib/cr_tf/handler.py:1982 +#: lib/cr_tf/handler.py:1999 msgid "Removing recursive directory {!r} ..." msgstr "" -#: lib/cr_tf/handler.py:1986 +#: lib/cr_tf/handler.py:2003 msgid "Removing {!r} ..." msgstr "" -#: lib/cr_tf/handler.py:1994 +#: lib/cr_tf/handler.py:2011 msgid "Creating all necessary files for terraform." msgstr "" -#: lib/cr_tf/handler.py:2023 lib/cr_tf/handler.py:2045 lib/cr_tf/handler.py:2128 -#: lib/cr_tf/handler.py:2140 lib/cr_tf/handler.py:2236 +#: lib/cr_tf/handler.py:2040 lib/cr_tf/handler.py:2062 lib/cr_tf/handler.py:2145 +#: lib/cr_tf/handler.py:2157 lib/cr_tf/handler.py:2253 msgid "Creating {!r} ..." msgstr "" -#: lib/cr_tf/handler.py:2257 +#: lib/cr_tf/handler.py:2274 msgid "No minimum version of Terraform defined." msgstr "" -#: lib/cr_tf/handler.py:2272 +#: lib/cr_tf/handler.py:2289 msgid "Creating terraform files for VM instances." msgstr "" -#: lib/cr_tf/handler.py:2281 +#: lib/cr_tf/handler.py:2298 msgid "Creating file {f!r} for VM instance {n!r}." msgstr "" -#: lib/cr_tf/handler.py:2289 +#: lib/cr_tf/handler.py:2306 msgid "Using template:" msgstr "" -#: lib/cr_tf/handler.py:2315 +#: lib/cr_tf/handler.py:2332 msgid "Writing {!r}" msgstr "" -#: lib/cr_tf/handler.py:2330 +#: lib/cr_tf/handler.py:2347 msgid "Generating global definitions of {!r}." msgstr "" -#: lib/cr_tf/handler.py:2338 +#: lib/cr_tf/handler.py:2355 msgid "Cluster {!r} not found - this shouldn't be happened." msgstr "" -#: lib/cr_tf/handler.py:2391 +#: lib/cr_tf/handler.py:2408 msgid "Generating interface definition {i} of {v!r}." msgstr "" -#: lib/cr_tf/handler.py:2412 +#: lib/cr_tf/handler.py:2429 msgid "Generating disk definition {i} of {v!r}." msgstr "" -#: lib/cr_tf/handler.py:2432 +#: lib/cr_tf/handler.py:2449 msgid "Generating customization of {v!r}." msgstr "" -#: lib/cr_tf/handler.py:2474 +#: lib/cr_tf/handler.py:2491 msgid "Generating file provisioner for {f!r} of {v!r}." msgstr "" -#: lib/cr_tf/handler.py:2665 +#: lib/cr_tf/handler.py:2682 msgid "Ensuring existence of all necessary vSphere VM folders." msgstr "" -#: lib/cr_tf/handler.py:2682 +#: lib/cr_tf/handler.py:2699 msgid "Importing existing virtual machines ..." msgstr "" -#: lib/cr_tf/handler.py:2687 +#: lib/cr_tf/handler.py:2704 msgid "Importing VM {!r}." msgstr "" -#: lib/cr_tf/handler.py:2709 +#: lib/cr_tf/handler.py:2726 msgid "Congratulations!" msgstr "" -#: lib/cr_tf/handler.py:2711 +#: lib/cr_tf/handler.py:2728 msgid "Now you are ready to deploy the following virtual machines:" msgstr "" -#: lib/cr_tf/handler.py:2715 +#: lib/cr_tf/handler.py:2732 msgid "To start the deployment process change to directory {}" msgstr "" -#: lib/cr_tf/handler.py:2718 +#: lib/cr_tf/handler.py:2735 msgid "and enter: {}" msgstr "" diff --git a/locale/de_DE/LC_MESSAGES/create_terraform.po b/locale/de_DE/LC_MESSAGES/create_terraform.po index 30eb585..ffc653f 100644 --- a/locale/de_DE/LC_MESSAGES/create_terraform.po +++ b/locale/de_DE/LC_MESSAGES/create_terraform.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: create_terraform 1.3.0\n" "Report-Msgid-Bugs-To: frank.brehm@pixelpark.com\n" -"POT-Creation-Date: 2019-10-18 14:06+0200\n" +"POT-Creation-Date: 2019-10-18 14:32+0200\n" "PO-Revision-Date: 2019-10-18 12:40+0100\n" "Last-Translator: Frank Brehm \n" "Language: de_DE\n" @@ -398,12 +398,12 @@ msgstr "Initialisiere einige zusätzliche Handler." msgid "Checking the terraform version ..." msgstr "Überprüfe Version von Terraform …" -#: lib/cr_tf/handler.py:371 lib/cr_tf/handler.py:2674 lib/cr_tf/handler.py:2699 +#: lib/cr_tf/handler.py:371 lib/cr_tf/handler.py:2691 lib/cr_tf/handler.py:2716 msgid "Executing {!r} ..." msgstr "Führe {!r} aus …" -#: lib/cr_tf/handler.py:374 lib/cr_tf/handler.py:2678 lib/cr_tf/handler.py:2696 -#: lib/cr_tf/handler.py:2703 +#: lib/cr_tf/handler.py:374 lib/cr_tf/handler.py:2695 lib/cr_tf/handler.py:2713 +#: lib/cr_tf/handler.py:2720 msgid "Completed process:" msgstr "Fertiggestellter Prozess:" @@ -849,7 +849,7 @@ msgstr "Validiere die übergebenen Datastores der VMs und weise fehlende zu …" msgid "Removing defined datastore {d!r} for VM {n!r} ..." msgstr "Entferne definierten Datastore {d!r} für VM {n!r} …" -#: lib/cr_tf/handler.py:1408 lib/cr_tf/handler.py:1507 +#: lib/cr_tf/handler.py:1408 lib/cr_tf/handler.py:1516 msgid "Did not found cluster object {c!r} for VM {n!r}." msgstr "Cluster-Objekt {c!r} für VM {n!r} nicht gefunden." @@ -889,253 +889,257 @@ msgstr "Validierte FQDNs:" msgid "Validated Addresses:" msgstr "Validierte Adressen:" -#: lib/cr_tf/handler.py:1477 +#: lib/cr_tf/handler.py:1482 msgid "Used networks:" msgstr "Verwendete Netzwerke:" -#: lib/cr_tf/handler.py:1483 +#: lib/cr_tf/handler.py:1488 msgid "Used forward DNS entries:" msgstr "Verwendete Vorwärts-DNS-Einträge:" -#: lib/cr_tf/handler.py:1489 +#: lib/cr_tf/handler.py:1494 msgid "Used reverse DNS entries:" msgstr "Verwendete Rückwärts-DNS-Einträge:" -#: lib/cr_tf/handler.py:1494 -msgid "Checking interfaces of VM {!r} ..." -msgstr "Überprüfe Netzwerkschnittstellen der VM {!r} …" +#: lib/cr_tf/handler.py:1500 +msgid "Checking interfaces of VM {n!r} in VSPhere {v!r} ..." +msgstr "Überprüfe Netzwerkschnittstellen der VM {n!r} in VSPhere {v!r} …" -#: lib/cr_tf/handler.py:1497 +#: lib/cr_tf/handler.py:1504 msgid "No interfaces defined for VM {!r}." msgstr "Keine Netzwerkschnittstellen für VM {!r} definiert." -#: lib/cr_tf/handler.py:1516 +#: lib/cr_tf/handler.py:1525 msgid "Checking interface {i} of VM {n!r} ..." msgstr "Überprüfe Netzwerkschnittstelle {i} der VM {n!r} …" -#: lib/cr_tf/handler.py:1519 +#: lib/cr_tf/handler.py:1528 msgid "Interface {i} of VM {n!r} has no defined address." msgstr "Für die Netzwerkschnittstelle {i} der VM {n!r} wurde keine Adresse definiert." -#: lib/cr_tf/handler.py:1525 +#: lib/cr_tf/handler.py:1534 msgid "Interface {i} of VM {n!r} has no defined FQDN." msgstr "Für die Netzwerkschnittstelle {i} der VM {n!r} wurde kein FQDN definiert." -#: lib/cr_tf/handler.py:1531 +#: lib/cr_tf/handler.py:1540 msgid "FQDN {f!r} already defined for VM {va!r}({ia}) should be set for interface {ib} of {vb!r}." msgstr "" "Der FQDN {f!r}, der bereits für die VM {va!r}({ia}) definiert wurde, soll für " "Netzwerkschnittstelle {ib} von {vb!r} gesetzt werden." -#: lib/cr_tf/handler.py:1543 +#: lib/cr_tf/handler.py:1552 msgid "IPv4 address {a} already defined for VM {va!r}({ia}) should be set for interface {ib} of {vb!r}." msgstr "" "Die IPv4-Adfresse {a}, die bereits für die VM {va!r}({ia}) definiert wurde, soll für " "Netzwerkschnittstelle {ib} von {vb!r} gesetzt werden." -#: lib/cr_tf/handler.py:1558 +#: lib/cr_tf/handler.py:1567 msgid "IPv6 address {a} already defined for VM {va!r}({ia}) should be set for interface {ib} of {vb!r}." msgstr "" "Die IPv6-Adfresse {a}, die bereits für die VM {va!r}({ia}) definiert wurde, soll für " "Netzwerkschnittstelle {ib} von {vb!r} gesetzt werden." -#: lib/cr_tf/handler.py:1574 +#: lib/cr_tf/handler.py:1583 msgid "Could not find network {n!r} for VM {v!r}, interface {i}." msgstr "Konnte Netzwerk {n!r} für die VM {v!r}, Schnittstelle {i}, nicht finden." -#: lib/cr_tf/handler.py:1586 +#: lib/cr_tf/handler.py:1595 msgid "Found network {n!r} for interface {i} of VM {v!r}." msgstr "Netzwerk {n!r} für Schnittstelle {i} der VM {v!r} gefunden." -#: lib/cr_tf/handler.py:1590 +#: lib/cr_tf/handler.py:1599 msgid "Network {n!r} for interface {i} of VM {v!r} not available in cluster {c!r}." msgstr "Das Netzwerk {n!r} für die Schnittstelle {i} der VM {v!r} ist in Cluster {c!r} nicht verfügbar." -#: lib/cr_tf/handler.py:1595 +#: lib/cr_tf/handler.py:1604 msgid "Network {n!r} is available in cluster {c!r}." msgstr "Das Netzwerk {n!r} ist in Cluster {c!r} verfügbar." -#: lib/cr_tf/handler.py:1600 +#: lib/cr_tf/handler.py:1609 msgid "Setting gateway of interface {i} of VM {v!r} to {g}." msgstr "Setze Gateway von Schnittstelle {i} der VM {v!r} auf {g}." -#: lib/cr_tf/handler.py:1618 +#: lib/cr_tf/handler.py:1629 msgid "Validating DNS mappings ..." msgstr "Validieren der DNS-Zuordnungen …" -#: lib/cr_tf/handler.py:1626 +#: lib/cr_tf/handler.py:1639 lib/cr_tf/handler.py:1649 +msgid "None" +msgstr "Keine" + +#: lib/cr_tf/handler.py:1640 msgid "Forward DNS entries to create:" msgstr "Zu erstellende Vorwärts-DNS-Einträge:" -#: lib/cr_tf/handler.py:1633 +#: lib/cr_tf/handler.py:1650 msgid "Reverse DNS entries to create:" msgstr "Zu erstellende Rückwärts-DNS-Einträge:" -#: lib/cr_tf/handler.py:1641 +#: lib/cr_tf/handler.py:1658 msgid "Validating forward DNS mappings ..." msgstr "Validiere Vorwärts-DNS-Einträge …" -#: lib/cr_tf/handler.py:1646 +#: lib/cr_tf/handler.py:1663 msgid "Validating {f!r} => {a!r}." msgstr "Validierung {f!r} => {a!r}." -#: lib/cr_tf/handler.py:1672 +#: lib/cr_tf/handler.py:1689 msgid "Found existing addresses for {f!r}:" msgstr "Existierende Adresse für {f!r} gefunden:" -#: lib/cr_tf/handler.py:1674 +#: lib/cr_tf/handler.py:1691 msgid "Did not found existing addresses for {!r}." msgstr "Keine existierenden Adressen für {!r} gefunden." -#: lib/cr_tf/handler.py:1681 lib/cr_tf/handler.py:1689 +#: lib/cr_tf/handler.py:1698 lib/cr_tf/handler.py:1706 msgid "FQDN {f!r} already points to {a!r}." msgstr "Der FQDN {f!r} zeigt bereits auf {a!r}." -#: lib/cr_tf/handler.py:1694 +#: lib/cr_tf/handler.py:1711 msgid "FQDN {f!r} has already existing addresses, but none of them are {a!r}:" msgstr "Der FQDN {f!r} hat bereits existierende Adressen, aber keine von ihnen ist {a!r}:" -#: lib/cr_tf/handler.py:1710 +#: lib/cr_tf/handler.py:1727 msgid "Validating reverse DNS mappings ..." msgstr "Validiere Rückwärts-DNS-Einträge …" -#: lib/cr_tf/handler.py:1715 +#: lib/cr_tf/handler.py:1732 msgid "Validating {a!r} => {f!r}." msgstr "Validierung {f!r} => {a!r}." -#: lib/cr_tf/handler.py:1722 +#: lib/cr_tf/handler.py:1739 msgid "Got reverse info:" msgstr "Rückwärts-Informationen erhalten:" -#: lib/cr_tf/handler.py:1729 +#: lib/cr_tf/handler.py:1746 msgid "Did not found reverse pointer for {!r}." msgstr "Keinen Rückwärtsverweis für {!r} bekommen:" -#: lib/cr_tf/handler.py:1737 +#: lib/cr_tf/handler.py:1754 msgid "Found reverse pointer {a!r} => {f!r}." msgstr "Rückwärtsverweis {a!r} => {f!r} gefunden." -#: lib/cr_tf/handler.py:1740 +#: lib/cr_tf/handler.py:1757 msgid "Reverse pointer for {!r} was already existing." msgstr "Ein Rückwärtsverweis für {!r} existiert bereits." -#: lib/cr_tf/handler.py:1744 +#: lib/cr_tf/handler.py:1761 msgid "Address {a!r} has already an existing reverse pointer to {p!r}." msgstr "Die Adresse {a!r} besitzt bereits einen Rückwärtsverweis auf {p!r}." -#: lib/cr_tf/handler.py:1755 lib/cr_tf/handler.py:1776 lib/cr_tf/handler.py:1797 +#: lib/cr_tf/handler.py:1772 lib/cr_tf/handler.py:1793 lib/cr_tf/handler.py:1814 msgid "Method {c}.{m} expected at most one argument, got {n}." msgid_plural "Method {c}.{m} expected at most {e} arguments, got {n}." msgstr[0] "Die Methode {c}.{m} erwartet höchstens ein Argument, es wurden aber {n} übergeben." msgstr[1] "Die Methode {c}.{m} erwartet höchstens {e} Argumente, es wurden aber {n} übergeben." -#: lib/cr_tf/handler.py:1767 +#: lib/cr_tf/handler.py:1784 msgid "Did not found network {!r}." msgstr "Netzwerk {!r} wurde nicht gefunden." -#: lib/cr_tf/handler.py:1788 +#: lib/cr_tf/handler.py:1805 msgid "Did not found datastore cluster {!r}." msgstr "Datastore-Cluster {!r} wurde nicht gefunden." -#: lib/cr_tf/handler.py:1809 +#: lib/cr_tf/handler.py:1826 msgid "Did not found datastore {!r}." msgstr "Datastore {!r} wurde nicht gefunden." -#: lib/cr_tf/handler.py:1815 +#: lib/cr_tf/handler.py:1832 msgid "Performing DNS actions ..." msgstr "Führe DNS-Aktionen aus …" -#: lib/cr_tf/handler.py:1831 +#: lib/cr_tf/handler.py:1848 msgid "There was one error in creating DNS mappings." msgid_plural "There were {n} errors in creating DNS mappings." msgstr[0] "Es ist ein Fehler beim Erstellen der DNS-Zuordnungen aufgetreten." msgstr[1] "Es sind {n} ehler beim Erstellen der DNS-Zuordnungen aufgetreten." -#: lib/cr_tf/handler.py:1837 +#: lib/cr_tf/handler.py:1854 msgid "No errors in creating DNS mappings." msgstr "Keine Fehler beim Erstellen der DNS-Zuordnungen." -#: lib/cr_tf/handler.py:1847 +#: lib/cr_tf/handler.py:1864 msgid "Increasing serial of zone {!r}." msgstr "Erhöhe Seriennummer der Zone {!r}." -#: lib/cr_tf/handler.py:1866 +#: lib/cr_tf/handler.py:1883 msgid "Got zone {z!r} for FQDN {f!r}." msgstr "Zone {z!r} für FQDN {f!r} erhalten." -#: lib/cr_tf/handler.py:1869 +#: lib/cr_tf/handler.py:1886 msgid "Did not found zone to insert {t}-record for {f!r}." msgstr "Keine Zone gefunden, um {t}-Einträge für {f!r} einzufügen." -#: lib/cr_tf/handler.py:1887 +#: lib/cr_tf/handler.py:1904 msgid "Trying to create PTR-record {a!r} => {f!r}." msgstr "Versuche PTR-Eintrag {a!r} => {f!r} zu erstellen." -#: lib/cr_tf/handler.py:1892 +#: lib/cr_tf/handler.py:1909 msgid "PTR of {a!r}: {p!r}." msgstr "PTR von {a!r}: {p!r}." -#: lib/cr_tf/handler.py:1897 +#: lib/cr_tf/handler.py:1914 msgid "Got reverse zone {z!r} for address {a!r}." msgstr "Rückwärts-Zone {z!r} für Adresse {a!r} erhalten." -#: lib/cr_tf/handler.py:1900 +#: lib/cr_tf/handler.py:1917 msgid "Did not found zone to insert PTR-record {p!r} ({a})." msgstr "Keine Zone gefunden, um PTR-Eintrag {p!r} ({a}) einzufügen." -#: lib/cr_tf/handler.py:1914 +#: lib/cr_tf/handler.py:1931 msgid "Ensuring existence of directory {!r}." msgstr "Sichere Existenz von Verzeichnis {!r} ab." -#: lib/cr_tf/handler.py:1918 +#: lib/cr_tf/handler.py:1935 msgid "Directory {!r} already exists." msgstr "Verzeichnis {!r} exitiert bereits." -#: lib/cr_tf/handler.py:1920 +#: lib/cr_tf/handler.py:1937 msgid "Path {!r} exists, but is not a directory." msgstr "Der Pfad {!r} existiert, ist aber kein Verzeichnis." -#: lib/cr_tf/handler.py:1923 +#: lib/cr_tf/handler.py:1940 msgid "Creating directory {!r} ..." msgstr "Erstelle Verzeichnis {!r} …" -#: lib/cr_tf/handler.py:1925 +#: lib/cr_tf/handler.py:1942 msgid "Simulation mode - directory will not be created." msgstr "Simulationsmodus - Verzeichnis wird nicht erstellt." -#: lib/cr_tf/handler.py:1930 +#: lib/cr_tf/handler.py:1947 msgid "Could not create directory {d!r}: {e}" msgstr "Konnte Verzeichnis {d!r} nicht erstellen: {e}" -#: lib/cr_tf/handler.py:1938 +#: lib/cr_tf/handler.py:1955 msgid "Directory {!r} does not exists ?!?!" msgstr "Das Verzeichnis {!r} existiert nicht ?!?!" -#: lib/cr_tf/handler.py:1942 +#: lib/cr_tf/handler.py:1959 msgid "No write access to directory {!r}." msgstr "Kein Schreibzugriff auf das Verzeichnis {!r}." -#: lib/cr_tf/handler.py:1945 +#: lib/cr_tf/handler.py:1962 msgid "Changing into directory {!r}." msgstr "Wechsele in das Verzeichnis {!r}." -#: lib/cr_tf/handler.py:1950 +#: lib/cr_tf/handler.py:1967 msgid "Script-Dir relative to project dir: {!r}." msgstr "Skript-Verzeichnis relativ zum Projektverzeichnis: {!r}." -#: lib/cr_tf/handler.py:1953 +#: lib/cr_tf/handler.py:1970 msgid "Checking {!r} for a previous terraform configuration." msgstr "Überprüfe {!r} nach einer früheren Terraform-Konfiguration." -#: lib/cr_tf/handler.py:1956 +#: lib/cr_tf/handler.py:1973 msgid "In {d!r} there exists already {w!r}, but this is not a directory." msgstr "In {d!r} existiert bereits {w!r}, aber das ist kein Verzeichnis." -#: lib/cr_tf/handler.py:1960 +#: lib/cr_tf/handler.py:1977 msgid "In {d!r} there exists already {w!r}, but this not a file." msgstr "In {d!r} existiert bereits {w!r}, aber das ist keine Datei." -#: lib/cr_tf/handler.py:1964 +#: lib/cr_tf/handler.py:1981 msgid "" "In directory {d!r} there are already existing both {w1!r} and {w2!r}. Is this an old terraform " "project?" @@ -1143,100 +1147,100 @@ msgstr "" "In Verzeichnis existieren bereits sowohl {w1!r} als auch {w2!r}. Ist das ein altes Terraform-" "Projekt?" -#: lib/cr_tf/handler.py:1974 +#: lib/cr_tf/handler.py:1991 msgid "Cleaning project directory {!r}." msgstr "Räume Projekt-Verzeichnis {!r} auf." -#: lib/cr_tf/handler.py:1978 +#: lib/cr_tf/handler.py:1995 msgid "Directory {!r} is already clean." msgstr "Das Verzeichnis {!r} ist bereits sauber." -#: lib/cr_tf/handler.py:1982 +#: lib/cr_tf/handler.py:1999 msgid "Removing recursive directory {!r} ..." msgstr "Lösche rekursiv das Verzeichnis {!r} …" -#: lib/cr_tf/handler.py:1986 +#: lib/cr_tf/handler.py:2003 msgid "Removing {!r} ..." msgstr "Lösche {!r} …" -#: lib/cr_tf/handler.py:1994 +#: lib/cr_tf/handler.py:2011 msgid "Creating all necessary files for terraform." msgstr "Erstellen aller notwendigen Dateien für Terraform." -#: lib/cr_tf/handler.py:2023 lib/cr_tf/handler.py:2045 lib/cr_tf/handler.py:2128 -#: lib/cr_tf/handler.py:2140 lib/cr_tf/handler.py:2236 +#: lib/cr_tf/handler.py:2040 lib/cr_tf/handler.py:2062 lib/cr_tf/handler.py:2145 +#: lib/cr_tf/handler.py:2157 lib/cr_tf/handler.py:2253 msgid "Creating {!r} ..." msgstr "Erstelle {!r} …" -#: lib/cr_tf/handler.py:2257 +#: lib/cr_tf/handler.py:2274 msgid "No minimum version of Terraform defined." msgstr "Es wurde keine Minimalversion für Terraform definiert." -#: lib/cr_tf/handler.py:2272 +#: lib/cr_tf/handler.py:2289 msgid "Creating terraform files for VM instances." msgstr "Erstelle Terraform-Dateien für VM-Instanzen." -#: lib/cr_tf/handler.py:2281 +#: lib/cr_tf/handler.py:2298 msgid "Creating file {f!r} for VM instance {n!r}." msgstr "Erstelle Datei {f!r} für VM-Instanz {n!r}." -#: lib/cr_tf/handler.py:2289 +#: lib/cr_tf/handler.py:2306 msgid "Using template:" msgstr "Verwende Vorlage:" -#: lib/cr_tf/handler.py:2315 +#: lib/cr_tf/handler.py:2332 msgid "Writing {!r}" msgstr "Schreibe {!r}" -#: lib/cr_tf/handler.py:2330 +#: lib/cr_tf/handler.py:2347 msgid "Generating global definitions of {!r}." msgstr "Generiere globale Definitionen von {!r}." -#: lib/cr_tf/handler.py:2338 +#: lib/cr_tf/handler.py:2355 msgid "Cluster {!r} not found - this shouldn't be happened." msgstr "Der Cluster {!r} wurde nicht gefunden - das sollte nicht passieren." -#: lib/cr_tf/handler.py:2391 +#: lib/cr_tf/handler.py:2408 msgid "Generating interface definition {i} of {v!r}." msgstr "Generiere Schnittstellen-Definition {i} von {v!r}." -#: lib/cr_tf/handler.py:2412 +#: lib/cr_tf/handler.py:2429 msgid "Generating disk definition {i} of {v!r}." msgstr "Generiere Disk-Definition {i} von {v!r}." -#: lib/cr_tf/handler.py:2432 +#: lib/cr_tf/handler.py:2449 msgid "Generating customization of {v!r}." msgstr "Generiere Anpassungen von {v!r}." -#: lib/cr_tf/handler.py:2474 +#: lib/cr_tf/handler.py:2491 msgid "Generating file provisioner for {f!r} of {v!r}." msgstr "Generiere Datei-Provisioniere für {f!r} von {v!r}." -#: lib/cr_tf/handler.py:2665 +#: lib/cr_tf/handler.py:2682 msgid "Ensuring existence of all necessary vSphere VM folders." msgstr "Gewährleiste Existenz aller notwendigen vSphere-VM-Ordner." -#: lib/cr_tf/handler.py:2682 +#: lib/cr_tf/handler.py:2699 msgid "Importing existing virtual machines ..." msgstr "Importiere Existierende virtuelle Maschinen …" -#: lib/cr_tf/handler.py:2687 +#: lib/cr_tf/handler.py:2704 msgid "Importing VM {!r}." msgstr "Importiere VM {!r}." -#: lib/cr_tf/handler.py:2709 +#: lib/cr_tf/handler.py:2726 msgid "Congratulations!" msgstr "Herzlichen Glückwünschen!" -#: lib/cr_tf/handler.py:2711 +#: lib/cr_tf/handler.py:2728 msgid "Now you are ready to deploy the following virtual machines:" msgstr "Du bist jetzt bereit, die folgenden virtuelle Maschinen zu deployen:" -#: lib/cr_tf/handler.py:2715 +#: lib/cr_tf/handler.py:2732 msgid "To start the deployment process change to directory {}" msgstr "Um mit dem Deployment-Prozess zu beginnen, wechsle in das Verzeichnis {}" -#: lib/cr_tf/handler.py:2718 +#: lib/cr_tf/handler.py:2735 msgid "and enter: {}" msgstr "und gib ein: {}" @@ -1789,3 +1793,6 @@ msgstr "Gefundene .mo-Datei: {!r}" #~ msgid "The name of the vsphere may not be empty." #~ msgstr "" +#~ msgid "Checking interfaces of VM {!r} ..." +#~ msgstr "Überprüfe Netzwerkschnittstellen der VM {!r} …" + diff --git a/locale/en_US/LC_MESSAGES/create_terraform.po b/locale/en_US/LC_MESSAGES/create_terraform.po index bd32f25..1e71302 100644 --- a/locale/en_US/LC_MESSAGES/create_terraform.po +++ b/locale/en_US/LC_MESSAGES/create_terraform.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: create_terraform 1.3.0\n" "Report-Msgid-Bugs-To: frank.brehm@pixelpark.com\n" -"POT-Creation-Date: 2019-10-18 14:06+0200\n" +"POT-Creation-Date: 2019-10-18 14:32+0200\n" "PO-Revision-Date: 2019-10-18 13:40+0100\n" "Last-Translator: Frank Brehm \n" "Language: en_US\n" @@ -388,12 +388,12 @@ msgstr "" msgid "Checking the terraform version ..." msgstr "Checking the terraform version …" -#: lib/cr_tf/handler.py:371 lib/cr_tf/handler.py:2674 lib/cr_tf/handler.py:2699 +#: lib/cr_tf/handler.py:371 lib/cr_tf/handler.py:2691 lib/cr_tf/handler.py:2716 msgid "Executing {!r} ..." msgstr "Executing {!r} …" -#: lib/cr_tf/handler.py:374 lib/cr_tf/handler.py:2678 lib/cr_tf/handler.py:2696 -#: lib/cr_tf/handler.py:2703 +#: lib/cr_tf/handler.py:374 lib/cr_tf/handler.py:2695 lib/cr_tf/handler.py:2713 +#: lib/cr_tf/handler.py:2720 msgid "Completed process:" msgstr "" @@ -835,7 +835,7 @@ msgstr "Validating given datastores of VMs and assign failing …" msgid "Removing defined datastore {d!r} for VM {n!r} ..." msgstr "Removing defined datastore {d!r} for VM {n!r} …" -#: lib/cr_tf/handler.py:1408 lib/cr_tf/handler.py:1507 +#: lib/cr_tf/handler.py:1408 lib/cr_tf/handler.py:1516 msgid "Did not found cluster object {c!r} for VM {n!r}." msgstr "" @@ -873,346 +873,350 @@ msgstr "" msgid "Validated Addresses:" msgstr "" -#: lib/cr_tf/handler.py:1477 +#: lib/cr_tf/handler.py:1482 msgid "Used networks:" msgstr "" -#: lib/cr_tf/handler.py:1483 +#: lib/cr_tf/handler.py:1488 msgid "Used forward DNS entries:" msgstr "" -#: lib/cr_tf/handler.py:1489 +#: lib/cr_tf/handler.py:1494 msgid "Used reverse DNS entries:" msgstr "" -#: lib/cr_tf/handler.py:1494 -msgid "Checking interfaces of VM {!r} ..." -msgstr "Checking interfaces of VM {!r} …" +#: lib/cr_tf/handler.py:1500 +msgid "Checking interfaces of VM {n!r} in VSPhere {v!r} ..." +msgstr "Checking interfaces of VM {n!r} in VSPhere {v!r} …" -#: lib/cr_tf/handler.py:1497 +#: lib/cr_tf/handler.py:1504 msgid "No interfaces defined for VM {!r}." msgstr "" -#: lib/cr_tf/handler.py:1516 +#: lib/cr_tf/handler.py:1525 msgid "Checking interface {i} of VM {n!r} ..." msgstr "Checking interface {i} of VM {n!r} …" -#: lib/cr_tf/handler.py:1519 +#: lib/cr_tf/handler.py:1528 msgid "Interface {i} of VM {n!r} has no defined address." msgstr "" -#: lib/cr_tf/handler.py:1525 +#: lib/cr_tf/handler.py:1534 msgid "Interface {i} of VM {n!r} has no defined FQDN." msgstr "" -#: lib/cr_tf/handler.py:1531 +#: lib/cr_tf/handler.py:1540 msgid "FQDN {f!r} already defined for VM {va!r}({ia}) should be set for interface {ib} of {vb!r}." msgstr "" -#: lib/cr_tf/handler.py:1543 +#: lib/cr_tf/handler.py:1552 msgid "IPv4 address {a} already defined for VM {va!r}({ia}) should be set for interface {ib} of {vb!r}." msgstr "" -#: lib/cr_tf/handler.py:1558 +#: lib/cr_tf/handler.py:1567 msgid "IPv6 address {a} already defined for VM {va!r}({ia}) should be set for interface {ib} of {vb!r}." msgstr "" -#: lib/cr_tf/handler.py:1574 +#: lib/cr_tf/handler.py:1583 msgid "Could not find network {n!r} for VM {v!r}, interface {i}." msgstr "" -#: lib/cr_tf/handler.py:1586 +#: lib/cr_tf/handler.py:1595 msgid "Found network {n!r} for interface {i} of VM {v!r}." msgstr "" -#: lib/cr_tf/handler.py:1590 +#: lib/cr_tf/handler.py:1599 msgid "Network {n!r} for interface {i} of VM {v!r} not available in cluster {c!r}." msgstr "" -#: lib/cr_tf/handler.py:1595 +#: lib/cr_tf/handler.py:1604 msgid "Network {n!r} is available in cluster {c!r}." msgstr "" -#: lib/cr_tf/handler.py:1600 +#: lib/cr_tf/handler.py:1609 msgid "Setting gateway of interface {i} of VM {v!r} to {g}." msgstr "" -#: lib/cr_tf/handler.py:1618 +#: lib/cr_tf/handler.py:1629 msgid "Validating DNS mappings ..." msgstr "Validating DNS mappings …" -#: lib/cr_tf/handler.py:1626 +#: lib/cr_tf/handler.py:1639 lib/cr_tf/handler.py:1649 +msgid "None" +msgstr "" + +#: lib/cr_tf/handler.py:1640 msgid "Forward DNS entries to create:" msgstr "" -#: lib/cr_tf/handler.py:1633 +#: lib/cr_tf/handler.py:1650 msgid "Reverse DNS entries to create:" msgstr "" -#: lib/cr_tf/handler.py:1641 +#: lib/cr_tf/handler.py:1658 msgid "Validating forward DNS mappings ..." msgstr "Validating forward DNS mappings …" -#: lib/cr_tf/handler.py:1646 +#: lib/cr_tf/handler.py:1663 msgid "Validating {f!r} => {a!r}." msgstr "" -#: lib/cr_tf/handler.py:1672 +#: lib/cr_tf/handler.py:1689 msgid "Found existing addresses for {f!r}:" msgstr "" -#: lib/cr_tf/handler.py:1674 +#: lib/cr_tf/handler.py:1691 msgid "Did not found existing addresses for {!r}." msgstr "" -#: lib/cr_tf/handler.py:1681 lib/cr_tf/handler.py:1689 +#: lib/cr_tf/handler.py:1698 lib/cr_tf/handler.py:1706 msgid "FQDN {f!r} already points to {a!r}." msgstr "" -#: lib/cr_tf/handler.py:1694 +#: lib/cr_tf/handler.py:1711 msgid "FQDN {f!r} has already existing addresses, but none of them are {a!r}:" msgstr "" -#: lib/cr_tf/handler.py:1710 +#: lib/cr_tf/handler.py:1727 msgid "Validating reverse DNS mappings ..." msgstr "Validating reverse DNS mappings …" -#: lib/cr_tf/handler.py:1715 +#: lib/cr_tf/handler.py:1732 msgid "Validating {a!r} => {f!r}." msgstr "" -#: lib/cr_tf/handler.py:1722 +#: lib/cr_tf/handler.py:1739 msgid "Got reverse info:" msgstr "" -#: lib/cr_tf/handler.py:1729 +#: lib/cr_tf/handler.py:1746 msgid "Did not found reverse pointer for {!r}." msgstr "" -#: lib/cr_tf/handler.py:1737 +#: lib/cr_tf/handler.py:1754 msgid "Found reverse pointer {a!r} => {f!r}." msgstr "" -#: lib/cr_tf/handler.py:1740 +#: lib/cr_tf/handler.py:1757 msgid "Reverse pointer for {!r} was already existing." msgstr "" -#: lib/cr_tf/handler.py:1744 +#: lib/cr_tf/handler.py:1761 msgid "Address {a!r} has already an existing reverse pointer to {p!r}." msgstr "" -#: lib/cr_tf/handler.py:1755 lib/cr_tf/handler.py:1776 lib/cr_tf/handler.py:1797 +#: lib/cr_tf/handler.py:1772 lib/cr_tf/handler.py:1793 lib/cr_tf/handler.py:1814 msgid "Method {c}.{m} expected at most one argument, got {n}." msgid_plural "Method {c}.{m} expected at most {e} arguments, got {n}." msgstr[0] "" msgstr[1] "" -#: lib/cr_tf/handler.py:1767 +#: lib/cr_tf/handler.py:1784 msgid "Did not found network {!r}." msgstr "" -#: lib/cr_tf/handler.py:1788 +#: lib/cr_tf/handler.py:1805 msgid "Did not found datastore cluster {!r}." msgstr "" -#: lib/cr_tf/handler.py:1809 +#: lib/cr_tf/handler.py:1826 msgid "Did not found datastore {!r}." msgstr "" -#: lib/cr_tf/handler.py:1815 +#: lib/cr_tf/handler.py:1832 msgid "Performing DNS actions ..." msgstr "Performing DNS actions …" -#: lib/cr_tf/handler.py:1831 +#: lib/cr_tf/handler.py:1848 msgid "There was one error in creating DNS mappings." msgid_plural "There were {n} errors in creating DNS mappings." msgstr[0] "" msgstr[1] "" -#: lib/cr_tf/handler.py:1837 +#: lib/cr_tf/handler.py:1854 msgid "No errors in creating DNS mappings." msgstr "" -#: lib/cr_tf/handler.py:1847 +#: lib/cr_tf/handler.py:1864 msgid "Increasing serial of zone {!r}." msgstr "" -#: lib/cr_tf/handler.py:1866 +#: lib/cr_tf/handler.py:1883 msgid "Got zone {z!r} for FQDN {f!r}." msgstr "" -#: lib/cr_tf/handler.py:1869 +#: lib/cr_tf/handler.py:1886 msgid "Did not found zone to insert {t}-record for {f!r}." msgstr "" -#: lib/cr_tf/handler.py:1887 +#: lib/cr_tf/handler.py:1904 msgid "Trying to create PTR-record {a!r} => {f!r}." msgstr "" -#: lib/cr_tf/handler.py:1892 +#: lib/cr_tf/handler.py:1909 msgid "PTR of {a!r}: {p!r}." msgstr "" -#: lib/cr_tf/handler.py:1897 +#: lib/cr_tf/handler.py:1914 msgid "Got reverse zone {z!r} for address {a!r}." msgstr "" -#: lib/cr_tf/handler.py:1900 +#: lib/cr_tf/handler.py:1917 msgid "Did not found zone to insert PTR-record {p!r} ({a})." msgstr "" -#: lib/cr_tf/handler.py:1914 +#: lib/cr_tf/handler.py:1931 msgid "Ensuring existence of directory {!r}." msgstr "" -#: lib/cr_tf/handler.py:1918 +#: lib/cr_tf/handler.py:1935 msgid "Directory {!r} already exists." msgstr "" -#: lib/cr_tf/handler.py:1920 +#: lib/cr_tf/handler.py:1937 msgid "Path {!r} exists, but is not a directory." msgstr "" -#: lib/cr_tf/handler.py:1923 +#: lib/cr_tf/handler.py:1940 msgid "Creating directory {!r} ..." msgstr "Creating directory {!r} …" -#: lib/cr_tf/handler.py:1925 +#: lib/cr_tf/handler.py:1942 msgid "Simulation mode - directory will not be created." msgstr "" -#: lib/cr_tf/handler.py:1930 +#: lib/cr_tf/handler.py:1947 msgid "Could not create directory {d!r}: {e}" msgstr "" -#: lib/cr_tf/handler.py:1938 +#: lib/cr_tf/handler.py:1955 msgid "Directory {!r} does not exists ?!?!" msgstr "" -#: lib/cr_tf/handler.py:1942 +#: lib/cr_tf/handler.py:1959 msgid "No write access to directory {!r}." msgstr "" -#: lib/cr_tf/handler.py:1945 +#: lib/cr_tf/handler.py:1962 msgid "Changing into directory {!r}." msgstr "" -#: lib/cr_tf/handler.py:1950 +#: lib/cr_tf/handler.py:1967 msgid "Script-Dir relative to project dir: {!r}." msgstr "" -#: lib/cr_tf/handler.py:1953 +#: lib/cr_tf/handler.py:1970 msgid "Checking {!r} for a previous terraform configuration." msgstr "" -#: lib/cr_tf/handler.py:1956 +#: lib/cr_tf/handler.py:1973 msgid "In {d!r} there exists already {w!r}, but this is not a directory." msgstr "" -#: lib/cr_tf/handler.py:1960 +#: lib/cr_tf/handler.py:1977 msgid "In {d!r} there exists already {w!r}, but this not a file." msgstr "" -#: lib/cr_tf/handler.py:1964 +#: lib/cr_tf/handler.py:1981 msgid "" "In directory {d!r} there are already existing both {w1!r} and {w2!r}. Is this an old terraform " "project?" msgstr "" -#: lib/cr_tf/handler.py:1974 +#: lib/cr_tf/handler.py:1991 msgid "Cleaning project directory {!r}." msgstr "" -#: lib/cr_tf/handler.py:1978 +#: lib/cr_tf/handler.py:1995 msgid "Directory {!r} is already clean." msgstr "" -#: lib/cr_tf/handler.py:1982 +#: lib/cr_tf/handler.py:1999 msgid "Removing recursive directory {!r} ..." msgstr "Removing recursive directory {!r} …" -#: lib/cr_tf/handler.py:1986 +#: lib/cr_tf/handler.py:2003 msgid "Removing {!r} ..." msgstr "Removing {!r} …" -#: lib/cr_tf/handler.py:1994 +#: lib/cr_tf/handler.py:2011 msgid "Creating all necessary files for terraform." msgstr "" -#: lib/cr_tf/handler.py:2023 lib/cr_tf/handler.py:2045 lib/cr_tf/handler.py:2128 -#: lib/cr_tf/handler.py:2140 lib/cr_tf/handler.py:2236 +#: lib/cr_tf/handler.py:2040 lib/cr_tf/handler.py:2062 lib/cr_tf/handler.py:2145 +#: lib/cr_tf/handler.py:2157 lib/cr_tf/handler.py:2253 msgid "Creating {!r} ..." msgstr "Creating {!r} …" -#: lib/cr_tf/handler.py:2257 +#: lib/cr_tf/handler.py:2274 msgid "No minimum version of Terraform defined." msgstr "" -#: lib/cr_tf/handler.py:2272 +#: lib/cr_tf/handler.py:2289 msgid "Creating terraform files for VM instances." msgstr "" -#: lib/cr_tf/handler.py:2281 +#: lib/cr_tf/handler.py:2298 msgid "Creating file {f!r} for VM instance {n!r}." msgstr "" -#: lib/cr_tf/handler.py:2289 +#: lib/cr_tf/handler.py:2306 msgid "Using template:" msgstr "" -#: lib/cr_tf/handler.py:2315 +#: lib/cr_tf/handler.py:2332 msgid "Writing {!r}" msgstr "" -#: lib/cr_tf/handler.py:2330 +#: lib/cr_tf/handler.py:2347 msgid "Generating global definitions of {!r}." msgstr "" -#: lib/cr_tf/handler.py:2338 +#: lib/cr_tf/handler.py:2355 msgid "Cluster {!r} not found - this shouldn't be happened." msgstr "" -#: lib/cr_tf/handler.py:2391 +#: lib/cr_tf/handler.py:2408 msgid "Generating interface definition {i} of {v!r}." msgstr "" -#: lib/cr_tf/handler.py:2412 +#: lib/cr_tf/handler.py:2429 msgid "Generating disk definition {i} of {v!r}." msgstr "" -#: lib/cr_tf/handler.py:2432 +#: lib/cr_tf/handler.py:2449 msgid "Generating customization of {v!r}." msgstr "" -#: lib/cr_tf/handler.py:2474 +#: lib/cr_tf/handler.py:2491 msgid "Generating file provisioner for {f!r} of {v!r}." msgstr "" -#: lib/cr_tf/handler.py:2665 +#: lib/cr_tf/handler.py:2682 msgid "Ensuring existence of all necessary vSphere VM folders." msgstr "" -#: lib/cr_tf/handler.py:2682 +#: lib/cr_tf/handler.py:2699 msgid "Importing existing virtual machines ..." msgstr "Importing existing virtual machines …" -#: lib/cr_tf/handler.py:2687 +#: lib/cr_tf/handler.py:2704 msgid "Importing VM {!r}." msgstr "" -#: lib/cr_tf/handler.py:2709 +#: lib/cr_tf/handler.py:2726 msgid "Congratulations!" msgstr "" -#: lib/cr_tf/handler.py:2711 +#: lib/cr_tf/handler.py:2728 msgid "Now you are ready to deploy the following virtual machines:" msgstr "" -#: lib/cr_tf/handler.py:2715 +#: lib/cr_tf/handler.py:2732 msgid "To start the deployment process change to directory {}" msgstr "" -#: lib/cr_tf/handler.py:2718 +#: lib/cr_tf/handler.py:2735 msgid "and enter: {}" msgstr "" @@ -1806,3 +1810,6 @@ msgstr "" #~ msgid "The name of the vsphere may not be empty." #~ msgstr "" +#~ msgid "Checking interfaces of VM {!r} ..." +#~ msgstr "Checking interfaces of VM {!r} …" + -- 2.39.5