summaryrefslogtreecommitdiffstats
path: root/test/scapy_handlers
AgeCommit message (Expand)AuthorFilesLines
2016-12-13make test: Use VXLAN built in scapy 2.3.3Matej Klotton1-17/+0
2016-10-03test: new test infrastructureDamjan Marion2-0/+17
='#n60'>60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 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
            ]
          }
        }
      }
    }
  }
}