예제 #1
0
#  DRL-5G-Scheduler; Author: Zhouyou Gu ([email protected]);
#  Supervisors: Wibowo Hardjawana; Branka Vucetic;
#  This project is developed at Centre for IoT and Telecommunications at The University of Sydney,
#  under a project directly funded by Telstra Corporation Ltd., titled
#  ”Development of an Open Programmable Scheduler for LTE Networks”, from 2018 to 2019.
#  Reference: Z. Gu, C. She, W. Hardjawana, S. Lumb, D. McKechnie, T. Essery, and B. Vucetic,
#   “Knowledge-assisted deep reinforcement learning in 5G scheduler design:
#  From theoretical framework to implementation,” IEEE JSAC., to appear, 2021

from edge_ctrl_src.edge import Edge
from edge_ctrl_src.edge_config import edge_config

e = Edge(0, edge_config)
e.run_one_sudo_command('echo hello')
e.run_one_no_sudo_command('echo hello')
#  DRL-5G-Scheduler; Author: Zhouyou Gu ([email protected]);
#  Supervisors: Wibowo Hardjawana; Branka Vucetic;
#  This project is developed at Centre for IoT and Telecommunications at The University of Sydney,
#  under a project directly funded by Telstra Corporation Ltd., titled
#  ”Development of an Open Programmable Scheduler for LTE Networks”, from 2018 to 2019.
#  Reference: Z. Gu, C. She, W. Hardjawana, S. Lumb, D. McKechnie, T. Essery, and B. Vucetic,
#   “Knowledge-assisted deep reinforcement learning in 5G scheduler design:
#  From theoretical framework to implementation,” IEEE JSAC., to appear, 2021

import os

from edge_ctrl_src.edge import Edge
from edge_ctrl_src.edge_config import edge_config

e = Edge(0, edge_config)
path = os.path.dirname(os.path.realpath(__file__))

path = os.path.join(path, os.path.pardir)
path = os.path.join(path, os.path.pardir)
path = os.path.abspath(path)
PROJECT_DIR = path

e._create_working_dirs()
e.upload_all_src_file_to_edge(PROJECT_DIR)
예제 #3
0
#  DRL-5G-Scheduler; Author: Zhouyou Gu ([email protected]);
#  Supervisors: Wibowo Hardjawana; Branka Vucetic;
#  This project is developed at Centre for IoT and Telecommunications at The University of Sydney,
#  under a project directly funded by Telstra Corporation Ltd., titled
#  ”Development of an Open Programmable Scheduler for LTE Networks”, from 2018 to 2019.
#  Reference: Z. Gu, C. She, W. Hardjawana, S. Lumb, D. McKechnie, T. Essery, and B. Vucetic,
#   “Knowledge-assisted deep reinforcement learning in 5G scheduler design:
#  From theoretical framework to implementation,” IEEE JSAC., to appear, 2021

from edge_ctrl_src.edge import Edge
from edge_ctrl_src.edge_config import edge_config

e = Edge(0, edge_config)
# e._run_enb(100000)
e.run_edge(100000)
#  DRL-5G-Scheduler; Author: Zhouyou Gu ([email protected]);
#  Supervisors: Wibowo Hardjawana; Branka Vucetic;
#  This project is developed at Centre for IoT and Telecommunications at The University of Sydney,
#  under a project directly funded by Telstra Corporation Ltd., titled
#  ”Development of an Open Programmable Scheduler for LTE Networks”, from 2018 to 2019.
#  Reference: Z. Gu, C. She, W. Hardjawana, S. Lumb, D. McKechnie, T. Essery, and B. Vucetic,
#   “Knowledge-assisted deep reinforcement learning in 5G scheduler design:
#  From theoretical framework to implementation,” IEEE JSAC., to appear, 2021

from edge_ctrl_src.edge import Edge
from edge_ctrl_src.edge_config import edge_config

e = Edge(0, edge_config)
e.sync_global_time()
예제 #5
0
#  DRL-5G-Scheduler; Author: Zhouyou Gu ([email protected]);
#  Supervisors: Wibowo Hardjawana; Branka Vucetic;
#  This project is developed at Centre for IoT and Telecommunications at The University of Sydney,
#  under a project directly funded by Telstra Corporation Ltd., titled
#  ”Development of an Open Programmable Scheduler for LTE Networks”, from 2018 to 2019.
#  Reference: Z. Gu, C. She, W. Hardjawana, S. Lumb, D. McKechnie, T. Essery, and B. Vucetic,
#   “Knowledge-assisted deep reinforcement learning in 5G scheduler design:
#  From theoretical framework to implementation,” IEEE JSAC., to appear, 2021

from edge_ctrl_src.edge import Edge
from edge_ctrl_src.edge_config import edge_config

e = Edge(0, edge_config)
e.clean_compilation()
e.sync_global_time()
e.sync_global_time()
e.compile()
# # e._compile_enb()
예제 #6
0
 def __init__(self, id, config):
     Edge.__init__(self, id, config)
예제 #7
0
#  DRL-5G-Scheduler; Author: Zhouyou Gu ([email protected]);
#  Supervisors: Wibowo Hardjawana; Branka Vucetic;
#  This project is developed at Centre for IoT and Telecommunications at The University of Sydney,
#  under a project directly funded by Telstra Corporation Ltd., titled
#  ”Development of an Open Programmable Scheduler for LTE Networks”, from 2018 to 2019.
#  Reference: Z. Gu, C. She, W. Hardjawana, S. Lumb, D. McKechnie, T. Essery, and B. Vucetic,
#   “Knowledge-assisted deep reinforcement learning in 5G scheduler design:
#  From theoretical framework to implementation,” IEEE JSAC., to appear, 2021

from edge_ctrl_src.edge import Edge
from edge_ctrl_src.edge_config import edge_config

e = Edge(0, edge_config)
e.reboot()