Open s3rj1k opened 5 years ago
Hello. What kind of example would you like to see? If I understand it correctly, VXLAN is UDP encapsulation. Do you want to see an example application that adds VXLAN header or strips it? We have several other encapsulation examples for GTP UDP encapsulation https://github.com/intel-go/nff-go/blob/master/examples/nffPktgen/gtp-u/trafficgen.go#L212, GRE encapsulation https://github.com/intel-go/nff-go/blob/master/examples/lb/balancer.go#L58, IPSEC encapsulation https://github.com/intel-go/nff-go/blob/master/examples/ipsec/ipsec_kernel.go#L147 and decapsulation https://github.com/intel-go/nff-go/blob/master/examples/ipsec/ipsec_kernel.go#L52 which you could use to implement your own VXLAN encapsulation and decapsulation applications.
@gshimansky Hi, would be nice to have an example for VXLAN to VLAN translation.
Hello. What kind of example would you like to see? If I understand it correctly, VXLAN is UDP encapsulation. Do you want to see an example application that adds VXLAN header or strips it? We have several other encapsulation examples for GTP UDP encapsulation https://github.com/intel-go/nff-go/blob/master/examples/nffPktgen/gtp-u/trafficgen.go#L212, GRE encapsulation https://github.com/intel-go/nff-go/blob/master/examples/lb/balancer.go#L58, IPSEC encapsulation https://github.com/intel-go/nff-go/blob/master/examples/ipsec/ipsec_kernel.go#L147 and decapsulation https://github.com/intel-go/nff-go/blob/master/examples/ipsec/ipsec_kernel.go#L52 which you could use to implement your own VXLAN encapsulation and decapsulation applications.