]> git.ipfire.org Git - location/libloc.git/commitdiff
location-importer.in: Add new Amazon region codes
authorPeter Müller <peter.mueller@ipfire.org>
Mon, 26 Sep 2022 18:33:29 +0000 (18:33 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 27 Sep 2022 09:17:49 +0000 (09:17 +0000)
Note that the precise location of "ap-southeast-6" is currently
undocumented. However, all IPv4 networks allocated are not routed at the
time of writing, hence our allocation of Asia/Pacific should be
acceptable for the time being.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/scripts/location-importer.in

index d405eb2bc42d8a9cda1c275777336b9de6c60cb6..d42897691e6a73b935aebb95d029ef2cc655f451 100644 (file)
@@ -1341,8 +1341,10 @@ class CLI(object):
                                "ap-southeast-2": "AU",
                                "ap-southeast-3": "MY",
                                "ap-southeast-4": "AU",
+                               "ap-southeast-6": "AP", # XXX: Precise location not documented anywhere
                                "ap-northeast-1": "JP",
                                "ca-central-1": "CA",
+                               "ca-west-1": "CA",
                                "eu-central-1": "DE",
                                "eu-central-2": "CH",
                                "eu-west-1": "IE",