The following small applications are provided along with OF-DPA that invoke OF-DPA APIs via RPC.
- client_acl: installs entries in the Policy ACL Flow Table
- client_bridging: installs entries in the Bridging Flow Table.
- client_debugcomp: enables/disables component debugging mode. Refer to ofdpaDebugComponentSet() and ofdpaDebugComponentGet()
- client_debuglvl: sets OF-DPA debug verbosity. Refer ofdpaDebugLvl() and ofdpaDebugLvlGet()
- client_event: sample program to receive events from OF-DPA
- client_flowtable_dump: prints flow table entries
- client_pkt_txrx: sample program to receive and transmit packets from and to OF-DPA
- client_port: configures and gets port configuration
- client_routing: installs entries in the Unicast Routing Flow Table and the Multicast Routing Flow Table
- client_srcmac_learn: enables, disables Source MAC learning mode of OF-DPA
- client_termmac: installs entries in the Termination MAC Flow Table
- client_vlan: installs entries in the VLAN Flow Table
- client_group: creates action Groups
- client_tunnel_tenant: creates a tenant
- client_tunnel_ecmp_nexthop: creates a Tunnel ECMP next hop group
- client_tunnel_ecmp_nexthop_member: adds Tunnel ECMP next hop group members
- client_tunnel_nexthop: creates Tunnel next hop
- client_tunnel_port: creates Tunnel logical ports
- client_tunnel_port_tenant: adds the tunnel logical ports to a tenant
- client_cfg_purge: purges entries from all the flow tables and groups
- client_ingress_port: adds an ingress port flow
Building the Example Programs
The example applications may be built using following command.
#make client
This command must be issued in the directory ofdpa/output/<platform>.