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
17fdcd50
Commit
17fdcd50
authored
Mar 26, 2008
by
David Johnson
Browse files
Fix little bugs in new synch-with-plc code.
parent
1059bfd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/plab/libplab.py.in
View file @
17fdcd50
...
...
@@ -277,7 +277,7 @@ class XmlrpcNodeInfoFetcher:
pass
def
getPlabNodeInfo
(
self
):
def
getPlabNodeInfo
(
self
,
ignoreErrors
=
True
):
nif
=
[
'nodenetwork_ids'
,
'boot_status'
,
'hostname'
,
'site_id'
,
'node_id'
]
ni
=
self
.
agent
.
getNodes
(
outfilter
=
nif
)
...
...
@@ -718,10 +718,10 @@ class Plab:
# Check for duplicate node attributes (sanity check)
availdups
=
self
.
__findDuplicateAttrs
(
avail
)
if
len
(
availdups
):
SENDMAIL
(
TBOPS
,
"Duplicates in %s advertised node list"
,
SENDMAIL
(
TBOPS
,
"Duplicates in %s advertised node list"
%
plc
.
name
,
"Duplicate attributes:
\n
"
"%s
\n\n
"
"Let plab support know!"
%
(
plc
.
name
,
availdups
)
,
"Let plab support know!"
%
availdups
,
TBOPS
)
raise
RuntimeError
,
\
"Duplicate attributes in plab node listing:
\n
%s"
%
availdups
...
...
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