blob: 1a5a7f23a150a42e5cc58b408d84475cade672f5 [file] [log] [blame]
Jian Lia80b1582019-01-25 12:47:42 +09001{
2 "type": "object",
3 "description": "A network object.",
4 "required": [
5 "networkId",
6 "type",
7 "name",
8 "segmentId",
9 "gatewayIp",
10 "cidr",
11 "mtu"
12 ],
13 "properties": {
14 "networkId": {
15 "type": "string",
16 "example": "a87cc70a-3e15-4acf-8205-9b711a3531b7",
17 "description": "The ID of the attached network."
18 },
19 "type": {
20 "type": "string",
21 "example": "MINION",
22 "description": "Type of kubernetes node."
23 },
24 "name": {
25 "type": "string",
26 "example": "my_network",
27 "description": "The name of network."
28 },
29 "segmentId": {
30 "type": "string",
31 "example": "1",
32 "description": "Segment ID of tenant network."
33 },
34 "gatewayIp": {
35 "type": "string",
36 "example": "10.10.10.1",
37 "description": "The IP address of the gateway."
38 },
39 "cidr": {
40 "type": "string",
41 "example": "32",
42 "description": "The CIDR of this network."
43 },
44 "mtu": {
45 "type": "integer",
46 "example": 1500,
47 "description": "The Maximum Transmission Unit of this network."
48 }
49 }
50}