OpenNSL API Guide and Reference Manual
|
Platform Setup page list the bring up instructions and on how to enable tranceiver transmit power for applicable platforms.
The following page explain how to Install and Execute OpenNSL on x86 based CPU platforms.
The OpenNSL target deliverables are available in opennsl_root/bin/<platform> directory.
Use the following commands to install OpenNSL Linux kernel modules
# mknod /dev/linux-kernel-bde c 127 0 # mknod /dev/linux-user-bde c 126 0 # mknod /dev/linux-bcm-knet c 122 0 # insmod linux-kernel-bde.ko # insmod linux-user-bde.ko # insmod linux-bcm-knet.ko
Install OpenNSL shared library. The destination directory to install the shared library depends on the host environment configuration. Install the library files in a location included in the system's library search path.
# mv libopennsl.so.1 /usr/lib # cd /usr/lib # ln -sf libopennsl.so.1 libopennsl.so
cd to target deliverables directory and run example applications
# chmod +x example_l2_firewall #./example_l2_firewall
Issue "example_l2_firewall –help" for usage of the application.
The following table lists the support of sample applications on various platforms.
Application | Platforms |
---|---|
Buffer Statistics (BST) | Platforms with Trident2 and Tomahawk silicons |
Others | All platforms |