Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
83
Issues
83
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
c65c11f0
Commit
c65c11f0
authored
Oct 01, 2018
by
Jean-Claude BAU
Committed by
Adam Wujek
Apr 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use 'mechanism' keyword instead of 'dm' in ppsi.conf file.
parent
ff73a147
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
assembly_ppsi_conf.sh
userspace/rootfs_override/wr/bin/assembly_ppsi_conf.sh
+2
-2
No files found.
userspace/rootfs_override/wr/bin/assembly_ppsi_conf.sh
View file @
c65c11f0
...
...
@@ -135,7 +135,7 @@ function gen_ppsi_conf() {
v
=
"
$port_vn
[iface]"
;
echo
"iface
${
!v
}
"
>>
$output
v
=
"
$inst_vn
[masteronly]"
;
[[
-n
"
${
!v
}
"
]]
&&
echo
"masterOnly
${
!v
}
"
>>
$output
v
=
"
$inst_vn
[vlan]"
;
[[
-n
"
${
!v
}
"
]]
&&
echo
"vlan
${
!v
}
"
>>
$output
v
=
"
$inst_vn
[dm]"
;
[[
"
${
!v
}
"
!=
"e2e"
]]
&&
echo
"
d
m
${
!v
}
"
>>
$output
v
=
"
$inst_vn
[dm]"
;
[[
"
${
!v
}
"
!=
"e2e"
]]
&&
echo
"
mechanis
m
${
!v
}
"
>>
$output
v
=
"
$inst_vn
[prof]"
;
echo
"profile
${
!v
}
"
>>
$output
v
=
"
$inst_vn
[dstate]"
;
[[
-n
"
${
!v
}
"
]]
&&
echo
"desiredState
${
!v
}
"
>>
$output
v
=
"
$inst_vn
[rx]"
;
echo
"ingressLatency
${
!v
}
"
>>
$output
...
...
@@ -246,7 +246,7 @@ function gen_ppsi_conf_json() {
v
=
"
$inst_vn
[proto]"
;
echo
-e
"
\"
proto
\"
:
\"
${
!v
}
\"
,"
>>
$output
v
=
"
$inst_vn
[masteronly]"
;
[[
-n
"
${
!v
}
"
]]
&&
echo
-e
"
\"
masterOnly
\"
:
\"
${
!v
}
\"
,"
>>
$output
v
=
"
$inst_vn
[vlan]"
;
[[
-n
"
${
!v
}
"
]]
&&
echo
-e
"
\"
vlan
\"
:
\"
${
!v
}
\"
,"
>>
$output
v
=
"
$inst_vn
[dm]"
;
[[
"
${
!v
}
"
!=
"e2e"
]]
&&
echo
-e
"
\"
d
m
\"
:
\"
${
!v
}
\"
,"
>>
$output
v
=
"
$inst_vn
[dm]"
;
[[
"
${
!v
}
"
!=
"e2e"
]]
&&
echo
-e
"
\"
mechanis
m
\"
:
\"
${
!v
}
\"
,"
>>
$output
v
=
"
$inst_vn
[prof]"
;
echo
-e
-n
"
\"
profile
\"
:
\"
${
!v
}
\"
"
>>
$output
v
=
"
$inst_vn
[dstate]"
;
[[
-n
"
${
!v
}
"
]]
&&
echo
-e
-n
",
\n
\"
desiredState
\"
:
\"
${
!v
}
\"
"
>>
$output
...
...
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