Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
af1485d5
Commit
af1485d5
authored
May 17, 2006
by
Mike Hibler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More gracefully handle a missing inner plab PLC or inner elab boss node.
parent
37d2649e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
db/dhcpd_makeconf.in
db/dhcpd_makeconf.in
+6
-2
No files found.
db/dhcpd_makeconf.in
View file @
af1485d5
...
...
@@ -226,14 +226,18 @@ while (<IF>) {
$node_id
=
$row
{"
node_id
"};
}
if
(
defined
(
$row
{"
pid
"})
&&
my
$tag
;
if
(
defined
(
$row
{"
pid
"}))
{
$tag
=
$row
{"
pid
"}
.
"
:
"
.
$row
{"
eid
"};
}
if
(
defined
(
$tag
)
&&
defined
(
$servernodes
{
$tag
})
&&
((
$row
{"
inner_elab_boot
"}
==
1
&&
defined
(
$row
{"
inner_elab_role
"})
&&
$row
{"
inner_elab_role
"}
eq
"
node
")
||
(
$row
{"
plab_boot
"}
==
1
&&
defined
(
$row
{"
plab_role
"})
&&
$row
{"
plab_role
"}
eq
"
node
")))
{
my
$tag
=
$row
{"
pid
"}
.
"
:
"
.
$row
{"
eid
"};
#
# XXX it is not yet completely clear what all we
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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