summaryrefslogtreecommitdiffstats
path: root/test/test_vxlan.py
AgeCommit message (Expand)AuthorFilesLines
2021-02-05vxlan: add udp-port configuration supportArtem Glazychev1-30/+117
2021-01-14vxlan: Protect against tunnel config where source is not localNeale Ranns1-0/+48
2020-06-08vxlan: Fixed checksum caclculation offsetVladimir Isaev1-1/+2
2020-05-03tests: vpp_interface remove deprecated packed propertiesPaul Vinciguerra1-10/+6
2020-04-10geneve: Fix the byte swapping for the VNINeale Ranns1-2/+4
2020-03-16vxlan: vxlan/vxlan.api API cleanupJakub Grajciar1-52/+66
2019-12-14tests: changes for scapy 2.4.3 migrationsnaramre1-1/+2
2019-11-08tests: python3 use byte strings in raw()Ole Troan1-1/+1
2019-11-05misc: Fix python scripts shebang lineRenato Botelho do Couto1-1/+1
2019-06-18fib: fib api updatesNeale Ranns1-8/+13
2019-04-11Tests: Refactor tearDown show command logging, add lifecycle markers.Paul Vinciguerra1-5/+6
2019-04-10Tests Cleanup: Fix missing calls to setUpClass/tearDownClass.Paul Vinciguerra1-0/+4
2019-03-12Tests: Raise exception, don't raise string.Paul Vinciguerra1-1/+1
2019-03-11vpp_papi_provider: Remove more wrapper functions.Ole Troan1-35/+30
2018-12-10Test framework: StringIO fixes for Python3Ole Troan1-18/+2
2018-08-17VPP-1392: VXLAN fails with IP fragmentationOle Troan1-1/+46
2018-06-21test:vxlan over ipv6 testsEyal Bari1-1/+5
2017-12-13make "test-all" target pass againGabriel Ganne1-1/+1
2017-04-07VXLAN/TEST:validate vxlan del reply has valid sw_if_indexEyal Bari1-1/+3
2017-03-29VXLAN:validate mcast encapsulation ip/macEyal Bari1-3/+9
2017-01-25test adding and removing shared mcast dst tunnelsEyal Bari1-8/+39
2017-01-11vxlan unit test - minor fixesEyal Bari1-20/+19
2017-01-06Added basic tests for multicast vxlan tunnelsEyal Bari1-14/+107
2016-12-13make test: Use VXLAN built in scapy 2.3.3Matej Klotton1-2/+6
2016-12-05make test: fix missing log/packet messagesKlement Sekera1-2/+1
2016-10-26refactor test frameworkKlement Sekera1-54/+52
2016-10-03test: new test infrastructureDamjan Marion1-0/+102
"cm"> * details. When this bit is set to 1, the 'Locator-Status-Bits' * field is reduced to 8 bits and the high-order 24 bits are used as * an Instance ID. If the L-bit is set to 0, then the low-order * 8 bits are transmitted as zero and ignored on receipt. * * P Bit: Flag bit 5 is defined as the Next Protocol bit. The P bit * MUST be set to 1 to indicate the presence of the 8 bit next * protocol field. * * P = 0 indicates that the payload MUST conform to LISP as defined * in [RFC6830]. * * Flag bit 5 was chosen as the P bit because this flag bit is * currently unallocated in LISP [RFC6830]. * * O: Flag bit 7 is defined as the O bit. When the O bit is set to 1, the * packet is an OAM packet and OAM processing MUST occur. The OAM * protocol details are out of scope for this document. As with the * P-bit, bit 7 is currently a reserved flag in [RFC6830]. * * Next Protocol Field: The lower 8 bits of the first word are used to * carry a next protocol. This next protocol field contains the * protocol of the encapsulated payload packet. * * LISP [RFC6830] uses the lower 16 bits of the first word for either * a nonce, an echo-nonce ([RFC6830]) or to support map-versioning * ([RFC6834]). These are all optional capabilities that are * indicated by setting the N, E, and the V bit respectively. * * To maintain the desired data plane compatibility, when the P bit * is set, the N, E, and V bits MUST be set to zero. * * A new protocol registry will be requested from IANA for the Next * Protocol field. This draft defines the following Next Protocol * values: * * 0x1 : IPv4 * 0x2 : IPv6 * 0x3 : Ethernet * 0x4: Network Service Header */ /** LISP-GPE header */ typedef struct { u8 flags; u8 ver_res; u8 res; u8 next_protocol; u32 iid; } lisp_gpe_header_t; #define foreach_lisp_gpe_flag_bit \ _(N, 0x80) \ _(L, 0x40) \ _(E, 0x20) \ _(V, 0x10) \ _(I, 0x08) \ _(P, 0x04) \ _(O, 0x01) typedef enum { #define _(n,v) LISP_GPE_FLAGS_##n = v, foreach_lisp_gpe_flag_bit #undef _ } vnet_lisp_gpe_flag_bit_t; #define LISP_GPE_VERSION 0x0 #define LISP_GPE_NEXT_PROTOCOL_IP4 0x1 #define LISP_GPE_NEXT_PROTOCOL_IP6 0x2 #define LISP_GPE_NEXT_PROTOCOL_ETHERNET 0x3 #define LISP_GPE_NEXT_PROTOCOL_NSH 0x4 typedef enum { LISP_GPE_NEXT_PROTO_IP4 = 1, LISP_GPE_NEXT_PROTO_IP6, LISP_GPE_NEXT_PROTO_ETHERNET, LISP_GPE_NEXT_PROTO_NSH, LISP_GPE_NEXT_PROTOS } lisp_gpe_next_protocol_e; #endif /* included_lisp_gpe_packet_h */ /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */