Commit 76b15813 authored by Kirk Webb's avatar Kirk Webb

Switch to d430 nodes.

parent 201d7394
......@@ -121,7 +121,7 @@ class GLOBALS(object):
OAI_NR_DS = "urn:publicid:IDN+emulab.net:powderteam+ltdataset+OAI-NR"
OAI_NR_IMG = "urn:publicid:IDN+emulab.net+image+PowderTeam:update-nr-image"
OAI_CONF_SCRIPT = "/usr/bin/sudo /opt/oai/phantomnet/bin/config_oai.pl"
PC_HWTYPE = "d740"
PC_HWTYPE = "d430"
SDR_HWTYPE = "sdr"
TENGIG = 10 * 1000 * 1000
......@@ -129,6 +129,7 @@ def connectOAI_DS(node):
# Create remote read-write clone dataset object bound to OAI dataset
bs = request.RemoteBlockstore("ds-%s" % node.name, "/opt/oai-nr")
bs.dataset = GLOBALS.OAI_NR_DS
bs.readonly = False
bs.rwclone = True
# Create link from node to OAI dataset rw clone
......@@ -147,7 +148,7 @@ pc = portal.Context()
#
# Profile parameters.
#
pc.defineParameter("REAL", "Use RF hardware?",
pc.defineParameter("REAL", "Use real RF hardware?",
portal.ParameterType.BOOLEAN, True,
longDescription="Check box to use real hardware for RF. Uncheck for simulated operation.")
pc.defineParameter("FIXED_UE", "Bind to a specific UE",
......@@ -176,7 +177,7 @@ gnb1 = request.RawPC("gnb1")
if params.FIXED_ENB:
gnb1.component_id = params.FIXED_ENB
gnb1.hardware_type = GLOBALS.PC_HWTYPE
gnb1.Desire("site-meb", 1.0)
#gnb1.Desire("site-meb", 1.0)
gnb1.disk_image = GLOBALS.OAI_NR_IMG
connectOAI_DS(gnb1)
......
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