Commit 26c82b02 authored by Kirk Webb's avatar Kirk Webb

Add node type parameter.

parent f01cfc0b
......@@ -154,6 +154,9 @@ pc.defineParameter("REAL", "Use real RF hardware?",
pc.defineParameter("RDSET", "Attach OAI source remote dataset",
portal.ParameterType.BOOLEAN, True,
longDescription="Check box to attach the OAI source code remote dataset to each node.")
pc.defineParameter("NTYPE", "Node type",
portal.ParameterType.STRING, "d430", ["d430","xl170"],
longDescription="Select the type of node to use.")
pc.defineParameter("FIXED_UE", "Bind to a specific SDR device for UE",
portal.ParameterType.STRING, "", advanced=True,
longDescription="Input the name of an SDR device to allocate (e.g., \'pnbase1\'). Leave blank to let the mapping algorithm choose.")
......@@ -177,7 +180,7 @@ request = pc.makeRequestRSpec()
# Add gNB PC.
gnb1 = request.RawPC("gnb1")
gnb1.hardware_type = GLOBALS.PC_HWTYPE
gnb1.hardware_type = params.NTYPE
#gnb1.Desire("site-meb", 1.0)
gnb1.disk_image = GLOBALS.OAI_NR_IMG
if params.RDSET:
......@@ -186,7 +189,7 @@ gnb1.Blockstore("gnb1_lbs", "/mybs").size = "10GB"
# Add NR-UE PC.
rue1 = request.RawPC("rue1")
rue1.hardware_type = GLOBALS.PC_HWTYPE
rue1.hardware_type = params.NTYPE
#rue1.Desire("site-meb", 1.0)
rue1.disk_image = GLOBALS.OAI_NR_IMG
if params.RDSET:
......
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