Skip to content
GitLab
Menu
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
56ee754a
Commit
56ee754a
authored
Jan 12, 2012
by
Yathindra Naik
Browse files
Few more corrections
parent
ea09c085
Changes
2
Hide whitespace changes
Inline
Side-by-side
tbsetup/ns2ir/custom.tcl
View file @
56ee754a
...
...
@@ -18,7 +18,7 @@ namespace eval GLOBALS {
set new_classes
(
Custom
)
{}
}
Progra
m instproc init
{
s
}
{
Custo
m instproc init
{
s
}
{
global ::GLOBALS::last_class
$self set sim $s
...
...
@@ -31,7 +31,7 @@ Program instproc init {s} {
set ::GLOBALS::last_class $self
}
Progra
m instproc rename
{
old new
}
{
Custo
m instproc rename
{
old new
}
{
$self instvar sim
$sim rename_custom $old $new
...
...
@@ -39,7 +39,7 @@ Program instproc rename {old new} {
# updatedb DB
# This adds rows to the virt_trafgens table corresponding to this agent.
Progra
m instproc updatedb
{
DB
}
{
Custo
m instproc updatedb
{
DB
}
{
var_import ::GLOBALS::pid
var_import ::GLOBALS::eid
var_import ::TBCOMPAT::objtypes
...
...
tbsetup/ns2ir/disk.tcl
View file @
56ee754a
...
...
@@ -18,7 +18,7 @@ namespace eval GLOBALS {
set new_classes
(
Disk
)
{}
}
Program
instproc init
{
s
}
{
Disk
instproc init
{
s
}
{
global ::GLOBALS::last_class
$self set sim $s
...
...
@@ -34,7 +34,7 @@ Program instproc init {s} {
set ::GLOBALS::last_class $self
}
Program
instproc rename
{
old new
}
{
Disk
instproc rename
{
old new
}
{
$self instvar sim
$sim rename_disk $old $new
...
...
@@ -42,7 +42,7 @@ Program instproc rename {old new} {
# updatedb DB
# This adds rows to the virt_trafgens table corresponding to this agent.
Program
instproc updatedb
{
DB
}
{
Disk
instproc updatedb
{
DB
}
{
var_import ::GLOBALS::pid
var_import ::GLOBALS::eid
var_import ::TBCOMPAT::objtypes
...
...
Write
Preview
Supports
Markdown
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