Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
112
Issues
112
List
Boards
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
89fa1e79
Commit
89fa1e79
authored
Apr 18, 2008
by
David Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugs.
parent
1f851531
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
tbsetup/plab/libplab.py.in
tbsetup/plab/libplab.py.in
+4
-4
No files found.
tbsetup/plab/libplab.py.in
View file @
89fa1e79
...
...
@@ -469,7 +469,7 @@ class Plab:
raise
# figure out how we're supposed to create this slice
slice_create_method
=
plc
.
getAttr
(
'slice_create_method'
)
slice_create_method
=
plc
.
getAttr
Val
(
'slice_create_method'
)
if
not
slice_create_method
or
slice_create_method
==
''
:
slice_create_method
=
'singlesite'
pass
...
...
@@ -1949,12 +1949,12 @@ class EmulabPlcObjTranslator:
return
qres
[
0
]
def
getPlabName
(
self
,
objtype
,
id
):
(
id
,
name
)
=
self
.
__checkMapBy
PlabName
(
objtype
,
id
)
(
id
,
name
)
=
self
.
__checkMapBy
ElabId
(
objtype
,
id
)
return
name
def
getPlabId
(
self
,
objtype
,
id
):
(
id
,
name
)
=
self
.
__checkMapBy
PlabName
(
objtype
,
id
)
(
id
,
name
)
=
self
.
__checkMapBy
ElabId
(
objtype
,
id
)
return
id
def
syncObject
(
self
,
objtype
,
objid
):
...
...
@@ -3354,7 +3354,7 @@ class Node:
# have to set us up with root before anything else
try
:
self
.
__copy
(
DEFAULT_DATA_PATH
+
"/fixsudo.sh"
,
"/tmp/fixsudo.sh"
,
tries
=
3
,
interval
=
5
)
tries
=
6
,
interval
=
1
5
)
self
.
__perform
(
"-tt sh /tmp/fixsudo.sh"
,
quiet
=
True
,
tries
=
3
,
interval
=
5
)
pass
...
...
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