Browse Source

[enh] add ASN and IPv6 support information to format and spec.

pitchum 6 years ago
parent
commit
7f24c5cba1
3 changed files with 44 additions and 1 deletions
  1. 1 1
      ispformat/__init__.py
  2. 24 0
      ispformat/schema/0.1/isp.json
  3. 19 0
      ispformat/specs/0.1/isp-schema-spec.rst

+ 1 - 1
ispformat/__init__.py

@@ -1 +1 @@
-__version__ = '0.1.3'
+__version__ = '0.1.4'

+ 24 - 0
ispformat/schema/0.1/isp.json

@@ -90,6 +90,14 @@
             "type": "array",
             "items": { "$ref": "#/definitions/coveredArea" }
         },
+        "asn": {
+            "description": "Main ASN (autonomous system number) owned by the ISP",
+            "type": "integer"
+        },
+        "ipv6Support": {
+            "description": "",
+            "$ref": "#/definitions/ipv6Support"
+        },
         "version": {
             "description": "Version of the specification implemented",
             "type": "number",
@@ -113,6 +121,22 @@
                     "$ref": "http://json-schema.org/geojson/geojson.json#"
                 }
             }
+        },
+        "ipv6Support": {
+            "type": "object",
+            "required": ["status"],
+            "properties": {
+                "status": {
+                    "description": "IPv6 support level",
+                    "type": "integer",
+                    "minimum": 0,
+                    "maximum": 5
+                },
+                "comments": {
+                    "description": "Free text giving more precisions",
+                    "type": "string"
+                }
+            }
         }
     }
 }

+ 19 - 0
ispformat/specs/0.1/isp-schema-spec.rst

@@ -87,6 +87,21 @@ cube
 
 This list is not exhaustive. Please contact us to add more.
 
+3.4 ipv6Support
+===============
+
+This field is an enum specifiying the progress status of support of IPv6.
+
+Here is the definition of the values::
+
+  0. no IPv6 support
+  1. ISP owns at least one IPv6 range
+  2. at least one IPv6 is reachable
+  3. ISP uses IPv6 for one of its servers
+  4. providing IPv6 for subscribers is partially supported (only for VPN for example or currently under test)
+  5. IPv6 is globally available for all subscribers
+
+
 4. Implementing the format
 ==========================
 
@@ -221,6 +236,10 @@ Please note that the GeoJSON produced by nominatim might not be completely suppo
 Revision History
 ============================
 
+Version 0.1.4 (2018-08-20)
+    Added "asn"
+    Added "ipv6Support"
+
 Version 0.1.3 (2015-07-30)
     Added "cube" (for the Internet Cube/Brique Internet) and "vpn" as a possible technology).