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
41d7c5b0
Commit
41d7c5b0
authored
Apr 13, 2008
by
David Johnson
Browse files
Propagate debug values.
parent
3e705a0f
Changes
4
Hide whitespace changes
Inline
Side-by-side
tbsetup/plab/plabdiscover.in
View file @
41d7c5b0
...
...
@@ -28,6 +28,9 @@ def main(args):
(
options
,
cargs
)
=
parser
.
parse_args
()
libplab
.
debug
=
options
.
debug
libplab
.
verbose
=
options
.
verbose
both
=
True
if
options
.
nodes
and
options
.
nodegroups
:
both
=
True
...
...
tbsetup/plab/plabnode.in
View file @
41d7c5b0
...
...
@@ -58,6 +58,9 @@ def main(args):
# parse command line options
opts
,
args
=
parser
.
parse_args
(
args
[
1
:])
libplab
.
debug
=
opts
.
debug
libplab
.
verbose
=
opts
.
verbose
slicename
=
None
# make sure we were told what to do on the command line.
if
len
(
args
)
==
3
:
...
...
tbsetup/plab/plabrenewd.in
View file @
41d7c5b0
...
...
@@ -25,6 +25,9 @@ def main(args):
parser
=
TBParser
()
opts
,
args
=
parser
.
parse_args
(
args
[
1
:])
libplab
.
debug
=
opts
.
debug
libplab
.
verbose
=
opts
.
verbose
plab
=
libplab
.
Plab
()
daemon
=
pydaemon
(
pydaemon
.
SYSLOG
)
...
...
tbsetup/plab/plabslice.in
View file @
41d7c5b0
...
...
@@ -40,6 +40,9 @@ def main(args):
pid
,
eid
=
None
,
None
(
opts
,
args
)
=
parser
.
parse_args
()
libplab
.
debug
=
opts
.
debug
libplab
.
verbose
=
opts
.
verbose
if
len
(
args
)
==
2
:
command
,
slicename
=
args
...
...
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