add access list clients to back-end

This commit is contained in:
Kyle Klaus
2020-04-10 16:38:54 -07:00
parent 9a7a216b23
commit f990d3f674
5 changed files with 220 additions and 21 deletions

View File

@ -19,6 +19,14 @@
"type": "string",
"description": "Name of the Access List"
},
"directive": {
"type": "string",
"enum": ["allow", "deny"]
},
"address": {
"type": "string",
"format": "ipv4"
},
"meta": {
"type": "object"
}
@ -96,6 +104,22 @@
}
}
},
"clients": {
"type": "array",
"minItems": 0,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"address": {
"$ref": "#/definitions/address"
},
"directive": {
"$ref": "#/definitions/directive"
}
}
}
},
"meta": {
"$ref": "#/definitions/meta"
}
@ -141,6 +165,22 @@
}
}
}
},
"clients": {
"type": "array",
"minItems": 0,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"address": {
"$ref": "#/definitions/address"
},
"directive": {
"$ref": "#/definitions/directive"
}
}
}
}
}
},