Skip to content

Commit

Permalink
:
Browse files Browse the repository at this point in the history
  • Loading branch information
PietroPasotti committed Dec 2, 2024
2 parents 6f1f962 + f8cc985 commit 090115b
Show file tree
Hide file tree
Showing 21 changed files with 1,166 additions and 26 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/matrix-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,16 @@ jobs:
needs: set-matrix
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
interface: ${{ fromJSON(needs.set-matrix.outputs.matrix_values) }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install dependencies
Expand Down
122 changes: 122 additions & 0 deletions docs/json_schemas/fiveg_core_gnb/v0/provider.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
{
"$defs": {
"BaseModel": {
"properties": {},
"title": "BaseModel",
"type": "object"
},
"FivegCoreGnbProviderAppData": {
"properties": {
"tac": {
"description": "Tracking Area Code",
"examples": [
1
],
"maximum": 16777215,
"minimum": 1,
"title": "Tac",
"type": "integer"
},
"plmns": {
"items": {
"$ref": "#/$defs/PLMNConfig"
},
"title": "Plmns",
"type": "array"
}
},
"required": [
"tac",
"plmns"
],
"title": "FivegCoreGnbProviderAppData",
"type": "object"
},
"PLMNConfig": {
"properties": {
"mcc": {
"description": "Mobile Country Code",
"examples": [
"001",
"208",
"302"
],
"pattern": "[0-9][0-9][0-9]",
"title": "Mcc",
"type": "string"
},
"mnc": {
"description": "Mobile Network Code",
"examples": [
"01",
"001",
"999"
],
"pattern": "[0-9][0-9][0-9]?",
"title": "Mnc",
"type": "string"
},
"sst": {
"description": "Slice/Service Type",
"examples": [
1,
2,
3,
4
],
"maximum": 255,
"minimum": 0,
"title": "Sst",
"type": "integer"
},
"sd": {
"anyOf": [
{
"maximum": 16777215,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Slice Differentiator",
"examples": [
1
],
"title": "Sd"
}
},
"required": [
"mcc",
"mnc",
"sst"
],
"title": "PLMNConfig",
"type": "object"
}
},
"description": "The schema for the provider side of the fiveg_core_gnb interface.",
"properties": {
"unit": {
"anyOf": [
{
"$ref": "#/$defs/BaseModel"
},
{
"type": "null"
}
],
"default": null
},
"app": {
"$ref": "#/$defs/FivegCoreGnbProviderAppData"
}
},
"required": [
"app"
],
"title": "ProviderSchema",
"type": "object"
}
48 changes: 48 additions & 0 deletions docs/json_schemas/fiveg_core_gnb/v0/requirer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"$defs": {
"BaseModel": {
"properties": {},
"title": "BaseModel",
"type": "object"
},
"FivegCoreGnbRequirerAppData": {
"properties": {
"cu_name": {
"description": "Unique identifier of the CU/gnB.",
"examples": [
"gnb001"
],
"title": "Cu Name",
"type": "string"
}
},
"required": [
"cu_name"
],
"title": "FivegCoreGnbRequirerAppData",
"type": "object"
}
},
"description": "The schema for the requirer side of the fiveg_core_gnb interface.",
"properties": {
"unit": {
"anyOf": [
{
"$ref": "#/$defs/BaseModel"
},
{
"type": "null"
}
],
"default": null
},
"app": {
"$ref": "#/$defs/FivegCoreGnbRequirerAppData"
}
},
"required": [
"app"
],
"title": "RequirerSchema",
"type": "object"
}
85 changes: 84 additions & 1 deletion docs/json_schemas/fiveg_f1/v0/provider.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,97 @@
],
"title": "F1 Port",
"type": "integer"
},
"tac": {
"description": "Tracking Area Code",
"examples": [
1
],
"maximum": 16777215,
"minimum": 1,
"title": "Tac",
"type": "integer"
},
"plmns": {
"items": {
"$ref": "#/$defs/PLMNConfig"
},
"title": "Plmns",
"type": "array"
}
},
"required": [
"f1_ip_address",
"f1_port"
"f1_port",
"tac",
"plmns"
],
"title": "FivegF1ProviderAppData",
"type": "object"
},
"PLMNConfig": {
"properties": {
"mcc": {
"description": "Mobile Country Code",
"examples": [
"001",
"208",
"302"
],
"pattern": "^[0-9][0-9][0-9]$",
"title": "Mcc",
"type": "string"
},
"mnc": {
"description": "Mobile Network Code",
"examples": [
"01",
"001",
"999"
],
"pattern": "^[0-9][0-9][0-9]?$",
"title": "Mnc",
"type": "string"
},
"sst": {
"description": "Slice/Service Type",
"examples": [
1,
2,
3,
4
],
"maximum": 255,
"minimum": 0,
"title": "Sst",
"type": "integer"
},
"sd": {
"anyOf": [
{
"maximum": 16777215,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Slice Differentiator",
"examples": [
1
],
"title": "Sd"
}
},
"required": [
"mcc",
"mnc",
"sst"
],
"title": "PLMNConfig",
"type": "object"
}
},
"description": "Provider schema for fiveg_f1.",
Expand Down
34 changes: 33 additions & 1 deletion docs/json_schemas/fiveg_rfsim/v0/provider.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,42 @@
],
"title": "Rfsim Address",
"type": "string"
},
"sst": {
"description": "Slice/Service Type",
"examples": [
1,
2,
3,
4
],
"maximum": 255,
"minimum": 0,
"title": "Sst",
"type": "integer"
},
"sd": {
"anyOf": [
{
"maximum": 16777215,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Slice Differentiator",
"examples": [
1
],
"title": "Sd"
}
},
"required": [
"rfsim_address"
"rfsim_address",
"sst"
],
"title": "FivegRFSIMProviderAppData",
"type": "object"
Expand Down
Loading

0 comments on commit 090115b

Please sign in to comment.