Added Stream forwarding support

This commit is contained in:
Jamie Curnow
2018-02-16 16:57:54 +10:00
parent d2130a24a1
commit b57d1e5a66
15 changed files with 264 additions and 38 deletions

View File

@@ -12,7 +12,7 @@
},
"type": {
"type": "string",
"pattern": "^(proxy|redirection|404)$"
"pattern": "^(proxy|redirection|404|stream)$"
},
"hostname": {
"$ref": "../definitions.json#/definitions/hostname"
@@ -59,6 +59,17 @@
"access_list": {
"type": "object",
"readonly": true
},
"incoming_port": {
"type": "integer",
"minumum": 1,
"maxiumum": 65535
},
"protocols": {
"type": "array",
"items": {
"type": "string"
}
}
},
"links": [
@@ -86,8 +97,7 @@
"schema": {
"type": "object",
"required": [
"type",
"hostname"
"type"
],
"properties": {
"type": {
@@ -125,6 +135,12 @@
},
"access_list_id": {
"$ref": "#/definitions/access_list_id"
},
"incoming_port": {
"$ref": "#/definitions/incoming_port"
},
"protocols": {
"$ref": "#/definitions/protocols"
}
}
},
@@ -181,6 +197,12 @@
},
"access_list_id": {
"$ref": "#/definitions/access_list_id"
},
"incoming_port": {
"$ref": "#/definitions/incoming_port"
},
"protocols": {
"$ref": "#/definitions/protocols"
}
}
},
@@ -247,6 +269,12 @@
},
"advanced": {
"$ref": "#/definitions/advanced"
},
"incoming_port": {
"$ref": "#/definitions/incoming_port"
},
"protocols": {
"$ref": "#/definitions/protocols"
}
}
}