Network integration - open-switch/opx-docs GitHub Wiki
You have two available methods for network configuration — using the CPS object library APIs or Linux commands (Linux native APIs). The network adaptation service (NAS) handles CPS API calls and programs the NPU accordingly. The NAS Linux adapter listens to Linux Netlink events for Layer 2 and Layer 3 configurations, and makes corresponding CPS calls to NAS to program the NPU.
Feature Overview
- Interfaces — Physical, link aggregation, virtual local area network (VLAN), fanout (4x10G) using scripts, statistics
- Layer 2 bridging — Link layer discovery protocol (LLDP), spanning-tree protocol (STP), VLAN
- Layer 3 routing — Equal cost multi-path (ECMP), IPv4, IPv6, unicast
- Access control lists — Physical port (NPU)
- Quality of service — 802.1p, DSCP, WRED, CoPP
- Monitoring - Mirroring, sFlow
Unavailable features using Linux commands
Some features are not supported by Netlink and can only be performed using the CPS API.
- Fanout interface configuration
- Layer 2 MAC address table configuration
- QoS and ACL configuration
- Port monitoring, sFlow configuration, and port and VLAN statistics