Skip to content

Commit 763519a

Browse files
authored
Config cleanup (#7151)
1 parent 2d3b4b7 commit 763519a

15 files changed

+22
-143
lines changed

doc/host_config_schema/cchost_config.json

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,6 @@
44
"title": "CCF node configuration",
55
"description": "JSON schema for configuration of a single CCF node",
66
"properties": {
7-
"enclave": {
8-
"type": "object",
9-
"properties": {
10-
"file": {
11-
"type": "string",
12-
"description": "DEPRECATED: No longer required."
13-
},
14-
"platform": {
15-
"type": "string",
16-
"enum": ["SNP", "Virtual"],
17-
"default": "SNP",
18-
"description": "Trusted Execution Environment platform"
19-
},
20-
"type": {
21-
"type": "string",
22-
"enum": ["Release", "Debug", "Virtual"],
23-
"default": "Release",
24-
"description": "Type of enclave application (only if platform is SGX, now deprecated). \"Virtual\" is deprecated (use ``platform`` instead)"
25-
}
26-
},
27-
"description": "This section includes configuration for the enclave application launched by this node",
28-
"required": ["platform", "type"],
29-
"additionalProperties": false
30-
},
317
"network": {
328
"type": "object",
339
"properties": {
@@ -751,7 +727,7 @@
751727
"description": "Historical queries cache soft limit (as size string)"
752728
}
753729
},
754-
"required": ["enclave", "network", "command"],
730+
"required": ["network", "command"],
755731
"additionalProperties": false,
756732
"$defs": {
757733
"RedirectionResolver": {

samples/config/join_config.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
{
2-
"enclave": {
3-
"file": "libjs_generic.enclave.so.signed",
4-
"platform": "SNP",
5-
"type": "Release"
6-
},
72
"network": {
83
"node_to_node_interface": { "bind_address": "127.0.0.1:8081" },
94
"rpc_interfaces": {

samples/config/minimal_config.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
{
2-
"enclave": {
3-
"file": "libjs_generic.enclave.so.signed",
4-
"platform": "SNP",
5-
"type": "Release"
6-
},
72
"network": {
83
"node_to_node_interface": { "bind_address": "127.0.0.1:8081" },
94
"rpc_interfaces": {

samples/config/minimal_config_redirects_role.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
{
2-
"enclave": {
3-
"file": "libjs_generic.enclave.so.signed",
4-
"platform": "SNP",
5-
"type": "Release"
6-
},
72
"network": {
83
"node_to_node_interface": { "bind_address": "127.0.0.1:8081" },
94
"rpc_interfaces": {

samples/config/minimal_config_redirects_static.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
{
2-
"enclave": {
3-
"file": "libjs_generic.enclave.so.signed",
4-
"platform": "SNP",
5-
"type": "Release"
6-
},
72
"network": {
83
"node_to_node_interface": { "bind_address": "127.0.0.1:8081" },
94
"rpc_interfaces": {

samples/config/recover_config.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
{
2-
"enclave": {
3-
"file": "libjs_generic.enclave.so.signed",
4-
"platform": "SNP",
5-
"type": "Release"
6-
},
72
"network": {
83
"node_to_node_interface": { "bind_address": "127.0.0.1:8081" },
94
"rpc_interfaces": {

samples/config/start_config.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
{
2-
"enclave": {
3-
"file": "libjs_generic.enclave.so.signed",
4-
"platform": "SNP",
5-
"type": "Release"
6-
},
72
"network": {
83
"node_to_node_interface": { "bind_address": "127.0.0.1:8081" },
94
"rpc_interfaces": {

samples/config/start_config_aci_sev_snp.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
{
2-
"enclave": {
3-
"file": "libjs_generic.so",
4-
"platform": "SNP",
5-
"type": "Release"
6-
},
72
"network": {
83
"node_to_node_interface": {
94
"bind_address": "127.0.0.1:8081"

samples/config/start_config_aks_sev_snp.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
{
2-
"enclave": {
3-
"file": "libjs_generic.so",
4-
"platform": "SNP",
5-
"type": "Release"
6-
},
72
"network": {
83
"node_to_node_interface": {
94
"bind_address": "127.0.0.1:8081"

samples/config/start_config_amd_sev_snp.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
{
2-
"enclave": {
3-
"file": "libjs_generic.so",
4-
"platform": "SNP",
5-
"type": "Release"
6-
},
72
"network": {
83
"node_to_node_interface": {
94
"bind_address": "127.0.0.1:8081"

0 commit comments

Comments
 (0)