diff options
author | Damjan Marion <damarion@cisco.com> | 2017-01-25 14:18:03 +0100 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2017-02-28 21:12:48 +0000 |
commit | c47ed032c6d036a9f942fc9ced48874fad55b48c (patch) | |
tree | f983e46b265200797648f9d5ec6be51b659a41e5 /src/scripts | |
parent | 05472b625fc401f1514a148f7122e6c3c571765a (diff) |
vlib: add buffer cloning support
Change-Id: I50070611af15b2b4cc29664a8bee4f821ac3c835
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/scripts')
-rw-r--r-- | src/scripts/vnet/mcast/ip4 | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/scripts/vnet/mcast/ip4 b/src/scripts/vnet/mcast/ip4 index 69f1ee00fa8..eb6bab27bc6 100644 --- a/src/scripts/vnet/mcast/ip4 +++ b/src/scripts/vnet/mcast/ip4 @@ -2,7 +2,7 @@ packet-generator new { name x limit 1 node ip4-input - size 64-64 + size 512-512 no-recycle data { ICMP: 1.0.0.2 -> 232.1.1.1 @@ -11,12 +11,15 @@ packet-generator new { } } -trace add pg-input 100 -loop create -loop create -set int state loop0 up -set int state loop1 up +create packet-generator interface pg1 +create packet-generator interface pg2 +create packet-generator interface pg3 + +set int state pg1 up +set int state pg2 up +set int state pg3 up ip mroute add 232.1.1.1 via pg0 Accept -ip mroute add 232.1.1.1 via loop0 Forward -ip mroute add 232.1.1.1 via loop1 Forward +ip mroute add 232.1.1.1 via pg1 Forward +ip mroute add 232.1.1.1 via pg2 Forward +ip mroute add 232.1.1.1 via pg3 Forward |