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
3ce5f792
Commit
3ce5f792
authored
Feb 18, 2005
by
Mike Hibler
Browse files
Redefined color mapping slightly. Add "Blue", note that "Red" is unimplemented.
Orange+elabinelab is still the same.
parent
9c8200c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
tbsetup/ns2ir/fw.ns
View file @
3ce5f792
...
...
@@ -10,12 +10,12 @@ if {${::GLOBALS::security_level} >= 1} {
if {${::GLOBALS::security_level} == 1} {
$fw set-style open
} elseif {${::GLOBALS::security_level} == 2} {
$fw set-style basic
} elseif {${::GLOBALS::security_level} == 3} {
if {${::GLOBALS::elab_in_elab}} {
$fw set-style emulab
} else {
$fw set-style
basic
$fw set-style
closed
}
} else {
$fw set-style closed
}
}
tbsetup/ns2ir/tb_compat.tcl.in
View file @
3ce5f792
...
...
@@ -1469,15 +1469,19 @@ proc tb-set-security-level {level} {
"Green"
{
set level 0
}
"
Yellow
"
{
"
Blue
"
{
set level 1
}
"
Orange
"
{
"
Yellow
"
{
set level 2
}
"
Red
"
{
"
Orange
"
{
set level 3
}
"Red"
{
perror
"
\[
tb-set-security-level] Red security not implemented yet"
return
}
unknown
{
perror
"
\[
tb-set-security-level]
$level
is not a valid level"
return
...
...
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