Project

General

Profile

Actions

ConfigFileFormat » History » Revision 1

Revision 1/5 | Next »
Vince Lehman, 03/01/2016 09:02 AM


ConfigFileFormat

File Format v2.0

Topology Schema

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "id": "/",
  "type": "object",
  "properties": {
    "hosts": {
      "id": "hosts",
      "type": "array",
      "items": [],
      "description": "Array of hosts in the topology"
    },
    "links": {
      "id": "links",
      "type": "array",
      "items": [],
      "description": "Array of links in the topology"
    },
    "routers": {
      "id": "routers",
      "type": "array",
      "items": [],
      "description": "Array of routers in the topology"
    },
    "switches": {
      "id": "switches",
      "type": "array",
      "items": [],
      "description": "Array of switches in the topology"
    },
    "version": {
      "id": "version",
      "type": "string",
      "description": "File format version"
    }
  },
  "required": [
    "hosts",
    "links",
    "routers",
    "switches",
    "version"
  ]
}

Updated by Vince Lehman about 8 years ago · 1 revisions