* Copying P4D2 Fall 2017 into P4D2 2018 East. * Updated P4D2_2018_East VM. Added vagrant URL workaround, cdrom to VM. Updated to latest commits of BMV2, p4c, PI. Known issue with p4runtime exercise. * Applied patch from @antoninbas in and updated solution
7 lines
328 B
Plaintext
7 lines
328 B
Plaintext
table_set_default ecmp_group drop
|
|
table_add ecmp_group set_ecmp_select 10.0.0.1/32 => 0 2
|
|
table_add ecmp_nhop set_nhop 0 => 00:00:00:00:01:02 10.0.2.2 2
|
|
table_add ecmp_nhop set_nhop 1 => 00:00:00:00:01:03 10.0.3.3 3
|
|
table_add send_frame rewrite_mac 2 => 00:00:00:01:02:00
|
|
table_add send_frame rewrite_mac 3 => 00:00:00:01:03:00
|