Advanced SDR - srsLTE

Copy and paste the following RSPEC and then "Run" the experiment. This will provide the experimenter with two Ubuntu Eoan (19.10) VMs with X310 USRPs connected. The first VM with connected X310 USRP will act as the eNodeB (eNB) and Evolved Packet Core (EPC), while the second VM with connected X310 USRP will act as the UE. These VMs have dedicated CPUs of 3.6GHz to support I/Q sample processing. 

<?xml version='1.0'?>
<rspec xmlns="http://www.geni.net/resources/rspec/3" type="request" generated_by="jFed RSpec Editor" generated="2021-05-06T11:09:27.975+01:00" xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1" xmlns:delay="http://www.protogeni.net/resources/rspec/ext/delay/1" xmlns:jfed-command="http://jfed.iminds.be/rspec/ext/jfed-command/1" xmlns:client="http://www.protogeni.net/resources/rspec/ext/client/1" xmlns:jfed-ssh-keys="http://jfed.iminds.be/rspec/ext/jfed-ssh-keys/1" xmlns:jfed="http://jfed.iminds.be/rspec/ext/jfed/1" xmlns:sharedvlan="http://www.protogeni.net/resources/rspec/ext/shared-vlan/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/request.xsd ">
  <node client_id="enb" exclusive="true" component_manager_id="urn:publicid:IDN+iris-open-testbed.connectcentre.ie+authority+am">
    <sliver_type name="vm-m1.x310_3.6GHz_2cpu_60GB_performance">
      <disk_image name="urn:publicid:IDN+iris-open-testbed.connectcentre.ie+image+srslte"/>
    </sliver_type>
    <location xmlns="http://jfed.iminds.be/rspec/ext/jfed/1" x="296.0" y="164.5"/>
    <interface client_id="enb:eth0">
      <ip address="provider" type="ipv4"/>
    </interface>
    <interface client_id="enb:eth1">
      <ip address="sriov-x310" type="ipv4"/>
    </interface>
  </node>
  <node client_id="ue" exclusive="true" component_manager_id="urn:publicid:IDN+iris-open-testbed.connectcentre.ie+authority+am">
    <sliver_type name="vm-m1.x310_3.6GHz_2cpu_60GB_performance">
      <disk_image name="urn:publicid:IDN+iris-open-testbed.connectcentre.ie+image+srslte"/>
    </sliver_type>
    <location xmlns="http://jfed.iminds.be/rspec/ext/jfed/1" x="295.0" y="102.5"/>
    <interface client_id="ue:eth0">
      <ip address="provider" type="ipv4"/>
    </interface>
    <interface client_id="ue:eth1">
      <ip address="sriov-x310" type="ipv4"/>
    </interface>
  </node>
</rspec>

When the VMs are created, ssh into them. This can be done by Right clicking on the Green VM, and clicking "Open SSH Terminal".

 

 

Now, run sudo apt-get update. This will ensure the Operating System is up to date, and install packages needed for srsLTE. Also Install packages for uhd 

sudo apt-get update

sudo add-apt-repository ppa:ettusresearch/uhd
###press enter

#to support srslte install
sudo apt-get install cmake libfftw3-dev libmbedtls-dev libboost-program-options-dev libconfig++-dev libsctp-dev build-essential libuhd-dev libuhd3.15.0 uhd-host -y

Then run uhd_find_devices command, to make sure there is a USRP connected to the VM. 

Note, you may need to run the FPGA image downloader

sudo /usr/lib/uhd/utils/uhd_images_downloader.py