summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-02-13 20:59:30 -0800
committerDamjan Marion <dmarion@me.com>2019-02-20 09:35:10 +0000
commit0be7451ddb82e31d5dd140756b185d1f3d85d4c7 (patch)
tree9e55f43db2baf5402cd83b27293a534b5cd0ce78 /docs
parent2cc29a5264d22185a97190eeb820a7ce4978eaf7 (diff)
docs: use python3 for make docs.
Change-Id: If62b5ef563523b400fb5160d0343210407905094 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'docs')
-rwxr-xr-xdocs/scripts/sphinx-make.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/scripts/sphinx-make.sh b/docs/scripts/sphinx-make.sh
index 5a2e026e638..3dca88cd426 100755
--- a/docs/scripts/sphinx-make.sh
+++ b/docs/scripts/sphinx-make.sh
@@ -2,10 +2,10 @@
if [ "$1" == "venv" ]
then
- python -m pip install --user virtualenv
- python -m virtualenv $VENV_DIR
+ python3 -m pip install --user virtualenv
+ python3 -m virtualenv $VENV_DIR
source $VENV_DIR/bin/activate;
- pip install -r $DOCS_DIR/etc/requirements.txt
+ python3 -m pip install -r $DOCS_DIR/etc/requirements.txt
else
source $VENV_DIR/bin/activate;
VERSION=`source $WS_ROOT/src/scripts/version`
67' href='#n167'>167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253
{
  "definitions": {},
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "http://example.com/root.json",
  "type": "object",
  "title": "The Root Schema",
  "required": [
    "vpp_details",
    "interfaces"
  ],
  "properties": {
    "vpp_details": {
      "$id": "#/properties/vpp_details",
      "type": "object",
      "title": "The Vpp_details Schema",
      "required": [
        "program",
        "version",
        "build_date",
        "build_directory"
      ],
      "properties": {
        "program": {
          "$id": "#/properties/vpp_details/properties/program",
          "type": "string",
          "title": "The Program Schema",
          "default": "",
          "examples": [
            "vpe"
          ],
          "pattern": "^(.*)$"
        },
        "version": {
          "$id": "#/properties/vpp_details/properties/version",
          "type": "string",
          "title": "The Version Schema",
          "default": "",
          "examples": [
            "18.10-release"
          ],
          "pattern": "^(.*)$"
        },
        "build_date": {
          "$id": "#/properties/vpp_details/properties/build_date",
          "type": "string",
          "title": "The Build_date Schema",
          "default": "",
          "examples": [
            "Tue Oct 23 07:03:38 UTC 2018"
          ],
          "pattern": "^(.*)$"
        },
        "build_directory": {
          "$id": "#/properties/vpp_details/properties/build_directory",
          "type": "string",
          "title": "The Build_directory Schema",
          "default": "",
          "examples": [
            "/w/workspace/vpp-merge-1810-centos7"
          ],
          "pattern": "^(.*)$"
        }
      }
    },
    "interfaces": {
      "$id": "#/properties/interfaces",
      "type": "array",
      "title": "The Interfaces Schema",
      "items": {
        "$id": "#/properties/interfaces/items",
        "type": "object",
        "title": "The Items Schema",
        "required": [
          "if_index",
          "if_name",
          "if_tag",
          "if_mac",
          "if_admin_state",
          "if_link_state",
          "if_link_mtu",
          "if_sub_dot1ad",
          "if_sub_id",
          "if_tx_bytes",
          "if_tx_packets",
          "if_tx_errors",
          "if_rx_bytes",
          "if_rx_packets",
          "if_rx_errors",
          "if_drops",
          "if_punts"
        ],
        "properties": {
          "if_index": {
            "$id": "#/properties/interfaces/items/properties/if_index",
            "type": "integer",
            "title": "The If_index Schema",
            "default": 0,
            "examples": [
              0
            ]
          },
          "if_name": {
            "$id": "#/properties/interfaces/items/properties/if_name",
            "type": "string",
            "title": "The If_name Schema",
            "default": "",
            "examples": [
              "local0"
            ],
            "pattern": "^(.*)$"
          },
          "if_tag": {
            "$id": "#/properties/interfaces/items/properties/if_tag",
            "type": "string",
            "title": "The If_tag Schema",
            "default": "",
            "examples": [
              ""
            ],
            "pattern": "^(.*)$"
          },
          "if_mac": {
            "$id": "#/properties/interfaces/items/properties/if_mac",
            "type": "string",
            "title": "The If_mac Schema",
            "default": "",
            "examples": [
              ""
            ],
            "pattern": "^(.*)$"
          },
          "if_admin_state": {
            "$id": "#/properties/interfaces/items/properties/if_admin_state",
            "type": "integer",
            "title": "The If_admin_state Schema",
            "default": 0,
            "examples": [
              0
            ]
          },
          "if_link_state": {
            "$id": "#/properties/interfaces/items/properties/if_link_state",
            "type": "integer",
            "title": "The If_link_state Schema",
            "default": 0,
            "examples": [
              0
            ]
          },
          "if_link_mtu": {
            "$id": "#/properties/interfaces/items/properties/if_link_mtu",
            "type": "integer",
            "title": "The If_link_mtu Schema",
            "default": 0,
            "examples": [
              0
            ]
          },
          "if_sub_dot1ad": {
            "$id": "#/properties/interfaces/items/properties/if_sub_dot1ad",
            "type": "integer",
            "title": "The If_sub_dot1ad Schema",
            "default": 0,
            "examples": [
              0
            ]
          },
          "if_sub_id": {
            "$id": "#/properties/interfaces/items/properties/if_sub_id",
            "type": "integer",
            "title": "The If_sub_id Schema",
            "default": 0,
            "examples": [
              0
            ]
          },
          "if_tx_bytes": {
            "$id": "#/properties/interfaces/items/properties/if_tx_bytes",
            "type": "integer",
            "title": "The If_tx_bytes Schema",
            "default": 0,
            "examples": [
              0
            ]
          },
          "if_tx_packets": {
            "$id": "#/properties/interfaces/items/properties/if_tx_packets",
            "type": "integer",
            "title": "The If_tx_packets Schema",
            "default": 0,
            "examples": [
              0
            ]
          },
          "if_tx_errors": {
            "$id": "#/properties/interfaces/items/properties/if_tx_errors",
            "type": "integer",
            "title": "The If_tx_errors Schema",
            "default": 0,
            "examples": [
              0
            ]
          },
          "if_rx_bytes": {
            "$id": "#/properties/interfaces/items/properties/if_rx_bytes",
            "type": "integer",
            "title": "The If_rx_bytes Schema",
            "default": 0,
            "examples": [
              0
            ]
          },
          "if_rx_packets": {
            "$id": "#/properties/interfaces/items/properties/if_rx_packets",
            "type": "integer",
            "title": "The If_rx_packets Schema",
            "default": 0,
            "examples": [
              0
            ]
          },
          "if_rx_errors": {
            "$id": "#/properties/interfaces/items/properties/if_rx_errors",
            "type": "integer",
            "title": "The If_rx_errors Schema",
            "default": 0,
            "examples": [
              0
            ]
          },
          "if_drops": {
            "$id": "#/properties/interfaces/items/properties/if_drops",
            "type": "integer",
            "title": "The If_drops Schema",
            "default": 0,
            "examples": [
              0
            ]
          },
          "if_punts": {
            "$id": "#/properties/interfaces/items/properties/if_punts",
            "type": "integer",
            "title": "The If_punts Schema",
            "default": 0,
            "examples": [
              0
            ]
          }
        }
      }
    }
  }
}