aboutsummaryrefslogtreecommitdiffstats
path: root/vpp-api/lua/examples/lute/script.lute
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-11-19 12:04:34 +0100
committerDamjan Marion <damarion@cisco.com>2016-11-19 12:15:52 +0100
commitc21d59fa3354c2a1f7f4510793605104c9348e1c (patch)
tree6f289d020a6a79d8fc969825618d2575af6115a6 /vpp-api/lua/examples/lute/script.lute
parent7dc4146eb15a3244d529410cc4adf09a636c2fdb (diff)
make: call install-dep on unatteded invocation
Change-Id: I7a3c21c47f49b56b6435397e731d4da961ef8ffd Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vpp-api/lua/examples/lute/script.lute')
0 files changed, 0 insertions, 0 deletions
dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
comment { test ipv4 port/vlan/qinq rewrites by generating arps }

set int state tuntap-0 down

set int ip address GigabitEthernet2/2/0 1.2.5.4/24

cre sub GigabitEthernet2/2/0 1 dot1q 6 exact-match
set int ip address GigabitEthernet2/2/0.1 1.2.6.4/24

cre sub GigabitEthernet2/2/0 2 dot1ad 7 inner-dot1q 8 exact-match
set int ip address GigabitEthernet2/2/0.2 1.2.7.4/24

set int state GigabitEthernet2/1/0 up 
set int state GigabitEthernet2/2/0 up
set int state GigabitEthernet2/2/0.1 up
set int state GigabitEthernet2/2/0.2 up

trace add pg-input 2

cle er
cle int
cle run

packet-generator new {
  name toport
  limit 2
  node ethernet-input
  interface GigabitEthernet2/1/0
  data {
      IP4: 0050.56b7.7c83 -> 0050.56b7.296d 
      GRE: 8.0.0.1 -> 1.2.5.6 mpls_unicast 
  }
}

packet-generator new {
  name tovlan
  limit 2
  node ethernet-input
  interface GigabitEthernet2/1/0
  data {
      IP4: 0050.56b7.7c83 -> 0050.56b7.296d 
      GRE: 8.0.0.1 -> 1.2.6.6 mpls_unicast 
  }
}

packet-generator new {
  name toqinq
  limit 2
  node ethernet-input
  interface GigabitEthernet2/1/0
  data {
      IP4: 0050.56b7.7c83 -> 0050.56b7.296d 
      GRE: 8.0.0.1 -> 1.2.7.6 mpls_unicast 
  }
}