Re: [vpp-dev] WRED

2018-10-04 Thread Dave Barach via Lists.Fd.Io
No luck reproducing the problem w/ multiple threads and 20 MPPS worth of 
traffic. The code involved doesn’t look trivially broken.

You might try setting a breakpoint in nsim_configure(...) and walk through it 
when you try to reconfigure the simulator with traffic flowing. I suppose an 
munmap accident might be involved, but I don’t see the problem.

HTH... Dave

From: vpp-dev@lists.fd.io  On Behalf Of Dave Barach via 
Lists.Fd.Io
Sent: Wednesday, October 3, 2018 6:10 PM
To: Brendan Kelly 
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] WRED

OK, let me see if I can repro it...

From: Brendan Kelly mailto:brendanake...@yahoo.com>>
Sent: Wednesday, October 3, 2018 6:03 PM
To: Dave Barach (dbarach) mailto:dbar...@cisco.com>>
Cc: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] WRED

This is what I gathered.  I need to figure out how to get on Jira.

vpp# show version verbose
Version:  v18.10-rc0~553-g2f54c27
Compiled by:  root
Compile host: o2.opiehome.com
Compile date: Tue Oct  2 16:58:15 MDT 2018
Compile location: /root/source/vpp/vpp
Compiler: GCC 7.3.1 20180303 (Red Hat 7.3.1-5)
Current PID:  5871
vpp# create bridge-domain 1
bridge-domain 1
vpp# show interface
  Name   IdxState  MTU (L3/IP4/IP6/MPLS) 
Counter  Count
TenGigabitEthernet82/0/0  1 down 9000/0/0/0
TenGigabitEthernet82/0/1  2 down 9000/0/0/0
local00 down  0/0/0/0
vpp# set interface state TenGigabitEthernet82/0/0 up
vpp# set interface state TenGigabitEthernet82/0/1 up
vpp# set interface l2 bridge TenGigabitEthernet82/0/0 1
vpp# set interface l2 bridge TenGigabitEthernet82/0/1 1
vpp# set nsim delay 10 ms bandwidth 10.1 gbit packet-size 128
Configured link delay 10.00 ms, 20.00 ms round-trip
Sim uses 26304512 bytes per thread, 157827072 bytes total
vpp# nsim enable-disable TenGigabitEthernet82/0/0 TenGigabitEthernet82/0/1
vpp# show nsim
Network simulator cross-connects TenGigabitEthernet82/0/0 and 
TenGigabitEthernet82/0/1
...inserting link delay of 10.00 ms, 20.00 ms round-trip
vpp# show interface
  Name   IdxState  MTU (L3/IP4/IP6/MPLS) 
Counter  Count
TenGigabitEthernet82/0/0  1  up  9000/0/0/0 rx packets  
   16299
rx bytes
20247116
tx packets  
   23927
tx bytes
22969807
drops   
2407
TenGigabitEthernet82/0/1  2  up  9000/0/0/0 rx packets  
   23946
rx bytes
22972583
tx packets  
   16239
tx bytes
20206975
drops   
3549
local00 down  0/0/0/0
vpp# set nsim delay 50 ms bandwidth 10.1 gbit packet-size 128

Program received signal SIGSEGV, Segmentation fault.
_dl_fixup (l=0x6df680, reloc_arg=28) at ../elf/dl-runtime.c:71
71   const char *strtab = (const void *) D_PTR (l, l_info[DT_STRTAB]);
(gdb)


On Wednesday, October 3, 2018, 8:48:01 AM MDT, Dave Barach via Lists.Fd.Io 
mailto:dbarach=cisco@lists.fd.io>> wrote:



Please send a backtrace. Here are some general bug reporting suggestions: 
https://wiki.fd.io/view/VPP/BugReports.



I’ve certainly reconfigured the simulator with traffic flowing without having 
the wheels fall off, but the code is brand-new.



Thanks... Dave





From: Brendan Kelly mailto:brendanake...@yahoo.com>>
Sent: Wednesday, October 3, 2018 10:39 AM
To: brendanake...@yahoo.com<mailto:brendanake...@yahoo.com>
Cc: Dave Barach (dbarach) mailto:dbar...@cisco.com>>; 
vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] WRED



Hello Dave, if you change the nsim delay values on the fly it appears vpp 
crashes and all the state is lost.



Is this supported?  Should I file a bug?

If so what logs should I attach?

On Oct 3, 2018, at 08:07, Brendan Kelly via Lists.Fd.Io 
mailto:brendanakelly=yahoo@lists.fd.io>>
 wrote:

Ok, thanks for the input.  I have it working.



vpp# create bridge-domain 1

bridge-domain 1

vpp# show b

bfdbier   bond   bridge-domain  buffers

vpp# show bridge-domain 1

  BD-ID   Index   BSN  Age(min)  Learning  U-Forwrd   UU-Flood   Floodi

Re: [vpp-dev] WRED

2018-10-03 Thread Dave Barach via Lists.Fd.Io
OK, let me see if I can repro it...

From: Brendan Kelly 
Sent: Wednesday, October 3, 2018 6:03 PM
To: Dave Barach (dbarach) 
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] WRED

This is what I gathered.  I need to figure out how to get on Jira.

vpp# show version verbose
Version:  v18.10-rc0~553-g2f54c27
Compiled by:  root
Compile host: o2.opiehome.com
Compile date: Tue Oct  2 16:58:15 MDT 2018
Compile location: /root/source/vpp/vpp
Compiler: GCC 7.3.1 20180303 (Red Hat 7.3.1-5)
Current PID:  5871
vpp# create bridge-domain 1
bridge-domain 1
vpp# show interface
  Name   IdxState  MTU (L3/IP4/IP6/MPLS) 
Counter  Count
TenGigabitEthernet82/0/0  1 down 9000/0/0/0
TenGigabitEthernet82/0/1  2 down 9000/0/0/0
local00 down  0/0/0/0
vpp# set interface state TenGigabitEthernet82/0/0 up
vpp# set interface state TenGigabitEthernet82/0/1 up
vpp# set interface l2 bridge TenGigabitEthernet82/0/0 1
vpp# set interface l2 bridge TenGigabitEthernet82/0/1 1
vpp# set nsim delay 10 ms bandwidth 10.1 gbit packet-size 128
Configured link delay 10.00 ms, 20.00 ms round-trip
Sim uses 26304512 bytes per thread, 157827072 bytes total
vpp# nsim enable-disable TenGigabitEthernet82/0/0 TenGigabitEthernet82/0/1
vpp# show nsim
Network simulator cross-connects TenGigabitEthernet82/0/0 and 
TenGigabitEthernet82/0/1
...inserting link delay of 10.00 ms, 20.00 ms round-trip
vpp# show interface
  Name   IdxState  MTU (L3/IP4/IP6/MPLS) 
Counter  Count
TenGigabitEthernet82/0/0  1  up  9000/0/0/0 rx packets  
   16299
rx bytes
20247116
tx packets  
   23927
tx bytes
22969807
drops   
2407
TenGigabitEthernet82/0/1  2  up  9000/0/0/0 rx packets  
   23946
rx bytes
22972583
tx packets  
   16239
tx bytes
20206975
drops   
3549
local00 down  0/0/0/0
vpp# set nsim delay 50 ms bandwidth 10.1 gbit packet-size 128

Program received signal SIGSEGV, Segmentation fault.
_dl_fixup (l=0x6df680, reloc_arg=28) at ../elf/dl-runtime.c:71
71   const char *strtab = (const void *) D_PTR (l, l_info[DT_STRTAB]);
(gdb)


On Wednesday, October 3, 2018, 8:48:01 AM MDT, Dave Barach via Lists.Fd.Io 
mailto:dbarach=cisco@lists.fd.io>> wrote:



Please send a backtrace. Here are some general bug reporting suggestions: 
https://wiki.fd.io/view/VPP/BugReports.



I’ve certainly reconfigured the simulator with traffic flowing without having 
the wheels fall off, but the code is brand-new.



Thanks... Dave





From: Brendan Kelly mailto:brendanake...@yahoo.com>>
Sent: Wednesday, October 3, 2018 10:39 AM
To: brendanake...@yahoo.com<mailto:brendanake...@yahoo.com>
Cc: Dave Barach (dbarach) mailto:dbar...@cisco.com>>; 
vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] WRED



Hello Dave, if you change the nsim delay values on the fly it appears vpp 
crashes and all the state is lost.



Is this supported?  Should I file a bug?

If so what logs should I attach?

On Oct 3, 2018, at 08:07, Brendan Kelly via Lists.Fd.Io 
mailto:brendanakelly=yahoo@lists.fd.io>>
 wrote:

Ok, thanks for the input.  I have it working.



vpp# create bridge-domain 1

bridge-domain 1

vpp# show b

bfdbier   bond   bridge-domain  buffers

vpp# show bridge-domain 1

  BD-ID   Index   BSN  Age(min)  Learning  U-Forwrd   UU-Flood   Flooding  
ARP-Term   BVI-Intf

1   1  0 offonon   floodon   
offN/A



vpp# set interface l2 bridge TenGigabitEthernet82/0/0 1

vpp# set interface l2 bridge TenGigabitEthernet82/0/1 1



vpp# set nsim delay 10 ms bandwidth 10.1 gbit packet-size 128

Configured link delay 10.00 ms, 20.00 ms round-trip

Sim uses 26304512 bytes per thread, 157827072 bytes total



vpp# nsim enable-disable TenGigabitEthernet82/0/0 TenGigabitEthernet82/0/1



vpp# show nsim

Network simulator cross-connects TenGigabitEthernet82/0/0 and 
TenGigabitEthernet82/0/1

...inserting link delay of 10.00 ms, 20.00 ms round-trip





On Wednesday, O

Re: [vpp-dev] WRED

2018-10-03 Thread Brendan Kelly via Lists.Fd.Io
:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:sans-serif;}#yiv2611441636
 span.yiv2611441636msohyperlink1 
{color:blue;text-decoration:underline;}#yiv2611441636 
span.yiv2611441636msohyperlinkfollowed1 
{color:purple;text-decoration:underline;}#yiv2611441636 
p.yiv2611441636msonormal01, #yiv2611441636 li.yiv2611441636msonormal01, 
#yiv2611441636 div.yiv2611441636msonormal01 
{margin-right:0in;margin-left:0in;font-size:11.0pt;font-family:sans-serif;}#yiv2611441636
 p.yiv2611441636msonormal02, #yiv2611441636 li.yiv2611441636msonormal02, 
#yiv2611441636 div.yiv2611441636msonormal02 
{margin-right:0in;margin-left:0in;font-size:11.0pt;font-family:sans-serif;}#yiv2611441636
 span.yiv2611441636emailstyle181 
{color:windowtext;font-weight:normal;font-style:normal;}#yiv2611441636 
span.yiv2611441636emailstyle201 
{color:windowtext;font-weight:normal;font-style:normal;}#yiv2611441636 
p.yiv2611441636msochpdefault1, #yiv2611441636 li.yiv2611441636msochpdefault1, 
#yiv2611441636 div.yiv2611441636msochpdefault1 
{margin-right:0in;margin-left:0in;font-size:10.0pt;font-family:sans-serif;}#yiv2611441636
 span.yiv2611441636EmailStyle34 
{color:windowtext;font-weight:normal;font-style:normal;}#yiv2611441636 
.yiv2611441636MsoChpDefault {font-size:10.0pt;} _filtered #yiv2611441636 
{margin:1.0in 1.0in 1.0in 1.0in;}#yiv2611441636 div.yiv2611441636WordSection1 
{}#yiv2611441636 
Please send a backtrace. Here are some general bug reporting 
suggestions:https://wiki.fd.io/view/VPP/BugReports.
 
  
 
I’ve certainly reconfigured the simulator with traffic flowing without having 
the wheels fall off, but the code is brand-new.
 
  
 
Thanks... Dave
 
  
 
  
 
From: Brendan Kelly  
Sent: Wednesday, October 3, 2018 10:39 AM
To: brendanake...@yahoo.com
Cc: Dave Barach (dbarach) ; vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] WRED
 
  
 
Hello Dave, if you change the nsim delay values on the fly it appears vpp 
crashes and all the state is lost.
 
  
 
Is this supported?  Should I file a bug?
 
If so what logs should I attach?
 

On Oct 3, 2018, at 08:07, Brendan Kelly via Lists.Fd.Io 
 wrote:
 

Ok, thanks for the input.  I have it working.
 
  
 
vpp# create bridge-domain 1
 
bridge-domain 1
 
vpp# show b
 
bfd            bier           bond           bridge-domain  buffers
 
vpp# show bridge-domain 1
 
  BD-ID   Index   BSN  Age(min)  Learning  U-Forwrd   UU-Flood   Flooding  
ARP-Term   BVI-Intf
 
    1       1      0     off        on        on       flood        on       
off        N/A
 
  
 
vpp# set interface l2 bridge TenGigabitEthernet82/0/0 1
 
vpp# set interface l2 bridge TenGigabitEthernet82/0/1 1
 
  
 
vpp# set nsim delay 10 ms bandwidth 10.1 gbit packet-size 128
 
Configured link delay 10.00 ms, 20.00 ms round-trip
 
Sim uses 26304512 bytes per thread, 157827072 bytes total
 
  
 
vpp# nsim enable-disable TenGigabitEthernet82/0/0 TenGigabitEthernet82/0/1
 
  
 
vpp# show nsim
 
Network simulator cross-connects TenGigabitEthernet82/0/0 and 
TenGigabitEthernet82/0/1
 
...inserting link delay of 10.00 ms, 20.00 ms round-trip
 
  
 
  
 
On Wednesday, October 3, 2018, 7:19:00 AM MDT, Dave Barach via Lists.Fd.Io 
 wrote: 
 
  
 
  
 
It would be easy enough for the delay simulator to enable/disable promiscuous 
mode. But it’s handy to bridge the pipes: traffic flows whether or not the 
delay simulation is enabled.
 
 
 
D.
 
 
 
From:vpp-dev@lists.fd.io On Behalf Of Dave Barach via 
Lists.Fd.Io
Sent: Wednesday, October 3, 2018 9:09 AM
To: Brendan Kelly ;vpp-dev@lists.fd.io
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] WRED
 
 
 
Put the interfaces in an L2 bridge group, or they won’t be in promiscuous 
mode...
 
 
 
Here’s a config that I use a bunch:
 
 
 
set int l2 bridge FortyGigabitEthernet86/0/1 1
 
set int state FortyGigabitEthernet86/0/1 up
 
set int l2 bridge TenGigabitEthernetd/0/0 1
 
set int state TenGigabitEthernetd/0/0 up
 
 
 
bin nsim_configure delay 10 ms bandwidth 10.1 gbit packet-size 128
 
bin nsim_enable_disable FortyGigabitEthernet86/0/1 TenGigabitEthernetd/0/0
 
 
 
HTH... Dave
 
 
 
From: Brendan Kelly 
Sent: Tuesday, October 2, 2018 10:03 PM
To: vpp-dev@lists.fd.io; Dave Barach (dbarach) 
Subject: Re: [vpp-dev] WRED
 
 
 
Hello Dave, doesn't appear to forward.  My ARP packets are not being forwarded. 
 I assume in this cross connect any packet in an interface is sent out the 
other interface and vice versa?
 
 
 
Anything special needed in the startup.conf?
 
 
 
vpp# show nsim
 
Network simulator cross-connects TenGigabitEthernet82/0/0 and 
TenGigabitEthernet82/0/1
 
...inserting link delay of 200.00 ms, 400.00 ms round-trip
 
 
 
 
 
On Tuesday, October 2, 2018, 6:00:42 AM MDT, Dave Barach via Lists.Fd.Io 
 wrote: 
 
 
 
 
 
With respect to delay / loss impairments, please have a look at the “nsim” 
plugin: src/plugins/nsim.
 

From:  on behalf of "brendanakelly via Lists.Fd.Io" 

Reply-To: "brendanake...@yahoo.com" 
Date: Monday, October 1, 2018 at 6:18 PM
To: "vpp-d

Re: [vpp-dev] WRED

2018-10-03 Thread Dave Barach via Lists.Fd.Io
Please send a backtrace. Here are some general bug reporting suggestions: 
https://wiki.fd.io/view/VPP/BugReports.

I’ve certainly reconfigured the simulator with traffic flowing without having 
the wheels fall off, but the code is brand-new.

Thanks... Dave


From: Brendan Kelly 
Sent: Wednesday, October 3, 2018 10:39 AM
To: brendanake...@yahoo.com
Cc: Dave Barach (dbarach) ; vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] WRED

Hello Dave, if you change the nsim delay values on the fly it appears vpp 
crashes and all the state is lost.

Is this supported?  Should I file a bug?
If so what logs should I attach?

On Oct 3, 2018, at 08:07, Brendan Kelly via Lists.Fd.Io 
mailto:brendanakelly=yahoo@lists.fd.io>>
 wrote:
Ok, thanks for the input.  I have it working.

vpp# create bridge-domain 1
bridge-domain 1
vpp# show b
bfdbier   bond   bridge-domain  buffers
vpp# show bridge-domain 1
  BD-ID   Index   BSN  Age(min)  Learning  U-Forwrd   UU-Flood   Flooding  
ARP-Term   BVI-Intf
1   1  0 offonon   floodon   
offN/A

vpp# set interface l2 bridge TenGigabitEthernet82/0/0 1
vpp# set interface l2 bridge TenGigabitEthernet82/0/1 1

vpp# set nsim delay 10 ms bandwidth 10.1 gbit packet-size 128
Configured link delay 10.00 ms, 20.00 ms round-trip
Sim uses 26304512 bytes per thread, 157827072 bytes total

vpp# nsim enable-disable TenGigabitEthernet82/0/0 TenGigabitEthernet82/0/1

vpp# show nsim
Network simulator cross-connects TenGigabitEthernet82/0/0 and 
TenGigabitEthernet82/0/1
...inserting link delay of 10.00 ms, 20.00 ms round-trip


On Wednesday, October 3, 2018, 7:19:00 AM MDT, Dave Barach via Lists.Fd.Io 
mailto:dbarach=cisco@lists.fd.io>> wrote:



It would be easy enough for the delay simulator to enable/disable promiscuous 
mode. But it’s handy to bridge the pipes: traffic flows whether or not the 
delay simulation is enabled.



D.



From: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> 
mailto:vpp-dev@lists.fd.io>> On Behalf Of Dave Barach via 
Lists.Fd.Io
Sent: Wednesday, October 3, 2018 9:09 AM
To: Brendan Kelly mailto:brendanake...@yahoo.com>>; 
vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>
Cc: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] WRED



Put the interfaces in an L2 bridge group, or they won’t be in promiscuous 
mode...



Here’s a config that I use a bunch:



set int l2 bridge FortyGigabitEthernet86/0/1 1

set int state FortyGigabitEthernet86/0/1 up

set int l2 bridge TenGigabitEthernetd/0/0 1

set int state TenGigabitEthernetd/0/0 up



bin nsim_configure delay 10 ms bandwidth 10.1 gbit packet-size 128

bin nsim_enable_disable FortyGigabitEthernet86/0/1 TenGigabitEthernetd/0/0



HTH... Dave



From: Brendan Kelly mailto:brendanake...@yahoo.com>>
Sent: Tuesday, October 2, 2018 10:03 PM
To: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>; Dave Barach (dbarach) 
mailto:dbar...@cisco.com>>
Subject: Re: [vpp-dev] WRED



Hello Dave, doesn't appear to forward.  My ARP packets are not being forwarded. 
 I assume in this cross connect any packet in an interface is sent out the 
other interface and vice versa?



Anything special needed in the startup.conf?



vpp# show nsim

Network simulator cross-connects TenGigabitEthernet82/0/0 and 
TenGigabitEthernet82/0/1

...inserting link delay of 200.00 ms, 400.00 ms round-trip





On Tuesday, October 2, 2018, 6:00:42 AM MDT, Dave Barach via Lists.Fd.Io 
mailto:dbarach=cisco@lists.fd.io>> wrote:





With respect to delay / loss impairments, please have a look at the “nsim” 
plugin: src/plugins/nsim.

From: mailto:vpp-dev@lists.fd.io>> on behalf of 
"brendanakelly via Lists.Fd.Io" 
mailto:yahoo@lists.fd.io>>
Reply-To: "brendanake...@yahoo.com<mailto:brendanake...@yahoo.com>" 
mailto:brendanake...@yahoo.com>>
Date: Monday, October 1, 2018 at 6:18 PM
To: "vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>" 
mailto:vpp-dev@lists.fd.io>>
Cc: "vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>" 
mailto:vpp-dev@lists.fd.io>>
Subject: [vpp-dev] WRED

I am looking to setup vpp with WRED.  I am not sure how the WRED profiles are 
configured.  I have hqos with 2 interfaces working in a bridge-domain and now 
want to enable WRED.

My overall goal is to simulate the Linux tc "traffic control" application to 
run impairments such as delay and packet loss.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10730): https://lists.fd.io/g/vpp-dev/message/10730

Mute This Topic: https://lists.fd.io/mt/26596674/1432032
Group Owner: vpp-dev+ow...@lists.fd.io<mailto:ow...@lists.fd.io>
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub 
<https://lists.fd.io/g/vpp-dev/unsub%20> 
[brendanake...@yahoo.com<mailto:brendanake...@yahoo.com&

Re: [vpp-dev] WRED

2018-10-03 Thread Brendan Kelly via Lists.Fd.Io
Hello Dave, if you change the nsim delay values on the fly it appears vpp 
crashes and all the state is lost.

Is this supported?  Should I file a bug?
If so what logs should I attach?

> On Oct 3, 2018, at 08:07, Brendan Kelly via Lists.Fd.Io 
>  wrote:
> 
> Ok, thanks for the input.  I have it working.
> 
> vpp# create bridge-domain 1
> bridge-domain 1
> vpp# show b
> bfdbier   bond   bridge-domain  buffers
> vpp# show bridge-domain 1
>   BD-ID   Index   BSN  Age(min)  Learning  U-Forwrd   UU-Flood   Flooding  
> ARP-Term   BVI-Intf
> 1   1  0 offonon   floodon   
> offN/A
> 
> vpp# set interface l2 bridge TenGigabitEthernet82/0/0 1
> vpp# set interface l2 bridge TenGigabitEthernet82/0/1 1
> 
> vpp# set nsim delay 10 ms bandwidth 10.1 gbit packet-size 128
> Configured link delay 10.00 ms, 20.00 ms round-trip
> Sim uses 26304512 bytes per thread, 157827072 bytes total
> 
> vpp# nsim enable-disable TenGigabitEthernet82/0/0 TenGigabitEthernet82/0/1
> 
> vpp# show nsim
> Network simulator cross-connects TenGigabitEthernet82/0/0 and 
> TenGigabitEthernet82/0/1
> ...inserting link delay of 10.00 ms, 20.00 ms round-trip
> 
> 
> On Wednesday, October 3, 2018, 7:19:00 AM MDT, Dave Barach via Lists.Fd.Io 
>  wrote:
> 
> 
> It would be easy enough for the delay simulator to enable/disable promiscuous 
> mode. But it’s handy to bridge the pipes: traffic flows whether or not the 
> delay simulation is enabled.
> 
>  
> 
> D.
> 
>  
> 
> From: vpp-dev@lists.fd.io  On Behalf Of Dave Barach via 
> Lists.Fd.Io
> Sent: Wednesday, October 3, 2018 9:09 AM
> To: Brendan Kelly ; vpp-dev@lists.fd.io
> Cc: vpp-dev@lists.fd.io
> Subject: Re: [vpp-dev] WRED
> 
>  
> 
> Put the interfaces in an L2 bridge group, or they won’t be in promiscuous 
> mode...
> 
>  
> 
> Here’s a config that I use a bunch:
> 
>  
> 
> set int l2 bridge FortyGigabitEthernet86/0/1 1
> 
> set int state FortyGigabitEthernet86/0/1 up
> 
> set int l2 bridge TenGigabitEthernetd/0/0 1
> 
> set int state TenGigabitEthernetd/0/0 up
> 
>  
> 
> bin nsim_configure delay 10 ms bandwidth 10.1 gbit packet-size 128
> 
> bin nsim_enable_disable FortyGigabitEthernet86/0/1 TenGigabitEthernetd/0/0
> 
>  
> 
> HTH... Dave
> 
>  
> 
> From: Brendan Kelly  
> Sent: Tuesday, October 2, 2018 10:03 PM
> To: vpp-dev@lists.fd.io; Dave Barach (dbarach) 
> Subject: Re: [vpp-dev] WRED
> 
>  
> 
> Hello Dave, doesn't appear to forward.  My ARP packets are not being 
> forwarded.  I assume in this cross connect any packet in an interface is sent 
> out the other interface and vice versa?
> 
>  
> 
> Anything special needed in the startup.conf?
> 
>  
> 
> vpp# show nsim
> 
> Network simulator cross-connects TenGigabitEthernet82/0/0 and 
> TenGigabitEthernet82/0/1
> 
> ...inserting link delay of 200.00 ms, 400.00 ms round-trip
> 
>  
> 
>  
> 
> On Tuesday, October 2, 2018, 6:00:42 AM MDT, Dave Barach via Lists.Fd.Io 
>  wrote:
> 
>  
> 
>  
> 
> With respect to delay / loss impairments, please have a look at the “nsim” 
> plugin: src/plugins/nsim.
> 
> 
> From:  on behalf of "brendanakelly via Lists.Fd.Io" 
> 
> Reply-To: "brendanake...@yahoo.com" 
> Date: Monday, October 1, 2018 at 6:18 PM
> To: "vpp-dev@lists.fd.io" 
> Cc: "vpp-dev@lists.fd.io" 
> Subject: [vpp-dev] WRED
> 
> I am looking to setup vpp with WRED.  I am not sure how the WRED profiles are 
> configured.  I have hqos with 2 interfaces working in a bridge-domain and now 
> want to enable WRED.  
> 
> My overall goal is to simulate the Linux tc "traffic control" application to 
> run impairments such as delay and packet loss.
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#10730): https://lists.fd.io/g/vpp-dev/message/10730
> 
> 
> Mute This Topic: https://lists.fd.io/mt/26596674/1432032
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [brendanake...@yahoo.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#10741): https://lists.fd.io/g/vpp-dev/message/10741
> Mute This Topic: https://lists.fd.io/mt/26596674/1432032
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [brendanake...@yahoo.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
&g

Re: [vpp-dev] WRED

2018-10-03 Thread Brendan Kelly via Lists.Fd.Io
 Ok, thanks for the input.  I have it working.
vpp# create bridge-domain 1bridge-domain 1vpp# show bbfd            bier        
   bond           bridge-domain  buffersvpp# show bridge-domain 1  BD-ID   
Index   BSN  Age(min)  Learning  U-Forwrd   UU-Flood   Flooding  ARP-Term   
BVI-Intf    1       1      0     off        on        on       flood        on  
     off        N/A
vpp# set interface l2 bridge TenGigabitEthernet82/0/0 1vpp# set interface l2 
bridge TenGigabitEthernet82/0/1 1
vpp# set nsim delay 10 ms bandwidth 10.1 gbit packet-size 128
Configured link delay 10.00 ms, 20.00 ms round-tripSim uses 26304512 bytes per 
thread, 157827072 bytes total
vpp# nsim enable-disable TenGigabitEthernet82/0/0 TenGigabitEthernet82/0/1
vpp# show nsimNetwork simulator cross-connects TenGigabitEthernet82/0/0 and 
TenGigabitEthernet82/0/1...inserting link delay of 10.00 ms, 20.00 ms round-trip

On Wednesday, October 3, 2018, 7:19:00 AM MDT, Dave Barach via Lists.Fd.Io 
 wrote:  
 
  
It would be easy enough for the delay simulator to enable/disable promiscuous 
mode. But it’s handy to bridge the pipes: traffic flows whether or not the 
delay simulation is enabled.
 
  
 
D.
 
  
 
From: vpp-dev@lists.fd.io  On Behalf OfDave Barach via 
Lists.Fd.Io
Sent: Wednesday, October 3, 2018 9:09 AM
To: Brendan Kelly ; vpp-dev@lists.fd.io
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] WRED
 
  
 
Put the interfaces in an L2 bridge group, or they won’t be in promiscuous 
mode...
 
  
 
Here’s a config that I use a bunch:
 
  
 
set int l2 bridge FortyGigabitEthernet86/0/1 1
 
set int state FortyGigabitEthernet86/0/1 up
 
set int l2 bridge TenGigabitEthernetd/0/0 1
 
set int state TenGigabitEthernetd/0/0 up
 
  
 
bin nsim_configure delay 10 ms bandwidth 10.1 gbit packet-size 128
 
bin nsim_enable_disable FortyGigabitEthernet86/0/1 TenGigabitEthernetd/0/0
 
  
 
HTH... Dave
 
  
 
From: Brendan Kelly 
Sent: Tuesday, October 2, 2018 10:03 PM
To: vpp-dev@lists.fd.io; Dave Barach (dbarach) 
Subject: Re: [vpp-dev] WRED
 
  
 
Hello Dave, doesn't appear to forward.  My ARP packets are not being forwarded. 
 I assume in this cross connect any packet in an interface is sent out the 
other interface and vice versa?
 
  
 
Anything special needed in the startup.conf?
 
  
 
vpp# show nsim
 
Network simulator cross-connects TenGigabitEthernet82/0/0 and 
TenGigabitEthernet82/0/1
 
...inserting link delay of 200.00 ms, 400.00 ms round-trip
 
  
 
  
 
On Tuesday, October 2, 2018, 6:00:42 AM MDT, Dave Barach via Lists.Fd.Io 
 wrote: 
 
  
 
  
 
With respect to delay / loss impairments, please have a look at the “nsim” 
plugin: src/plugins/nsim.
 

From:  on behalf of "brendanakelly via Lists.Fd.Io" 

Reply-To: "brendanake...@yahoo.com" 
Date: Monday, October 1, 2018 at 6:18 PM
To: "vpp-dev@lists.fd.io" 
Cc: "vpp-dev@lists.fd.io" 
Subject: [vpp-dev] WRED

I am looking to setup vpp with WRED.  I am not sure how the WRED profiles are 
configured.  I have hqos with 2 interfaces working in a bridge-domain and now 
want to enable WRED. 

My overall goal is to simulate the Linux tc "traffic control" application to 
run impairments such as delay and packet loss.
 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10730): https://lists.fd.io/g/vpp-dev/message/10730
 

Mute This Topic: https://lists.fd.io/mt/26596674/1432032
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub[brendanake...@yahoo.com]
-=-=-=-=-=-=-=-=-=-=-=-
 -=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10741): https://lists.fd.io/g/vpp-dev/message/10741
Mute This Topic: https://lists.fd.io/mt/26596674/1432032
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [brendanake...@yahoo.com]
-=-=-=-=-=-=-=-=-=-=-=-  
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10742): https://lists.fd.io/g/vpp-dev/message/10742
Mute This Topic: https://lists.fd.io/mt/26596674/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] WRED

2018-10-03 Thread Dave Barach via Lists.Fd.Io
It would be easy enough for the delay simulator to enable/disable promiscuous 
mode. But it’s handy to bridge the pipes: traffic flows whether or not the 
delay simulation is enabled.

D.

From: vpp-dev@lists.fd.io  On Behalf Of Dave Barach via 
Lists.Fd.Io
Sent: Wednesday, October 3, 2018 9:09 AM
To: Brendan Kelly ; vpp-dev@lists.fd.io
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] WRED

Put the interfaces in an L2 bridge group, or they won’t be in promiscuous 
mode...

Here’s a config that I use a bunch:

set int l2 bridge FortyGigabitEthernet86/0/1 1
set int state FortyGigabitEthernet86/0/1 up
set int l2 bridge TenGigabitEthernetd/0/0 1
set int state TenGigabitEthernetd/0/0 up

bin nsim_configure delay 10 ms bandwidth 10.1 gbit packet-size 128
bin nsim_enable_disable FortyGigabitEthernet86/0/1 TenGigabitEthernetd/0/0

HTH... Dave

From: Brendan Kelly mailto:brendanake...@yahoo.com>>
Sent: Tuesday, October 2, 2018 10:03 PM
To: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>; Dave Barach (dbarach) 
mailto:dbar...@cisco.com>>
Subject: Re: [vpp-dev] WRED

Hello Dave, doesn't appear to forward.  My ARP packets are not being forwarded. 
 I assume in this cross connect any packet in an interface is sent out the 
other interface and vice versa?

Anything special needed in the startup.conf?

vpp# show nsim
Network simulator cross-connects TenGigabitEthernet82/0/0 and 
TenGigabitEthernet82/0/1
...inserting link delay of 200.00 ms, 400.00 ms round-trip


On Tuesday, October 2, 2018, 6:00:42 AM MDT, Dave Barach via Lists.Fd.Io 
mailto:dbarach=cisco@lists.fd.io>> wrote:


With respect to delay / loss impairments, please have a look at the “nsim” 
plugin: src/plugins/nsim.

From: mailto:vpp-dev@lists.fd.io>> on behalf of 
"brendanakelly via Lists.Fd.Io" 
mailto:yahoo@lists.fd.io>>
Reply-To: "brendanake...@yahoo.com<mailto:brendanake...@yahoo.com>" 
mailto:brendanake...@yahoo.com>>
Date: Monday, October 1, 2018 at 6:18 PM
To: "vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>" 
mailto:vpp-dev@lists.fd.io>>
Cc: "vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>" 
mailto:vpp-dev@lists.fd.io>>
Subject: [vpp-dev] WRED

I am looking to setup vpp with WRED.  I am not sure how the WRED profiles are 
configured.  I have hqos with 2 interfaces working in a bridge-domain and now 
want to enable WRED.

My overall goal is to simulate the Linux tc "traffic control" application to 
run impairments such as delay and packet loss.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10730): https://lists.fd.io/g/vpp-dev/message/10730

Mute This Topic: https://lists.fd.io/mt/26596674/1432032
Group Owner: vpp-dev+ow...@lists.fd.io<mailto:ow...@lists.fd.io>
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub 
<https://lists.fd.io/g/vpp-dev/unsub%20> 
[brendanake...@yahoo.com<mailto:brendanake...@yahoo.com>]
-=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10741): https://lists.fd.io/g/vpp-dev/message/10741
Mute This Topic: https://lists.fd.io/mt/26596674/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] WRED

2018-10-03 Thread Dave Barach via Lists.Fd.Io
Put the interfaces in an L2 bridge group, or they won’t be in promiscuous 
mode...

Here’s a config that I use a bunch:

set int l2 bridge FortyGigabitEthernet86/0/1 1
set int state FortyGigabitEthernet86/0/1 up
set int l2 bridge TenGigabitEthernetd/0/0 1
set int state TenGigabitEthernetd/0/0 up

bin nsim_configure delay 10 ms bandwidth 10.1 gbit packet-size 128
bin nsim_enable_disable FortyGigabitEthernet86/0/1 TenGigabitEthernetd/0/0

HTH... Dave

From: Brendan Kelly 
Sent: Tuesday, October 2, 2018 10:03 PM
To: vpp-dev@lists.fd.io; Dave Barach (dbarach) 
Subject: Re: [vpp-dev] WRED

Hello Dave, doesn't appear to forward.  My ARP packets are not being forwarded. 
 I assume in this cross connect any packet in an interface is sent out the 
other interface and vice versa?

Anything special needed in the startup.conf?

vpp# show nsim
Network simulator cross-connects TenGigabitEthernet82/0/0 and 
TenGigabitEthernet82/0/1
...inserting link delay of 200.00 ms, 400.00 ms round-trip


On Tuesday, October 2, 2018, 6:00:42 AM MDT, Dave Barach via Lists.Fd.Io 
mailto:dbarach=cisco@lists.fd.io>> wrote:


With respect to delay / loss impairments, please have a look at the “nsim” 
plugin: src/plugins/nsim.

From: mailto:vpp-dev@lists.fd.io>> on behalf of 
"brendanakelly via Lists.Fd.Io" 
mailto:yahoo@lists.fd.io>>
Reply-To: "brendanake...@yahoo.com<mailto:brendanake...@yahoo.com>" 
mailto:brendanake...@yahoo.com>>
Date: Monday, October 1, 2018 at 6:18 PM
To: "vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>" 
mailto:vpp-dev@lists.fd.io>>
Cc: "vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>" 
mailto:vpp-dev@lists.fd.io>>
Subject: [vpp-dev] WRED

I am looking to setup vpp with WRED.  I am not sure how the WRED profiles are 
configured.  I have hqos with 2 interfaces working in a bridge-domain and now 
want to enable WRED.

My overall goal is to simulate the Linux tc "traffic control" application to 
run impairments such as delay and packet loss.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10730): https://lists.fd.io/g/vpp-dev/message/10730

Mute This Topic: https://lists.fd.io/mt/26596674/1432032
Group Owner: vpp-dev+ow...@lists.fd.io<mailto:ow...@lists.fd.io>
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub 
<https://lists.fd.io/g/vpp-dev/unsub%20> 
[brendanake...@yahoo.com<mailto:brendanake...@yahoo.com>]
-=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10740): https://lists.fd.io/g/vpp-dev/message/10740
Mute This Topic: https://lists.fd.io/mt/26596674/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] WRED

2018-10-02 Thread Brendan Kelly via Lists.Fd.Io
 Hello Dave, doesn't appear to forward.  My ARP packets are not being 
forwarded.  I assume in this cross connect any packet in an interface is sent 
out the other interface and vice versa?
Anything special needed in the startup.conf?
vpp# show nsimNetwork simulator cross-connects TenGigabitEthernet82/0/0 and 
TenGigabitEthernet82/0/1...inserting link delay of 200.00 ms, 400.00 ms 
round-trip

On Tuesday, October 2, 2018, 6:00:42 AM MDT, Dave Barach via Lists.Fd.Io 
 wrote:  
 
 With respect to delay / loss impairments, please have a look at the “nsim” 
plugin: src/plugins/nsim.

From:  on behalf of "brendanakelly via Lists.Fd.Io" 

Reply-To: "brendanake...@yahoo.com" 
Date: Monday, October 1, 2018 at 6:18 PM
To: "vpp-dev@lists.fd.io" 
Cc: "vpp-dev@lists.fd.io" 
Subject: [vpp-dev] WRED

I am looking to setup vpp with WRED.  I am not sure how the WRED profiles are 
configured.  I have hqos with 2 interfaces working in a bridge-domain and now 
want to enable WRED.  

My overall goal is to simulate the Linux tc "traffic control" application to 
run impairments such as delay and packet loss. 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10730): https://lists.fd.io/g/vpp-dev/message/10730
Mute This Topic: https://lists.fd.io/mt/26596674/1432032
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [brendanake...@yahoo.com]
-=-=-=-=-=-=-=-=-=-=-=-  
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10733): https://lists.fd.io/g/vpp-dev/message/10733
Mute This Topic: https://lists.fd.io/mt/26596674/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [vpp-dev] WRED

2018-10-02 Thread Dave Barach via Lists.Fd.Io
With respect to delay / loss impairments, please have a look at the “nsim” 
plugin: src/plugins/nsim.

From:  on behalf of "brendanakelly via Lists.Fd.Io" 

Reply-To: "brendanake...@yahoo.com" 
Date: Monday, October 1, 2018 at 6:18 PM
To: "vpp-dev@lists.fd.io" 
Cc: "vpp-dev@lists.fd.io" 
Subject: [vpp-dev] WRED

I am looking to setup vpp with WRED.  I am not sure how the WRED profiles are 
configured.  I have hqos with 2 interfaces working in a bridge-domain and now 
want to enable WRED.  

My overall goal is to simulate the Linux tc "traffic control" application to 
run impairments such as delay and packet loss. 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10730): https://lists.fd.io/g/vpp-dev/message/10730
Mute This Topic: https://lists.fd.io/mt/26596674/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] WRED

2018-10-01 Thread brendanakelly via Lists.Fd.Io
I am looking to setup vpp with WRED.  I am not sure how the WRED profiles are 
configured.  I have hqos with 2 interfaces working in a bridge-domain and now 
want to enable WRED. 

My overall goal is to simulate the Linux tc "traffic control" application to 
run impairments such as delay and packet loss.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10727): https://lists.fd.io/g/vpp-dev/message/10727
Mute This Topic: https://lists.fd.io/mt/26596674/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-