1. References

https://open5gs.org/open5gs/docs/guide/01-quickstart/

2. jFed and Fed4FIRE+ account

Register for a jfed account at the following URL. 

https://portal.fed4fire.eu/

3. Download jFed Framework

Download jFed client software to run the RSPEC file in the next section

https://jfed.ilabt.imec.be/downloads/ 

4. Rspec for Open5GS Core

<?xml version='1.0'?>
<rspec xmlns="http://www.geni.net/resources/rspec/3" type="request" generated_by="jFed RSpec Editor" generated="2021-04-20T11:50:02.287+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="Open5GS" exclusive="false" component_manager_id="urn:publicid:IDN+iris-open-testbed.connectcentre.ie+authority+am">
    <sliver_type name="vm">
      <disk_image name="urn:publicid:IDN+iris-open-testbed.connectcentre.ie+image+ubuntu-20.04-server"/>
      <flavor_type xmlns="http://iris-testbed.connectcentre.ie/rspec/ext/openstack/1" name="m1.oai.performance.7cpu-any.25gb-ram-100gb"/>
    </sliver_type>
    <location xmlns="http://jfed.iminds.be/rspec/ext/jfed/1" x="415.0" y="173.0"/>
  </node>
</rspec>

 5. Jfed

 

restart.sh script

#!/bin/bash
sudo systemctl restart open5gs-mmed
sleep 2
sudo systemctl restart open5gs-sgwcd
sleep 2
sudo systemctl restart open5gs-smfd
sleep 2
sudo systemctl restart open5gs-amfd
sleep 2
sudo systemctl restart open5gs-sgwud
sleep 2
sudo systemctl restart open5gs-upfd
sleep 2
sudo systemctl restart open5gs-hssd
sleep 2
sudo systemctl restart open5gs-pcrfd
sleep 2
sudo systemctl restart open5gs-nrfd
sleep 2
sudo systemctl restart open5gs-ausfd
sleep 2
sudo systemctl restart open5gs-udmd
sleep 2
sudo systemctl restart open5gs-pcfd
sleep 2
sudo systemctl restart open5gs-nssfd
sleep 2
sudo systemctl restart open5gs-udrd
sleep 2
sudo systemctl restart open5gs-webui

To Execute:

chmod +x restart.sh