Commit 1f2d6878 authored by Rahman's avatar Rahman

use sudo

parent ba3e8bc0
...@@ -181,7 +181,7 @@ RUs = ( ...@@ -181,7 +181,7 @@ RUs = (
nb_rx = 1 nb_rx = 1
att_tx = 0 att_tx = 0
att_rx = 0; att_rx = 0;
bands = [4]; # was 7. bands = [7];
max_pdschReferenceSignalPower = -27; max_pdschReferenceSignalPower = -27;
max_rxgain = 125; max_rxgain = 125;
eNB_instances = [0]; eNB_instances = [0];
......
...@@ -127,9 +127,9 @@ enb1.hardware_type = GLOBALS.PC_HWTYPE ...@@ -127,9 +127,9 @@ enb1.hardware_type = GLOBALS.PC_HWTYPE
enb1.disk_image = GLOBALS.PC_IMG enb1.disk_image = GLOBALS.PC_IMG
connectOAI_DS(enb1) connectOAI_DS(enb1)
enb1.addService(rspec.Execute(shell="sh", command="/usr/bin/sudo /local/repository/irishost_start.sh")) enb1.addService(rspec.Execute(shell="sh", command="/usr/bin/sudo /local/repository/irishost_start.sh"))
enb1.addService(rspec.Execute(shell="sh", command="cd /opt/oai/openairinterface5g; git checkout iris_hw_new")) enb1.addService(rspec.Execute(shell="sh", command="cd /opt/oai/openairinterface5g; /usr/bin/sudo git checkout iris_hw_new"))
enb1.addService(rspec.Execute(shell="sh", command="source oaienv; cd cmake_targets;")) enb1.addService(rspec.Execute(shell="sh", command="source oaienv; cd cmake_targets;"))
enb1.addService(rspec.Execute(shell="sh", command="./build_oai -w IRIS -x --eNB")) enb1.addService(rspec.Execute(shell="sh", command="/usr/bin/sudo ./build_oai -w IRIS -x --eNB"))
ifpc1ir1 = enb1.addInterface("pc1ir1", rspec.IPv4Address("192.168.1.1", "255.255.255.0")) ifpc1ir1 = enb1.addInterface("pc1ir1", rspec.IPv4Address("192.168.1.1", "255.255.255.0"))
enb1.addService(rspec.Execute(shell="sh", command=GLOBALS.OAI_CONF_SCRIPT + " -r ENB")) enb1.addService(rspec.Execute(shell="sh", command=GLOBALS.OAI_CONF_SCRIPT + " -r ENB"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment