cleanup and support for editing links within the web app and rest api
This commit is contained in:
parent
5f6f718e92
commit
f9200db939
8 changed files with 180 additions and 38 deletions
|
@ -264,6 +264,7 @@ class PtpNet(LxBrNet):
|
|||
delay=if1.getparam("delay"),
|
||||
bandwidth=if1.getparam("bw"),
|
||||
dup=if1.getparam("duplicate"),
|
||||
per=if1.getparam("loss"),
|
||||
jitter=if1.getparam("jitter"),
|
||||
interface1_id=if1.node.getifindex(if1),
|
||||
interface1_mac=if1.hwaddr,
|
||||
|
@ -291,6 +292,7 @@ class PtpNet(LxBrNet):
|
|||
delay=if1.getparam("delay"),
|
||||
bandwidth=if1.getparam("bw"),
|
||||
dup=if1.getparam("duplicate"),
|
||||
per=if1.getparam("loss"),
|
||||
jitter=if1.getparam("jitter"),
|
||||
unidirectional=1,
|
||||
interface1_id=if2.node.getifindex(if2),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue