-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from andreacv98/master
REAR Data models improved according to FLUIDOS Node implementation
- Loading branch information
Showing
66 changed files
with
933 additions
and
1,359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
models/examples/configuration-types/k8slice-configuration.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"cpu": "2", | ||
"pods": "5", | ||
"memory": "4Gi", | ||
"gpu": { | ||
"model": "NVIDIA Tesla V100", | ||
"cores": "1", | ||
"memory": "16Gi" | ||
}, | ||
"storage": "100Gi" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"type": "k8slice", | ||
"data": { | ||
"$ref": "./configurationTypes/k8slice-configuration.schema.json" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"ContractID": "12345-abcde", | ||
"Flavor": { | ||
"$ref": "./flavor.schema.json" | ||
}, | ||
"Buyer": { | ||
"$ref": "node-identity.schema.json" | ||
}, | ||
"Seller": { | ||
"$ref": "node-identity.schema.json" | ||
}, | ||
"ExpirationTime": "2024-12-31T23:59:59Z", | ||
"Credentials": { | ||
"$ref": "credentials/liqo-credentials.schema.json" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"clusterID": "cluster-123", | ||
"clusterName": "ExampleCluster", | ||
"endpoint": "https://example.cluster.endpoint", | ||
"token": "abc123token" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"name": "ExampleK8Slice", | ||
"characteristics": { | ||
"cpu": "2", | ||
"pods": "5", | ||
"memory": "4Gi", | ||
"gpu": { | ||
"model": "NVIDIA Tesla K80", | ||
"cores": "1", | ||
"memory": "12Gi" | ||
}, | ||
"storage": "100Gi" | ||
}, | ||
"properties": { | ||
"latency": 50, | ||
"securityStandards": [ | ||
"GDPR", | ||
"HIPAA" | ||
], | ||
"carbonFootprint": { | ||
"embodied": 2000, | ||
"operational": [] | ||
} | ||
}, | ||
"policies": { | ||
"partitionability": { | ||
"cpuMin": "500m", | ||
"memoryMin": "1Gi", | ||
"podsMin": "1", | ||
"cpuStep": "250m", | ||
"memoryStep": "512Mi", | ||
"podsStep": "1" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"Characteristics": { | ||
"SensorType": "Temperature", | ||
"SensorModel": "T1000", | ||
"SensorManufacturer": "SensorCorp", | ||
"SensorMarket": "Industrial", | ||
"SamplingRate": 1000, | ||
"Accuracy": 95, | ||
"Consumption": 50, | ||
"Interface": "I2C", | ||
"SecurityStandards": [ | ||
"ISO 27001", | ||
"GDPR" | ||
], | ||
"Latency": 10, | ||
"additionalProperties": { | ||
"MeasurementUnit": "Celsius", | ||
"ConsumptionUnit": "mW", | ||
"SamplingRateUnit": "milliseconds", | ||
"AccessProtocol": "HTTP" | ||
} | ||
}, | ||
"AccessType": { | ||
"HTTP": { | ||
"method": [ | ||
"GET", | ||
"POST" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"Characteristics": { | ||
"Name": "Database Service", | ||
"Description": "A scalable database service for applications.", | ||
"Tags": [ | ||
"database", | ||
"scalable", | ||
"managed" | ||
], | ||
"Plan": "Premium", | ||
"Latency": 20, | ||
"SecurityStandards": [ | ||
"ISO 27001", | ||
"GDPR" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"Characteristics": { | ||
"Architecture": "x86_64", | ||
"OS": "Ubuntu 20.04", | ||
"CPU": 4, | ||
"Memory": 8192, | ||
"GPU": { | ||
"GPUModel": "NVIDIA RTX 3080", | ||
"GPUCores": 10 | ||
}, | ||
"Storage": 100 | ||
}, | ||
"Properties": { | ||
"Latency": 30, | ||
"SecurityStandards": [ | ||
"GDPR", | ||
"ISO 27001" | ||
], | ||
"CarbonFootprint": { | ||
"Embodied": 1500, | ||
"Operational": [] | ||
} | ||
}, | ||
"Policy": { | ||
"Aggregatable": { | ||
"MinCount": 1, | ||
"MaxCount": 10 | ||
} | ||
} | ||
} |
Oops, something went wrong.