Skip to content

Commit 49c255e

Browse files
authored
Merge pull request #892 from q384566678/solaris-fix
config-solaris: Replaced refs with actual fields in cappedCPU, cappedMemory and anet fields
2 parents c47d8e6 + 58ae3dd commit 49c255e

File tree

1 file changed

+42
-3
lines changed

1 file changed

+42
-3
lines changed

schema/config-solaris.json

Lines changed: 42 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,56 @@
1818
},
1919
"cappedCPU": {
2020
"id": "https://opencontainers.org/schema/bundle/solaris/cappedCPU",
21-
"$ref": "defs.json#/definitions/mapStringString"
21+
"type": "object",
22+
"properties": {
23+
"ncpus": {
24+
"id": "https://opencontainers.org/schema/bundle/solaris/cappedCPU/ncpus",
25+
"type": "string"
26+
}
27+
}
2228
},
2329
"cappedMemory": {
2430
"id": "https://opencontainers.org/schema/bundle/solaris/cappedMemory",
25-
"$ref": "defs.json#/definitions/mapStringString"
31+
"type": "object",
32+
"properties": {
33+
"physical": {
34+
"id": "https://opencontainers.org/schema/bundle/solaris/cappedMemory/physical",
35+
"type": "string"
36+
},
37+
"swap": {
38+
"id": "https://opencontainers.org/schema/bundle/solaris/cappedMemory/swap",
39+
"type": "string"
40+
}
41+
}
2642
},
2743
"anet": {
2844
"id": "https://opencontainers.org/schema/bundle/solaris/anet",
2945
"type": "array",
3046
"items": {
31-
"$ref": "defs.json#/definitions/mapStringString"
47+
"type": "object",
48+
"properties": {
49+
"linkname": {
50+
"type": "string"
51+
},
52+
"lowerLink": {
53+
"type": "string"
54+
},
55+
"allowedAddress": {
56+
"type": "string"
57+
},
58+
"configureAllowedAddress": {
59+
"type": "string"
60+
},
61+
"defrouter": {
62+
"type": "string"
63+
},
64+
"macAddress": {
65+
"type": "string"
66+
},
67+
"linkProtection": {
68+
"type": "string"
69+
}
70+
}
3271
}
3372
}
3473
}

0 commit comments

Comments
 (0)