Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
87887e2f
Commit
87887e2f
authored
Jun 29, 2012
by
Jonathon Duerig
Browse files
Add a new 'routable_control_ip' virt_node_attribute when requested.
parent
02fd1bcd
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniCM.pm.in
View file @
87887e2f
...
...
@@ -1320,6 +1320,19 @@ sub GetTicketAuxAux($$$$$$$$$)
goto
bad
;
}
#
If
the
user
wants
a
routable
control
IP
,
add
this
into
the
database
.
my
@
routable_control_ip
=
GeniXML
::
FindNodesNS
(
"n:routable_control_ip"
,
$
ref
,
$
GeniXML
::
EMULAB_NS
)->
get_nodelist
();
if
(
scalar
(@
routable_control_ip
)
>
0
)
{
$
virtexperiment
->
NewTableRow
(
"virt_node_attributes"
,
{
"vname"
=>
$
node_nickname
,
"attrkey"
=>
"routable_control_ip"
,
"attrvalue"
=>
"true"
});
}
$
virtexperiment
->
NewTableRow
(
"virt_node_desires"
,
{
"vname"
=>
$
node_nickname
,
"desire"
=>
"pcshared"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment