X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=code%2Fnetwork-generator%2Fnetwork_generation%2Fmodel%2FjsonSchema%2Fconfiguration.schema.json;h=e2fb5fd9b30754d07c511fd62f4548edf4296ceb;hb=7458bc6a960f4c548bf8c534fb42d9a2194e30d6;hp=ee569927b6c7b1006220c07d60f2a742619b083b;hpb=7004840bca352043aec43d36df79436b90bcbd5a;p=oam.git diff --git a/code/network-generator/network_generation/model/jsonSchema/configuration.schema.json b/code/network-generator/network_generation/model/jsonSchema/configuration.schema.json index ee56992..e2fb5fd 100644 --- a/code/network-generator/network_generation/model/jsonSchema/configuration.schema.json +++ b/code/network-generator/network_generation/model/jsonSchema/configuration.schema.json @@ -6,8 +6,8 @@ "type": "object", "required": [ "network", - "output-folder", - "generation-tasks" + "outputFolder", + "generationTasks" ], "additionalProperties": false, "properties": { @@ -15,13 +15,13 @@ "description": "Defines the network and its topology to be generated.", "$ref": "#/$defs/network" }, - "output-folder": { + "outputFolder": { "description": "The relative path (folder name only) of the directory, where the generated files are stored.", "type": "string" }, - "generation-tasks": { + "generationTasks": { "description": "Defines the files to be generated.", - "$ref": "#/$defs/generation-tasks" + "$ref": "#/$defs/generationTasks" } }, "$defs": { @@ -88,11 +88,11 @@ "required": [ "tower", "smo", - "near-rt-ric", - "o-ran-cu", - "o-ran-du", - "o-ran-ru", - "nr-cell-du" + "nearRtRic", + "oRanCu", + "oRanDu", + "oRanRu", + "nrCellDu" ], "additionalProperties": false, "properties": { @@ -118,24 +118,24 @@ "title": "Service Management and Orchestration", "type": "object", "required": [ - "five-g-core-count", - "near-rt-ric-spiral-radius", - "o-could-resource-pool-count" + "fiveGCoreCount", + "nearRtRicSpiralRadius", + "oCloudResourcePoolCount" ], "properties": { - "five-g-core-count": { + "fiveGCoreCount": { "description": "The number of 5G-Cores controlled by SMO.", "type": "integer", "minimum": 0, "maximum": 1 }, - "near-rt-ric-spiral-radius": { - "description": "The spiral radius of hexagons within an hexagon grid defines the number of Near-RT-RICs and the geographical coverage of the SMO.", + "nearRtRicSpiralRadius": { + "description": "The spiral radius of hexagons within an hexagon grid defines the number of nearRtRics and the geographical coverage of the SMO.", "type": "integer", "minimum": 0, "maximum": 3 }, - "o-could-resource-pool-count": { + "oCloudResourcePoolCount": { "description": "Number of O-RAN O-Cloud resource pools managed by O2-controller of the SMO.", "type": "integer", "enum": [ @@ -147,15 +147,15 @@ } } }, - "near-rt-ric": { - "description": "Definition of the relation to Near-RT-Ric children.", - "title": "near-rt-ric", + "nearRtRic": { + "description": "Definition of the relation to nearRtRic children.", + "title": "nearRtRic", "type": "object", "required": [ - "o-ran-cu-spiral-radius" + "oRanCuSpiralRadius" ], "properties": { - "o-ran-cu-spiral-radius": { + "oRanCuSpiralRadius": { "description": "The spiral radius of hexagons within a hexagon grid defines the number of O-RAN CUs and the geographical coverage of the SMO.", "type": "integer", "minimum": 0, @@ -163,15 +163,15 @@ } } }, - "o-ran-cu": { - "description": "Definition of the relation to O-RAN-CU children.", - "title": "o-ran-cu", + "oRanCu": { + "description": "Definition of the relation to oRanCu children.", + "title": "oRanCu", "type": "object", "required": [ - "o-ran-du-spiral-radius" + "oRanDuSpiralRadius" ], "properties": { - "o-ran-du-spiral-radius": { + "oRanDuSpiralRadius": { "description": "The spiral radius of hexagons within a hexagon grid defines the number of O-RAN DUs and the geographical coverage of the SMO.", "type": "integer", "minimum": 0, @@ -179,30 +179,30 @@ } } }, - "o-ran-du": { - "description": "Definition of the relation to O-RAN-DU children.", - "title": "o-ran-du", + "oRanDu": { + "description": "Definition of the relation to oRanDU children.", + "title": "oRanDu", "type": "object", "required": [ - "tower-spiral-radius", - "fronthaul-gateway-count", - "o-ran-ru-count" + "towerSpiralRadius", + "fronthaulGatewayCount", + "oRanRuCount" ], "properties": { - "tower-spiral-radius": { - "description": "The spiral radius of hexagons within an hexagon grid defines the number of towers and the geographical coverage of the O-RAN-DU. This means that center tower offers the O-Cloud resource pool for the surrounding towers and its O-RAN-RUs.", + "towerSpiralRadius": { + "description": "The spiral radius of hexagons within an hexagon grid defines the number of towers and the geographical coverage of the oRanDU. This means that center tower offers the O-Cloud resource pool for the surrounding towers and its oRanRus.", "type": "integer", "minimum": 0, "maximum": 3 }, - "fronthaul-gateway-count": { - "description": "Number of fronthaul gateway connected to an O-RAN-DU.", + "fronthaulGatewayCount": { + "description": "Number of fronthaul gateway connected to an oRanDU.", "type": "integer", "minimum": 0, "maximum": 1 }, - "o-ran-ru-count": { - "description": "Number of O-RAN-RUs managed by an O-RAN-DU.", + "oRanRuCount": { + "description": "Number of oRanRus managed by an oRanDU.", "type": "integer", "enum": [ 1, @@ -213,16 +213,16 @@ } } }, - "o-ran-ru": { - "description": "Definition of the relation to O-RAN-RU children.", - "title": "o-ran-ru", + "oRanRu": { + "description": "Definition of the relation to oRanRu children.", + "title": "oRanRu", "type": "object", "required": [ - "nr-cell-du-count" + "nrCellDuCount" ], "properties": { - "nr-cell-du-count": { - "description": "Number of 3GPP:NRCellDUs managed by an O-RAN-RU.", + "nrCellDuCount": { + "description": "Number of 3GPP:NRCellDUs managed by an oRanRu.", "type": "integer", "enum": [ 1, @@ -231,17 +231,18 @@ } } }, - "nr-cell-du": { + "nrCellDu": { "description": "Definition of the relation to 3GPP:NRCellDU children.", - "title": "nr-cell-du", + "title": "nrCellDu", "type": "object", "required": [ - "sector-count", - "cell-angle", - "max-reach" + "sectorCount", + "cellAngle", + "cellScaleFactorForHandoverArea", + "maxReach" ], "properties": { - "sector-count": { + "sectorCount": { "description": "Number of sectors managed by an 3GPP:NRCellDUs.", "type": "integer", "enum": [ @@ -249,15 +250,21 @@ 3 ] }, - "cell-angle": { + "cellAngle": { "description": "The area covered by an NRCellDU around the tower in grad.", "type": "integer", "minimum": 0, "maximum": 360, - "exclusiveMinimum": true + "exclusiveMinimum": 0 }, - "max-reach": { - "description": "The maximal distance a UE can reach the cell in meters. The value also defines the radius around a tower where UEs may select a NRCellDU of an O-RAN-RU mounted at this tower.", + "cellScaleFactorForHandoverArea": { + "description": "A factor to increase the cell polygon for handover areas in procent [%]", + "type": "integer", + "minimum": 0, + "maximum": 50 + }, + "maxReach": { + "description": "The maximal distance a UE can reach the cell in meters. The value also defines the radius around a tower where UEs may select a NRCellDU of an oRanRu mounted at this tower.", "type": "integer", "minimum": 15, "maximum": 600 @@ -266,8 +273,27 @@ } } }, - "generation-tasks": { - "title": "generation-tasks", + "export": { + "title": "export", + "type": "object", + "required": [ + "enabled", + "compressed" + ], + "additionalProperties": false, + "properties": { + "enabled": { + "description": "If true, an export file is created.", + "type": "boolean" + }, + "compressed": { + "description": "If true, the export file is stored in a compressed format.", + "type": "boolean" + } + } + }, + "generationTasks": { + "title": "generationTasks", "type": "object", "required": [ "topology", @@ -277,16 +303,16 @@ "additionalProperties": false, "properties": { "topology": { - "description": "If true, an ietf-network-topology file will be generated.", - "type": "boolean" + "description": "If enabled, an ietf-network-topology file will be generated.", + "$ref": "#/$defs/export" }, "svg": { - "description": "If true, a kml file will be generated.", - "type": "boolean" + "description": "If enabled, a svg file will be generated.", + "$ref": "#/$defs/export" }, "kml": { - "description": "If true, a svg file will be generated.", - "type": "boolean" + "description": "If enabled, a kml file will be generated.", + "$ref": "#/$defs/export" } } }