aboutsummaryrefslogtreecommitdiffstats
path: root/ransim/docker
diff options
context:
space:
mode:
Diffstat (limited to 'ransim/docker')
-rw-r--r--ransim/docker/.env2
-rwxr-xr-x[-rw-r--r--]ransim/docker/config/db/db.sh0
-rw-r--r--ransim/docker/config/db/ransim_schema.sql369
-rw-r--r--ransim/docker/config/ransim/gNBCUConfig.json772
-rw-r--r--ransim/docker/config/ransim/gNBCUConfig_1NSSAI.json472
-rw-r--r--ransim/docker/config/ransim/jssecacertsbin0 -> 161770 bytes
-rw-r--r--ransim/docker/config/ransim/ransim.properties5
-rw-r--r--ransim/docker/docker-compose.yml10
-rw-r--r--ransim/docker/ransim-docker/Dockerfile35
-rwxr-xr-x[-rw-r--r--]ransim/docker/ransim-docker/do-start.sh0
-rwxr-xr-x[-rw-r--r--]ransim/docker/ransim-docker/docker-install.sh0
-rwxr-xr-x[-rw-r--r--]ransim/docker/ransim-docker/wait-for-port.sh0
12 files changed, 1640 insertions, 25 deletions
diff --git a/ransim/docker/.env b/ransim/docker/.env
deleted file mode 100644
index 0916ff2..0000000
--- a/ransim/docker/.env
+++ /dev/null
@@ -1,2 +0,0 @@
-PRELOAD_POLICIES=true
-
diff --git a/ransim/docker/config/db/db.sh b/ransim/docker/config/db/db.sh
index 4f988be..4f988be 100644..100755
--- a/ransim/docker/config/db/db.sh
+++ b/ransim/docker/config/db/db.sh
diff --git a/ransim/docker/config/db/ransim_schema.sql b/ransim/docker/config/db/ransim_schema.sql
new file mode 100644
index 0000000..2212253
--- /dev/null
+++ b/ransim/docker/config/db/ransim_schema.sql
@@ -0,0 +1,369 @@
+CREATE USER 'uroot'@'%' IDENTIFIED BY 'psecret';
+CREATE SCHEMA IF NOT EXISTS `ransim_db` DEFAULT CHARACTER SET utf8 ;
+USE `ransim_db` ;
+grant all privileges on ransim_db.* TO 'uroot'@'%' identified by 'psecret';
+flush privileges;
+drop table if exists nearrtric;
+drop table if exists gnbcucpfunction;
+drop table if exists gnbcuupfunction;
+drop table if exists gnbdufunction;
+drop table if exists nrcellcu;
+drop table if exists nrcelldu;
+drop table if exists raninventory;
+drop table if exists rrmpolicyratio;
+drop table if exists rrmpolicymember;
+drop table if exists tacells;
+drop table if exists sliceprofile;
+drop table if exists plmninfo;
+drop table if exists trackingarea;
+drop table if exists rannfnssi;
+drop table if exists nssai;
+drop table if exists rannssi;
+
+-- -----------------------------------------------------
+-- Table `ransim_db`.`cell`
+-- -----------------------------------------------------
+CREATE TABLE IF NOT EXISTS `ransim_db`.`cell`(
+ `cell_id` varchar(45) NOT NULL,
+ `last_modifiedts` datetime(6) NOT NULL,
+ `location` varchar(200) DEFAULT NULL,
+ `network_id` varchar(45) NOT NULL,
+ `notes` varchar(255) DEFAULT NULL,
+ `pci_value` bigint(20) NOT NULL,
+ `pnf_id` varchar(255) NOT NULL,
+ PRIMARY KEY (`cell_id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+-- -----------------------------------------------------
+-- Table `ransim_db`.`cell_nbr_info`
+-- -----------------------------------------------------
+CREATE TABLE IF NOT EXISTS `ransim_db`.`cell_nbr_info`(
+ `cell_id` varchar(45) NOT NULL,
+ `target_cell_id` varchar(45) NOT NULL,
+ `ho` bit(1) NOT NULL,
+ PRIMARY KEY (`cell_id`,`target_cell_id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+-- Guilin - Slicing Usecase
+-- -----------------------------------------------------
+-- Table `ransim_db`.`nearrtric`
+-- -----------------------------------------------------
+create table nearrtric (
+ nearrtricid integer not null,
+ gnbid integer,
+ resourcetype varchar(255),
+ primary key (nearrtricid)
+ ) engine=InnoDB;
+-- -----------------------------------------------------
+-- Table `ransim_db`.`trackingarea`
+-- -----------------------------------------------------
+create table trackingarea (
+ nearrtricid integer not null,
+ tracking_area varchar(255)
+ ) engine=InnoDB;
+-- -----------------------------------------------------
+-- Table `ransim_db`.`rannfnssi`
+-- -----------------------------------------------------
+ create table rannfnssi (
+ nearrtricid integer not null,
+ rannfnssilist varchar(255)
+ ) engine=InnoDB;
+-- -----------------------------------------------------
+-- Table `ransim_db`.`nssai`
+-- -----------------------------------------------------
+create table nssai (
+ rannfnssiid varchar(255) not null,
+ nssailist varchar(255)
+ ) engine=InnoDB;
+-- -----------------------------------------------------
+-- Table `ransim_db`.`gnbcucpfunction`
+-- -----------------------------------------------------
+create table gnbcucpfunction (
+ gnbcuname varchar(255) not null,
+ gnbid integer,
+ gnbidlength integer,
+ nftype varchar(255),
+ plmnid varchar(255),
+ nearrtricid integer,
+ primary key (gnbcuname)
+ ) engine=InnoDB;
+-- -----------------------------------------------------
+-- Table `ransim_db`.`gnbcuupfunction`
+-- -----------------------------------------------------
+create table gnbcuupfunction (
+ gnbcuupid integer not null,
+ gnbid integer,
+ gnbidlength integer,
+ resourcetype varchar(255),
+ nearrtricid integer,
+ primary key (gnbcuupid)
+ ) engine=InnoDB;
+-- -----------------------------------------------------
+-- Table `ransim_db`.`gnbdufunction`
+-- -----------------------------------------------------
+create table gnbdufunction (
+ gnbduid integer not null,
+ gnbduname varchar(255),
+ gnbid integer,
+ gnbidlength integer,
+ nftype varchar(255),
+ plmnid varchar(255),
+ nearrtricid integer,
+ primary key (gnbduid)
+ ) engine=InnoDB;
+-- -----------------------------------------------------
+-- Table `ransim_db`.`nrcellcu`
+-- -----------------------------------------------------
+create table nrcellcu (
+ celllocalid integer not null,
+ gnbcuname varchar(255),
+ resourcetype varchar(255),
+ primary key (celllocalid)
+ ) engine=InnoDB;
+-- -----------------------------------------------------
+-- Table `ransim_db`.`nrcelldu`
+-- -----------------------------------------------------
+create table nrcelldu (
+ celllocalid integer not null,
+ administrativestate varchar(255),
+ resourcetype varchar(255),
+ cellstate varchar(255),
+ nrpci integer,
+ nrtac integer,
+ operationalstate varchar(255),
+ gnbduid integer,
+ primary key (celllocalid)
+ ) engine=InnoDB;
+-- -----------------------------------------------------
+-- Table `ransim_db`.`raninventory`
+-- -----------------------------------------------------
+create table raninventory (
+ rannfnssiid varchar(255) not null,
+ isshareable varchar(255),
+ nsstid varchar(255),
+ slicetype varchar(255),
+ subnetstatus varchar(255),
+ talist varchar(500),
+ primary key (rannfnssiid)
+ ) engine=InnoDB;
+-- -----------------------------------------------------
+-- Table `ransim_db`.`rannssi`
+-- -----------------------------------------------------
+create table rannssi (
+ rannfnssiid varchar(255) not null,
+ rannssilist varchar(255)
+ ) engine=InnoDB;
+-- -----------------------------------------------------
+-- Table `ransim_db`.`rrmpolicyratio`
+-- -----------------------------------------------------
+create table rrmpolicyratio (
+ rrmpolicyid integer not null,
+ quotatype varchar(255),
+ rrmpolicydedicatedratio integer,
+ rrmpolicymaxratio integer,
+ rrmpolicyminratio integer,
+ resourceid varchar(255),
+ resourcetype varchar(255),
+ slicetype varchar(255),
+ primary key (rrmpolicyid)
+ ) engine=InnoDB;
+-- -----------------------------------------------------
+-- Table `ransim_db`.`rrmpolicymember`
+-- -----------------------------------------------------
+create table rrmpolicymember (
+ plmnid varchar(255) not null,
+ snssai varchar(255) not null,
+ rrm_policy_rrmpolicyid integer,
+ primary key (plmnid, snssai)
+ ) engine=InnoDB;
+-- -----------------------------------------------------
+-- Table `ransim_db`.`tacells`
+-- -----------------------------------------------------
+create table tacells (
+ trackingarea varchar(255) not null,
+ cells varchar(255),
+ primary key (trackingarea)
+ ) engine=InnoDB;
+-- -----------------------------------------------------
+-- Table `ransim_db`.`plmninfo`
+-- -----------------------------------------------------
+create table plmninfo (
+ plmnid varchar(255) not null,
+ globalSubscriberId varchar(255),
+ snssai varchar(255),
+ status varchar(255),
+ subscriptionServiceType varchar(255),
+ gnbcuupid integer,
+ nrcellcu_celllocalid integer,
+ nrcelldu_celllocalid integer,
+ nearrtricid integer,
+ uLThptPerSlice integer,
+ dLThptPerSlice integer,
+ maxNumberOfConns integer,
+ lastUpdatedTS TIMESTAMP DEFAULT CURRENT_TIMESTAMP()
+ ) engine=InnoDB;
+-- -----------------------------------------------------
+-- Table `ransim_db`.`sliceprofile`
+-- -----------------------------------------------------
+create table sliceprofile (
+ sliceprofileid varchar(255) not null,
+ coveragearealist varchar(255),
+ ulthptperslice integer,
+ dlthptperslice integer,
+ latency integer,
+ maxnumberofconns integer,
+ maxnoofues integer,
+ plmnidlist varchar(255),
+ resourcesharinglevel varchar(255),
+ snssai varchar(255),
+ uemobilitylevel varchar(255),
+ rannfnssiid varchar(255),
+ primary key (sliceprofileid)
+ ) engine=InnoDB;
+-- -----------------------------------------------------
+--Pre-loaded data
+-- -----------------------------------------------------
+-- tacells
+
+INSERT INTO tacells(trackingarea,cells) VALUES('TA1', '15289,15290,15296,15687,15689,15155,15174,15175');
+INSERT INTO tacells(trackingarea,cells) VALUES('TA2', '15176,15825,15826,15425,15426,13999,14000');
+INSERT INTO tacells(trackingarea,cells) VALUES('TA3', '11561,11562,11568,11569,10896,10897,14655,14656');
+INSERT INTO tacells(trackingarea,cells) VALUES('TA4', '13905,13910,15360,15361,15548,15549,14427');
+
+--nearrtric
+INSERT INTO nearrtric (nearrtricid, gnbid, resourcetype) VALUES(11, 98763, 'NearRTRIC');
+INSERT INTO nearrtric (nearrtricid, gnbid, resourcetype) VALUES(22, 98763, 'NearRTRIC');
+--gnbcucpfunction
+INSERT INTO gnbcucpfunction(gnbcuname, gnbid, gnbidlength, nftype,plmnid,nearrtricid) VALUES('cucpserver1', 98763, 32, 'CUCP', '310-410', 11);
+INSERT INTO gnbcucpfunction(gnbcuname, gnbid, gnbidlength, nftype,plmnid,nearrtricid) VALUES('cucpserver2', 98763, 32, 'CUCP', '310-410',22);
+--gnbcuupfunction
+INSERT INTO gnbcuupfunction(gnbcuupid, gnbid, gnbidlength, resourcetype, nearrtricid) VALUES(1111, 98763, 32, 'DRB', 11);
+INSERT INTO gnbcuupfunction(gnbcuupid, gnbid, gnbidlength, resourcetype, nearrtricid) VALUES(2222, 98763, 32, 'DRB', 22);
+--gnbdufunction
+INSERT INTO gnbdufunction(gnbduid,gnbduname, gnbid, gnbidlength, nftype, plmnid, nearrtricid) VALUES(1,'gnduserver1', 98763, 32, 'DU', '310-410', 11);
+INSERT INTO gnbdufunction(gnbduid,gnbduname, gnbid, gnbidlength, nftype, plmnid, nearrtricid) VALUES(2,'gnduserver2', 98763, 32, 'DU', '310-410', 11);
+INSERT INTO gnbdufunction(gnbduid,gnbduname, gnbid, gnbidlength, nftype, plmnid, nearrtricid) VALUES(3,'gnduserver3', 98763, 32, 'DU', '310-410', 11);
+INSERT INTO gnbdufunction(gnbduid,gnbduname, gnbid, gnbidlength, nftype, plmnid, nearrtricid) VALUES(4,'gnduserver4', 98763, 32, 'DU', '310-410', 22);
+INSERT INTO gnbdufunction(gnbduid,gnbduname, gnbid, gnbidlength, nftype, plmnid, nearrtricid) VALUES(5,'gnduserver5', 98763, 32, 'DU', '310-410', 22);
+INSERT INTO gnbdufunction(gnbduid,gnbduname, gnbid, gnbidlength, nftype, plmnid, nearrtricid) VALUES(6,'gnduserver6', 98763, 32, 'DU', '310-410', 22);
+--nrcellcu
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(15289,'RRC Connected Users','cucpserver1');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(15290,'RRC Connected Users','cucpserver1');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(15296,'RRC Connected Users','cucpserver1');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(15687,'RRC Connected Users','cucpserver1');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(15689,'RRC Connected Users','cucpserver1');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(15155,'RRC Connected Users','cucpserver1');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(15174,'RRC Connected Users','cucpserver1');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(15175,'RRC Connected Users','cucpserver1');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(15176,'RRC Connected Users','cucpserver1');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(15825,'RRC Connected Users','cucpserver1');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(15826,'RRC Connected Users','cucpserver1');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(15425,'RRC Connected Users','cucpserver1');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(15426,'RRC Connected Users','cucpserver1');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(13999,'RRC Connected Users','cucpserver1');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(14000,'RRC Connected Users','cucpserver1');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(11561,'RRC Connected Users','cucpserver2');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(11562,'RRC Connected Users','cucpserver2');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(11568,'RRC Connected Users','cucpserver2');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(11569,'RRC Connected Users','cucpserver2');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(10896,'RRC Connected Users','cucpserver2');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(10897,'RRC Connected Users','cucpserver2');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(14655,'RRC Connected Users','cucpserver2');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(14656,'RRC Connected Users','cucpserver2');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(13905,'RRC Connected Users','cucpserver2');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(13910,'RRC Connected Users','cucpserver2');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(15360,'RRC Connected Users','cucpserver2');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(15361,'RRC Connected Users','cucpserver2');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(15548,'RRC Connected Users','cucpserver2');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(15549,'RRC Connected Users','cucpserver2');
+
+INSERT INTO nrcellcu(celllocalId,resourcetype,gnbcuname) VALUES(14427,'RRC Connected Users','cucpserver2');
+
+--nrcelldu
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(15289,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',1);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(15290,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',1);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(15296,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',1);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(15687,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',1);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(15689,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',1);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(15155,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',2);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(15174,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',2);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(15175,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',2);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(15176,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',2);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(15825,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',2);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(15826,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',3);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(15425,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',3);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(15426,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',3);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(13999,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',3);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(14000,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',3);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(11561,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',4);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(11562,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',4);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(11568,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',4);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(11569,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',4);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(10896,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',4);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(10897,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',5);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(14655,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',5);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(14656,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',5);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(13905,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',5);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(13910,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',5);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(15360,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',6);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(15361,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',6);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(15548,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',6);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(15549,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',6);
+
+INSERT INTO nrcelldu(celllocalId,resourcetype,administrativestate,cellstate, nrpci, nrtac, operationalstate,gnbduid) VALUES(14427,'PRB','UNLOCKED','ACTIVE',12,310,'ENABLED',6);
+
diff --git a/ransim/docker/config/ransim/gNBCUConfig.json b/ransim/docker/config/ransim/gNBCUConfig.json
new file mode 100644
index 0000000..171239f
--- /dev/null
+++ b/ransim/docker/config/ransim/gNBCUConfig.json
@@ -0,0 +1,772 @@
+[
+ {
+ "gNBCUName": "cucpserver1",
+ "gNBId": 98763,
+ "gNBIdLength": 32,
+ "pLMNId": "310-410",
+ "nFType": "CUCP",
+ "nearRTRICId": 11,
+ "cellCUList": [
+ {
+ "cellLocalId": 15289,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15290,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15296,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15687,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15689,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15155,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15174,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15175,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15176,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15825,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15826,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15425,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15426,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 13999,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 14000,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "gNBCUName": "cucpserver2",
+ "gNBId": 98763,
+ "gNBIdLength": 32,
+ "pLMNId": "310-410",
+ "nFType": "CUCP",
+ "nearRTRICId": 22,
+ "cellCUList": [
+ {
+ "cellLocalId": 11561,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 11562,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 11568,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 11569,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 10896,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 10897,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 14655,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 14656,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 13905,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 13910,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15360,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15361,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15548,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15549,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 14427,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ },
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ }
+ ]
+ }
+]
diff --git a/ransim/docker/config/ransim/gNBCUConfig_1NSSAI.json b/ransim/docker/config/ransim/gNBCUConfig_1NSSAI.json
new file mode 100644
index 0000000..1e38eef
--- /dev/null
+++ b/ransim/docker/config/ransim/gNBCUConfig_1NSSAI.json
@@ -0,0 +1,472 @@
+[
+ {
+ "gNBCUName": "cucpserver1",
+ "gNBId": 98763,
+ "gNBIdLength": 5,
+ "pLMNId": "310-410",
+ "nFType": "CUCP",
+ "nearRTRICId": 11,
+ "cellCUList": [
+ {
+ "cellLocalId": 15289,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15290,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15296,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15687,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15689,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15155,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15174,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15175,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15176,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15825,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15826,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15425,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15426,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 13999,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 14000,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "gNBCUName": "cucpserver2",
+ "gNBId": 98763,
+ "gNBIdLength": 5,
+ "pLMNId": "310-410",
+ "nFType": "CUCP",
+ "nearRTRICId": 22,
+ "cellCUList": [
+ {
+ "cellLocalId": 11561,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 11562,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 11568,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 11569,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 10896,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 10897,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 14655,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0011-0010",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 4500
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 14656,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 13905,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 13910,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15360,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15361,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15548,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 15549,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ }
+ ]
+ },
+ {
+ "cellLocalId": 14427,
+ "pLMNInfoList": [
+ {
+ "pLMNId": "310-410",
+ "sNSSAI": {
+ "sNSSAI": "0010-1110",
+ "status": "ACTIVE",
+ "configData": {
+ "maxNumberOfConns": 6000
+ }
+ }
+ }
+ ]
+ }
+ ]
+ }
+]
diff --git a/ransim/docker/config/ransim/jssecacerts b/ransim/docker/config/ransim/jssecacerts
new file mode 100644
index 0000000..2232b4c
--- /dev/null
+++ b/ransim/docker/config/ransim/jssecacerts
Binary files differ
diff --git a/ransim/docker/config/ransim/ransim.properties b/ransim/docker/config/ransim/ransim.properties
index f6723dc..3be141a 100644
--- a/ransim/docker/config/ransim/ransim.properties
+++ b/ransim/docker/config/ransim/ransim.properties
@@ -4,10 +4,5 @@ numberOfProcessPerMc=25
numberOfMachines=5
GridSize=1
strictValidateRansimAgentsAvailability=false
-sdnrServerIp=10.31.1.79
-sdnrServerPort=30202
-sdnrServerUserid=admin
-sdnrServerPassword=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
maxPciValueAllowed=503
-dumpFileName=/tmp/ransim-install/config/latestDump.json
diff --git a/ransim/docker/docker-compose.yml b/ransim/docker/docker-compose.yml
index eb9b776..6c5c2ba 100644
--- a/ransim/docker/docker-compose.yml
+++ b/ransim/docker/docker-compose.yml
@@ -3,7 +3,7 @@ networks:
default:
driver: bridge
driver_opts:
- com.docker.network.driver.mtu: ${MTU}
+ com.docker.network.driver.mtu: 1400
services:
mariadb:
image: 'mariadb:10.0.34'
@@ -20,9 +20,15 @@ services:
ransim:
image: 'onap/ransim:1.0.0-SNAPSHOT'
container_name: ransim
- hostname: ransimsvr
+ environment:
+ - SDNR_IP=10.31.4.51
+ - SDNR_PORT=30267
+ - SDNR_USER=admin
+ - SDNR_PASSWORD=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
+ hostname: ransim
ports:
- '8081:8081'
command: ransim
volumes:
- './config/ransim:/tmp/ransim-install/config'
+ - './config/ransim/jssecacerts:/tmp/cert/jssecacerts'
diff --git a/ransim/docker/ransim-docker/Dockerfile b/ransim/docker/ransim-docker/Dockerfile
index a576c92..b139fef 100644
--- a/ransim/docker/ransim-docker/Dockerfile
+++ b/ransim/docker/ransim-docker/Dockerfile
@@ -1,4 +1,4 @@
-FROM ubuntu:14.04
+FROM ubuntu:18.04
ARG HTTP_PROXY=${HTTP_PROXY}
ARG HTTPS_PROXY=${HTTPS_PROXY}
@@ -7,26 +7,27 @@ ENV http_proxy $HTTP_PROXY
ENV https_proxy $HTTPS_PROXY
RUN \
- apt-get clean && \
- apt-get update && \
- apt-get install -y zip unzip curl wget ssh telnet maven && \
- apt-get install -y software-properties-common && \
- apt-get install -y jq httpie && \
- apt-get install -y python-pip && \
- add-apt-repository ppa:openjdk-r/ppa && \
- apt-get clean && \
- apt-get update && \
- apt-get install -y openjdk-8-jdk
+apt-get clean && \
+apt-get update && \
+apt-get install -y zip unzip curl wget ssh telnet maven && \
+apt-get install -y software-properties-common && \
+apt-get install -y jq httpie && \
+apt-get install -y python-pip && \
+apt-get install -y vim && \
+add-apt-repository ppa:openjdk-r/ppa && \
+apt-get clean && \
+apt-get update && \
+apt-get install -y openjdk-8-jdk
RUN useradd --create-home --shell /bin/bash policy
RUN \
apt-get install -y apt-transport-https && \
- apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db && \
- add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu trusty main' && \
- apt-get clean && \
- apt-get update && \
- apt-get install -y mariadb-client
+apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8 && \
+add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.4/ubuntu bionic main' && \
+apt-get clean && \
+apt-get update && \
+apt-get install -y mariadb-client
RUN mkdir -p /opt/app/policy /tmp/ransim-install && chown policy /opt/app/policy /tmp/ransim-install
@@ -39,3 +40,5 @@ USER policy
ENTRYPOINT [ "bash", "./do-start.sh" ]
+
+
diff --git a/ransim/docker/ransim-docker/do-start.sh b/ransim/docker/ransim-docker/do-start.sh
index ec1f601..ec1f601 100644..100755
--- a/ransim/docker/ransim-docker/do-start.sh
+++ b/ransim/docker/ransim-docker/do-start.sh
diff --git a/ransim/docker/ransim-docker/docker-install.sh b/ransim/docker/ransim-docker/docker-install.sh
index cbfe0b1..cbfe0b1 100644..100755
--- a/ransim/docker/ransim-docker/docker-install.sh
+++ b/ransim/docker/ransim-docker/docker-install.sh
diff --git a/ransim/docker/ransim-docker/wait-for-port.sh b/ransim/docker/ransim-docker/wait-for-port.sh
index 10f08de..10f08de 100644..100755
--- a/ransim/docker/ransim-docker/wait-for-port.sh
+++ b/ransim/docker/ransim-docker/wait-for-port.sh