Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

SAI API and Attributes Supported on the Multi-PFE SONiC Platform

 

This section describes the SAI APIs and attributes supported on the Juniper Networks’ PTX10008 multi-PFE platform.

Access Control List (ACL)

Table 1 lists the ACL API and attributes supported on the Juniper Networks’ PTX10008 multi-PFE platform. ACL is also known as firewall filters.

Table 1: ACL API and Attributes

API

Object

Attributes

Description

ACL

ACL Counter

SAI_ACL_COUNTER_ATTR_ENABLE_BYTE_COUNT

Enable or disable byte count.

SAI_ACL_COUNTER_ATTR_ENABLE_PACKET_COUNT

Enable or disable packet count.

SAI_ACL_COUNTER_ATTR_TABLE_ID

Defins table object ID.

ACL Entry

SAI_ACL_ENTRY_ATTR_ACTION_COUNTER

Attach or detach counter ID to the entry.

SAI_ACL_ENTRY_ATTR_ACTION_MIRROR_INGRESS

Ingress mirroring (mirror session ID list).

SAI_ACL_ENTRY_ATTR_ACTION_PACKET_ACTION

  • SAI_PACKET_ACTION_DROP

  • SAI_PACKET_ACTION_FORWARD

Defines packet action (drop and forward).

SAI_ACL_ENTRY_ATTR_ACTION_SET_DSCP

Set packet DSCP (6 bits).

SAI_ACL_ENTRY_ATTR_ACTION_SET_POLICER

Apply policers.

SAI_ACL_ENTRY_ATTR_ACTION_SET_TC

Set class of service (traffic class).

SAI_ACL_ENTRY_ATTR_ADMIN_STATE

Define admin state.

SAI_ACL_ENTRY_ATTR_FIELD_ACL_IP_TYPE

  • SAI_ACL_IP_TYPE_ANY

  • SAI_ACL_IP_TYPE_IP

  • SAI_ACL_IP_TYPE_IPV4ANY

  • SAI_ACL_IP_TYPE_IPV6ANY

Define IP type (field mask is not needed). IP type can be defined as any, IPv4 and IPv6 packets, any IPv4 packets, and any IPv6 packets.

SAI_ACL_ENTRY_ATTR_FIELD_DSCP

Define IP DSCP (6 bits).

SAI_ACL_ENTRY_ATTR_FIELD_DST_IP

Define destination IPv4 address.

SAI_ACL_ENTRY_ATTR_FIELD_DST_IPV6

Define destination IPv6 address.

SAI_ACL_ENTRY_ATTR_FIELD_ETHER_TYPE

Define Ethernet type.

  • For ACL table of type L3, only value 0x800 (IPv4) is supported.

  • For ACL table of type L3 version 6, only value 0x86DD (IPv6) is supported.

SAI_ACL_ENTRY_ATTR_FIELD_IP_PROTOCOL

Define IP protocol.

SAI_ACL_ENTRY_ATTR_FIELD_L4_DST_PORT

Define L4 destination port.

SAI_ACL_ENTRY_ATTR_FIELD_L4_SRC_PORT

Define L4 source port.

SAI_ACL_ENTRY_ATTR_FIELD_SRC_IP

Define source IPv4 address.

SAI_ACL_ENTRY_ATTR_FIELD_SRC_IPV6

Define source IPv6 address.

SAI_ACL_ENTRY_ATTR_FIELD_TC

Define class of service (traffic class).

SAI_ACL_ENTRY_ATTR_FIELD_TCP_FLAGS

Define TCP flags (6 bits).

SAI_ACL_ENTRY_ATTR_PRIORITY

Define priority.

SAI_ACL_ENTRY_ATTR_TABLE_ID

Define ACL table object ID.

ACL Table

SAI_ACL_TABLE_ATTR_ACL_BIND_POINT_TYPE_LIST

  • SAI_ACL_BIND_POINT_TYPE_PORT

Define list of bind points where ACL can be applied.

SAI_ACL_TABLE_ATTR_ACL_STAGE

  • SAI_ACL_STAGE_INGRESS

Define ACL stage.

SAI_ACL_TABLE_ATTR_AVAILABLE_ACL_COUNTER

Available ACL counters for ACL table.

SAI_ACL_TABLE_ATTR_AVAILABLE_ACL_ENTRY

Available ACL entries for this table.

SAI_ACL_TABLE_ATTR_FIELD_ACL_RANGE_TYPE

  • SAI_ACL_RANGE_TYPE_L4_DST_PORT_RANGE

  • SAI_ACL_RANGE_TYPE_L4_SRC_PORT_RANGE

  • SAI_ACL_RANGE_TYPE_PACKET_LENGTH

Define range type such as layer 4 destination/source port range and packet length range in bytes.

SAI_ACL_TABLE_ATTR_FIELD_DSCP

Define IP DSCP.

SAI_ACL_TABLE_ATTR_FIELD_DST_IP

Define destination IPv4 address.

SAI_ACL_TABLE_ATTR_FIELD_DST_IPV6

Define destination IPv6 address.

SAI_ACL_TABLE_ATTR_FIELD_ETHER_TYPE

Define Ethernet type.

SAI_ACL_TABLE_ATTR_FIELD_IP_PROTOCOL

Define IP.

SAI_ACL_TABLE_ATTR_FIELD_L4_DST_PORT

Define layer 4 destination port.

SAI_ACL_TABLE_ATTR_FIELD_L4_SRC_PORT

Define layer 4 source port.

SAI_ACL_TABLE_ATTR_FIELD_SRC_IP

Define source IPv4 address.

SAI_ACL_TABLE_ATTR_FIELD_SRC_IPV6

Define source IPv6 address.

SAI_ACL_TABLE_ATTR_FIELD_TC

Define class of service (traffic class).

SAI_ACL_TABLE_ATTR_FIELD_TCP_FLAGS

Define TCP flags.

ACL Table Group

SAI_ACL_TABLE_GROUP_ATTR_ACL_BIND_POINT_TYPE_LIST

  • SAI_ACL_BIND_POINT_TYPE_PORT

Define the list of bind points where the group will be applied.

SAI_ACL_TABLE_GROUP_ATTR_ACL_STAGE

  • SAI_ACL_STAGE_INGRESS

Define the ACL stage.

SAI_ACL_TABLE_GROUP_ATTR_TYPE

  • SAI_ACL_TABLE_GROUP_TYPE_ SEQUENTIAL

Define ACL table group type.

ACL Table Group Member

SAI_ACL_TABLE_GROUP_MEMBER_ATTR_ACL_TABLE_GROUP_ID

Define the ACL group ID.

SAI_ACL_TABLE_GROUP_MEMBER_ATTR_ACL_TABLE_ID

Define ACL table ID.

Class of Service Mapping

Table 2 lists the Class of Service (CoS) mapping API and attributes supported on the Juniper Networks’ PTX10008 multi-PFE platform.

Table 2: Class of Service Mapping API and Attributes

API

Attributes

Description

CoS Mapping

SAI_QOS_MAP_ATTR_MAP_TO_VALUE_LIST

Defines CoS mapping to a list.

SAI_QOS_MAP_ATTR_TYPE

  • SAI_QOS_MAP_TYPE_TC_TO_QUEUE

  • SAI_QOS_MAP_TYPE_DSCP_TO_TC

Defines CoS mapping type.

  • CoS map sets traffic class to queue.

  • CoS map sets DSCP to traffic class.

Class of Service Queue

Table 3 lists the Class of Service (CoS) queue API and attributes supported on the Juniper Networks’ PTX10008 multi-PFE platform.

Table 3: Class of Service Queue API and Attributes

API

Attributes

Description

CoS Queuing

SAI_QUEUE_ATTR_PORT

Defines the port ID to queue.

SAI_QUEUE_ATTR_INDEX

Defines the queue index.

SAI_QUEUE_ATTR_TYPE

Defines the queue type.

SAI_QUEUE_ATTR_WRED_PROFILE_ID

Attach WRED ID to queue.

SAI_QUEUE_ATTR_PARENT_SCHEDULER_NODE

Defines the parent scheduler node.

SAI_QUEUE_ATTR_SCHEDULER_PROFILE_ID

Attach scheduler to queue.

SAI_QUEUE_ATTR_BUFFER_PROFILE_ID

Attach buffer profile to queue.

Class of Service Scheduler Group

Table 4 lists the Class of Service (CoS) scheduler group API and attributes supported on the Juniper Networks’ PTX10008 multi-PFE platform.

Table 4: Class of Service Scheduler Group API and Attributes

API

Attributes

Description

CoS Scheduler Group

SAI_SCHEDULER_GROUP_ATTR_CHILD_COUNT

Defines the number of queues or child groups added to the scheduler.

SAI_SCHEDULER_GROUP_ATTR_CHILD_LIST

Defines the scheduler group child object ID list.

SAI_SCHEDULER_GROUP_ATTR_SCHEDULER_PROFILE_ID

Defines the scheduler profile ID.

SAI_SCHEDULER_GROUP_ATTR_PORT_ID

Defines scheduler group on port.

SAI_SCHEDULER_GROUP_ATTR_MAX_CHILDS

Defines the maximum number of childs on a scheduler group.

SAI_SCHEDULER_GROUP_ATTR_PARENT_NODE

Defines scheduler group parent node.

Class of Service Scheduler

Table 5 lists the Class of Service (CoS) scheduler API and attributes supported on the Juniper Networks’ PTX10008 multi-PFE platform.

Table 5: Class of Service Scheduler API and Attributes

API

Attributes

Description

CoS Scheduler

SAI_SCHEDULER_ATTR_SCHEDULING_TYPE

  • SAI_SCHEDULING_TYPE_STRICT

  • SAI_SCHEDULING_TYPE_WRR

  • SAI_SCHEDULING_TYPE_DWRR

Defines the scheduler type.

  • Defines strict scheduling.

  • Defines Weighted Round-Robin scheduling.

  • Defines Deficit Weighted Round-Robin scheduling.

SAI_SCHEDULER_ATTR_SCHEDULING_WEIGHT

Defines scheduling algorithm weight.

Buffer API

Table 6 lists the buffer API and attributes supported on the Juniper Networks’ PTX10008 multi-PFE platform.

Table 6: Buffer API and Attributes

API

Object

Attributes

Description

Buffer API

Buffer Pool

SAI_BUFFER_POOL_ATTR_SIZE

Buffer pool size in bytes.

Buffer Profile

SAI_BUFFER_PROFILE_ATTR_POOL_ID

Pointer to buffer pool object id.

SAI_BUFFER_PROFILE_ATTR_XOFF_TH

Set the buffer profile XOFF threshold in bytes.

SAI_BUFFER_PROFILE_ATTR_XON_TH

Set the buffer profile XON non-hysteresis threshold in byte.

Host Interface

Table 7 lists the host interface API and attributes supported on the Juniper Networks’ PTX10008 multi-PFE platform.

Table 7: Host Interface API and Attributes

API

Attributes

Description

Host Interface

SAI_HOSTIF_ATTR_NAME

  • SAI_HOSTIF_NAME_SIZE

Define a name for the host interface and the maximum number of characters for the host interface.

SAI_HOSTIF_ATTR_OBJ_ID

Define the host interface object ID.

SAI_HOSTIF_ATTR_OPER_STATUS

Set the operational status for the host interface.

SAI_HOSTIF_ATTR_TYPE

  • SAI_HOSTIF_TYPE_NETDEV

Define the host interface type.

SAI_HOSTIF_TABLE_ENTRY_ATTR_CHANNEL_TYPE

  • SAI_HOSTIF_TABLE_ENTRY_CHANNEL_TYPE_NETDEV_PHYSICAL_PORT

Define the host interface table entry action channel. Define the packets received through the Linux netdev type port.

SAI_HOSTIF_TABLE_ENTRY_ATTR_TYPE

  • SAI_HOSTIF_TABLE_ENTRY_TYPE_WILDCARD

Define the host interface table entry type (wildcard interface, wildcard trap ID).

SAI_HOSTIF_TRAP_ATTR_PACKET_ACTION

Define the packet trap action.

SAI_HOSTIF_TRAP_ATTR_TRAP_GROUP

Define the trap group ID for the trap.

SAI_HOSTIF_TRAP_ATTR_TRAP_PRIORITY

Define trap priority.

SAI_HOSTIF_TRAP_ATTR_TRAP_TYPE

  • SAI_HOSTIF_TRAP_TYPE_ARP_REQUEST

  • SAI_HOSTIF_TRAP_TYPE_BGP

  • SAI_HOSTIF_TRAP_TYPE_DHCP

  • SAI_HOSTIF_TRAP_TYPE_DHCPV6

  • SAI_HOSTIF_TRAP_TYPE_IGMP_TYPE_QUERY

  • SAI_HOSTIF_TRAP_TYPE_IPV6_NEIGHBOR_DISCOVERY

  • SAI_HOSTIF_TRAP_TYPE_LACP

  • SAI_HOSTIF_TRAP_TYPE_LLDP

  • SAI_HOSTIF_TRAP_TYPE_OSPF

  • SAI_HOSTIF_TRAP_TYPE_PIM

  • SAI_HOSTIF_TRAP_TYPE_PVRST

  • SAI_HOSTIF_TRAP_TYPE_SNMP

  • SAI_HOSTIF_TRAP_TYPE_SSH

  • SAI_HOSTIF_TRAP_TYPE_STP

  • SAI_HOSTIF_TRAP_TYPE_TTL_ERROR

  • SAI_HOSTIF_TRAP_TYPE_VRRP

  • SAI_HOSTIF_TRAP_TYPE_BFD

  • SAI_HOSTIF_TRAP_TYPE_BFDV6

Define the host interface trap type.

  • Default packet action is forward.

  • BGP traffic (TCP source port == 179 or TCP destination port == 179) to local router IP address (default packet action is drop).

  • DHCP traffic (UDP ports 67, 68), either L3 broadcast or unicast to local router IP address (default packet action is forward).

  • Default packet action for DHCPv6 is forward.

  • Default packet action for LACP is drop.

  • Default packet action for LLDP is drop.

  • Default packet action for OSPF is forward.

  • Default packet action for PIM is forward.

  • Default packet action for PVRST is drop.

  • SNMP traffic (UDP destination port == 161) to local router IP address (default packet action is drop).

  • SSH traffic (TCP destination port == 22) to local router IP address (default packet action is drop).

  • Packets with TTL 0 or 1 (default packet action is drop).

  • Default packet action for VRRP is forward.

  • Defines Bidirectional Forwarding Detection (BFD) IPv4 packets. Default packet action is forward.

  • Defines Bidirectional Forwarding Detection V6 (BFDv6) IPv6 packets. Default packet action is forward.

SAI_HOSTIF_TRAP_GROUP_ATTR_POLICER

Define SAI policer object ID.

SAI_HOSTIF_TRAP_GROUP_ATTR_QUEUE

Define the egress queue.

Link Aggregation Group

Table 8 lists the Link Aggregation Group (LAG) API and attributes supported on the Juniper Networks’ PTX10008 multi-PFE platform.

Table 8: Link Aggregation Group API and Attributes

API

Attributes

Description

LAG API

SAI_LAG_MEMBER_ATTR_LAG_ID

Define the LAG ID.

SAI_LAG_MEMBER_ATTR_PORT_ID

Define the logical port ID.

SAI_LAG_ATTR_INGRESS_ACL

Define LAG bind point for ingress ACL object.

MACsec

Table 9 lists the MACsec API and attributes supported on the Juniper Networks’ PTX10008 multi-PFE platform.

Table 9: MACsec API and Attributes

API

Attributes

Description

MACsec API

SAI_MACSEC_ATTR_DIRECTION

Defines the MACsec direction.

SAI_MACSEC_ATTR_AVAILABLE_MACSEC_FLOW

Available MACsec flows.

SAI_MACSEC_ATTR_AVAILABLE_MACSEC_SC

Available MACsec Secure Channels.

SAI_MACSEC_ATTR_AVAILABLE_MACSEC_SA

Available MACsec Secure Associations.

SAI_MACSEC_PORT_ATTR_MACSEC_DIRECTION

Defines the direction of MACsec port attributes.

SAI_MACSEC_PORT_ATTR_PORT_ID

Associated port id.

SAI_MACSEC_FLOW_ATTR_MACSEC_DIRECTION

Defines the direction of MACsec Flow attributes.

SAI_MACSEC_SC_ATTR_MACSEC_DIRECTION

Defines the direction of MACsec Secure Channel attributes.

SAI_MACSEC_SC_ATTR_FLOW_ID

MACsec flow object id.

SAI_MACSEC_SC_ATTR_MACSEC_SCI

SCI value for this Secure Channel, carried in MACsec packet SecTAG.

SAI_MACSEC_SC_ATTR_MACSEC_XPN64_ENABLE

SAI_MACSEC_SC_ATTR_MACSEC_EXPLICIT_SCI_ENABLE

Explicit SCI enable for this Secure Channel.

SAI_MACSEC_SC_ATTR_MACSEC_SECTAG_OFFSET

SecTAG offset for this Secure Channel with respect to 802.1ae standard SecTAG location.

SAI_MACSEC_SC_ATTR_ACTIVE_EGRESS_SA_ID

Active MACsec SA identifier.

SAI_MACSEC_SC_ATTR_MACSEC_REPLAY_PROTECTION_ENABLE

Replay protection enable for this Secure Channel.

SAI_MACSEC_SC_ATTR_MACSEC_REPLAY_PROTECTION_WINDOW

Replay protection window for this Secure Channel.

SAI_MACSEC_SA_ATTR_MACSEC_DIRECTION

Defines the direction of MACsec Secure Association attributes.

SAI_MACSEC_SA_ATTR_SC_ID

MACSEC Secure Channel object id

SAI_MACSEC_SA_ATTR_AN

AN value (2-bit) for this Secure Channel, carried in MACsec packet SecTAG. The value must be distinct from other Secure Associations for the same Secure Channel.

SAI_MACSEC_SA_ATTR_ENCRYPTION_ENABLE

SAI_MACSEC_SA_ATTR_SAK_256_BITS

SAI_MACSEC_SAI_ATTR_SAK

SAI_MACSEC_SA_ATTR_SALT

MACsec Salt used for encryption/decryption.

SAI_MACSEC_SA_ATTR_AUTH_KEY

MACsec Authentication Key

SAI_MACSEC_SA_ATTR_XPN

MACsec packet number (PN/XPN). For ingress, largest received packet number. For egress, 1 less than the next packet number.

SAI_MACSEC_SA_ATTR_MINIMUM_XPN

Configured minimum acceptable MACsec packet number (PN/XPN). Updated by value from MACsec peer by Key Agreement protocol.

Mirroring

Table 10 lists the mirror API and attributes supported on the Juniper Networks’ PTX10008 multi-PFE platform.

Table 10: Mirror API and Attributes

API

Attributes

Description

Mirror API

SAI_MIRROR_SESSION_ATTR_DST_IP_ADDRESS

Define the destination tunnel IP address.

SAI_MIRROR_SESSION_ATTR_DST_MAC_ADDRESS

Define the Layer 2 destination MAC address.

SAI_MIRROR_SESSION_ATTR_ERSPAN_ENCAPSULATION_TYPE

  • SAI_ERSPAN_ENCAPSULATION_TYPE_MIRROR_L3_GRE_TUNNEL

Define the encapsulation type (L3 GRE tunnel encapsulation).

SAI_MIRROR_SESSION_ATTR_GRE_PROTOCOL_TYPE

Define valid for ERSPAN, GRE protocol ID.

SAI_MIRROR_SESSION_ATTR_IPHDR_VERSION

Define the tunnel IP header version.

SAI_MIRROR_SESSION_ATTR_MONITOR_PORT

Destination/Analyzer/Monitor port.

SAI_MIRROR_SESSION_ATTR_SRC_IP_ADDRESS

Tunnel source IP address.

SAI_MIRROR_SESSION_ATTR_SRC_MAC_ADDRESS

Layer 2 source MAC address.

SAI_MIRROR_SESSION_ATTR_TC

Define class of service (traffic class).

SAI_MIRROR_SESSION_ATTR_TOS

Tunnel header TOS.

SAI_MIRROR_SESSION_ATTR_TTL

Tunnel header TTL.

SAI_MIRROR_SESSION_ATTR_TYPE

Mirror type SPAN/RSPAN/ERSPAN.

SAI_MIRROR_SESSION_ATTR_VLAN_CFI

Layer 2 header VLAN CFI (1 bit). Valid for RSPAN or ERSPAN with a valid VLAN header.

SAI_MIRROR_SESSION_ATTR_VLAN_HEADER_VALID

Define a valid Layer 2 header.

SAI_MIRROR_SESSION_ATTR_VLAN_ID

Define Layer 2 header VLAN ID.

SAI_MIRROR_SESSION_ATTR_VLAN_PRI

Define Layer 2 header packet priority (3 bits).

SAI_MIRROR_SESSION_ATTR_VLAN_TPID

Define Layer 2 header TPID.

MPLS

Table 11 lists the MPLS API and attributes supported on the Juniper Networks’ PTX10008 multi-PFE platform.

Table 11: MPLS API and Attributes

API

Attributes

Description

MPLS API

SAI_INSEG_ENTRY_ATTR_PACKET_ACTION

Define packet action.

SAI_INSEG_ENTRY_ATTR_NEXT_HOP_ID

Define the next hop ID.

SAI_INSEG_ENTRY_ATTR_NUM_OF_POP

Define the number of pops.

Neighbor

Table 12 lists the neighbor API and attributes supported on the Juniper Networks’ PTX10008 multi-PFE platform.

Table 12: Neighbor API and Attributes

API

Attributes

Description

Neighbor API

SAI_NEIGHBOR_ENTRY_ATTR_DST_MAC_ADDRESS

Define the destination MAC address for the neighbor.

Next-hop

Table 13 lists the next-hop API and attributes supported on the Juniper Networks’ PTX10008 multi-PFE platform.

Table 13: Next-hop API and Attributes

API

Attributes

Description

Next-hop API

SAI_NEXT_HOP_ATTR_TYPE

Define next-hop entry type.

SAI_NEXT_HOP_ATTR_IP

Define next-hop entry IPv4 address.

SAI_NEXT_HOP_ATTR_ROUTER_INTERFACE_ID

Define next-hop entry router interface ID.

SAI_NEXT_HOP_ATTR_LABELSTACK

Define push label.

Next-hop Group

Table 14 lists the next-hop group API and attributes supported on the Juniper Networks’ PTX10008 multi-PFE platform.

Table 14: Next-hop Group API and Attributes

API

Attributes

Description

Next-hop Group API

SAI_NEXT_HOP_GROUP_ATTR_TYPE

Define the next-hop group type.

SAI_NEXT_HOP_GROUP_MEMBER_ATTR_NEXT_HOP_GROUP_ID

Define the next-hop group ID.

SAI_NEXT_HOP_GROUP_MEMBER_ATTR_NEXT_HOP_ID

Define the next-hop ID.

Policer

Table 15 lists the policer API and attributes supported on the Juniper Networks’ PTX10008 multi-PFE platform.

Table 15: Policer API and Attributes

API

Attributes

Description

Policer API

SAI_POLICER_ATTR_CBS

Committed burst size bytes/packets based on SAI_POLICER_ATTR_METER_TYPE.

SAI_POLICER_ATTR_CIR

Committed information rate BPS/PPS based on SAI_POLICER_ATTR_METER_TYPE

SAI_POLICER_ATTR_COLOR_SOURCE

Define policer color source.

SAI_POLICER_ATTR_GREEN_PACKET_ACTION

Define action to take for green color packets. Only action == drop supported.

SAI_POLICER_ATTR_METER_TYPE

Define policer meter type. Only type == bytes supported.

SAI_POLICER_ATTR_MODE

Define policer mode.

SAI_POLICER_ATTR_PBS

Define peak burst size bytes/packets based on SAI_POLICER_ATTR_METER_TYPE

SAI_POLICER_ATTR_PIR

Define peak information rate BPS/PPS based on SAI_POLICER_ATTR_METER_TYPE

SAI_POLICER_ATTR_RED_PACKET_ACTION

Define action to take for RED color packets. Only action == drop supported.

SAI_POLICER_ATTR_YELLOW_PACKET_ACTION

Define action to take for Yellow color packets. Only action == drop supported.

Port

Table 16 lists the port API, attributes, and statistics supported on the Juniper Networks’ PTX10008 multi-PFE platform.

Table 16: Port API and Attributes

API

Attributes and Statistics

Description

Port API

SAI_PORT_ATTR_ADMIN_STATE

Define administrative mode/state.

SAI_PORT_ATTR_ADVERTISED_SPEED

Query/configure the list of advertised port speed (full-duplex) in Mbps.

SAI_PORT_ATTR_AUTO_NEG_MODE

Define the auto-negotiation configuration.

SAI_PORT_ATTR_HW_LANE_LIST

Define the hardware lane list.

SAI_PORT_ATTR_INGRESS_ACL

Define port bind point for ingress ACL object.

SAI_PORT_ATTR_MTU

Define MTU.

SAI_PORT_ATTR_OPER_STATUS

Define the operational status.

SAI_PORT_ATTR_QOS_DSCP_TO_TC_MAP

Enable DSCP to TC mAP on port.

SAI_PORT_ATTR_QOS_EGRESS_BUFFER_PROFILE_LIST

Define egress buffer profiles for port.

SAI_PORT_ATTR_QOS_INGRESS_BUFFER_PROFILE_LIST

Define ingress buffer profiles for port.

SAI_PORT_ATTR_QOS_NUMBER_OF_QUEUES

Define the number of queues on port.

SAI_PORT_ATTR_QOS_NUMBER_OF_SCHEDULER_GROUPS

Define the number of scheduler groups on port.

SAI_PORT_ATTR_QOS_QUEUE_LIST

Define the list of queues for the port.

SAI_PORT_ATTR_QOS_SCHEDULER_GROUP_LIST

Define the list of scheduler groups for the port.

SAI_PORT_ATTR_QOS_TC_TO_QUEUE_MAP

Enable TC to queue map on port.

SAI_PORT_ATTR_SPEED

Define speed in Mbps.

SAI_PORT_ATTR_SUPPORTED_SPEED

Query the list of supported port speed (full-duplex) in Mbps.

SAI_PORT_STAT_IF_IN_OCTETS

Port statistics if there are octets.

SAI_PORT_STAT_IF_IN_UCAST_PKTS

Port statistics if in unicast packets.

SAI_PORT_STAT_IF_IN_NON_UCAST_PKTS

Port statistics if in non-unicast packets.

SAI_PORT_STAT_IF_IN_DISCARDS

Port statistics if there are discards.

SAI_PORT_STAT_IF_IN_ERRORS

Port statistics if there are errors.

SAI_PORT_STAT_IF_IN_UNKNOWN_PROTOS

Port statistics if there are unknown protocols.

SAI_PORT_STAT_IF_IN_BROADCAST_PKTS

Port statistics if there are broadcast packets.

SAI_PORT_STAT_IF_IN_MULTICAST_PKTS

Port statistics if there are multicast packets.

SAI_PORT_STAT_IF_OUT_OCTETS

Port statistics if there are out packets.

SAI_PORT_STAT_IF_OUT_UCAST_PKTS

Port statistics if there are out unicast packets.

SAI_PORT_STAT_IF_OUT_NON_UCAST_PKTS

Port statistics if there are out non-unicast packets.

SAI_PORT_STAT_IF_OUT_DISCARDS

Port statistics if there are out discards.

SAI_PORT_STAT_IF_OUT_ERRORS

Port statistics if there are out errors.

SAI_PORT_STAT_IF_OUT_QLEN

Port statistics if there are out queue length.

SAI_PORT_STAT_IF_OUT_BROADCAST_PKTS

Port statistics if there are out broadcast packets.

SAI_PORT_STAT_IF_OUT_MULTICAST_PKTS

Port statistics if there are out multicast packets.

Router Interface

Table 17 lists the router interface API, attributes, and statistics supported on the Juniper Networks’ PTX10008 multi-PFE platform.

Table 17: Router Interface API and Attributes

API

Attributes and Statistics

Description

Router Interface API

SAI_ROUTER_INTERFACE_ATTR_BRIDGE_ID

Define the associated bridge ID.

SAI_ROUTER_INTERFACE_ATTR_MTU

Define the MTU.

SAI_ROUTER_INTERFACE_ATTR_PORT_ID

Define the associated port, system port, or LAG object ID.

SAI_ROUTER_INTERFACE_ATTR_SRC_MAC_ADDRESS

Define MAC address.

SAI_ROUTER_INTERFACE_ATTR_TYPE

  • SAI_ROUTER_INTERFACE_TYPE_BRIDGE

  • SAI_ROUTER_INTERFACE_TYPE_LOOPBACK

  • SAI_ROUTER_INTERFACE_TYPE_PORT

  • SAI_ROUTER_INTERFACE_TYPE_VLAN

  • SAI_ROUTER_INTERFACE_TYPE_MPLS_ROUTER

Define the router interface type (bridge, loopbak, port, VLAN, and MPLS router).

SAI_ROUTER_INTERFACE_ATTR_VIRTUAL_ROUTER_ID

Define the virtual router ID.

SAI_ROUTER_INTERFACE_ATTR_VLAN_ID

Define the associated VLAN.

SAI_ROUTER_INTERFACE_STAT_IN_ERROR_OCTETS

Byte statistics count for packets having errors on ingress router.

SAI_ROUTER_INTERFACE_STAT_IN_ERROR_PACKETS

Packet statistics count for packets having errors on ingress router.

SAI_ROUTER_INTERFACE_STAT_IN_OCTETS

Ingress byte statistics count.

SAI_ROUTER_INTERFACE_STAT_IN_PACKETS

Ingress packet statistics count.

SAI_ROUTER_INTERFACE_STAT_OUT_ERROR_OCTETS

Byte statistics count for packets having errors on egress router.

SAI_ROUTER_INTERFACE_STAT_OUT_ERROR_PACKETS

Packet statistics count for packets having errors on egress router.

SAI_ROUTER_INTERFACE_STAT_OUT_OCTETS

Egress byte statistics count.

SAI_ROUTER_INTERFACE_STAT_OUT_PACKETS

Egress packet statistics count.

Routing

Table 18 lists the route API and attributes supported on the Juniper Networks’ PTX10008 multi-PFE platform.

Table 18: Route API and Attributes

API

Attributes

Description

Route API

SAI_ROUTE_ENTRY_ATTR_PACKET_ACTION

Defines route entry interface packet action.

SAI_ROUTE_ENTRY_ATTR_NEXT_HOP_ID

Defines next hop or next hop group ID for the packet, or a router interface in case of directly reachable route, or the CPU port in case of IP2ME route.

Switching

Table 19 lists the switch API and attributes supported on the Juniper Networks’ PTX10008 multi-PFE platform.

Table 19: Switch API and Attributes

API

Attributes

Description

Switch API

SAI_SWITCH_ATTR_ACL_ENTRY_MAXIMUM_PRIORITY

Define the maximum priority for ACL entry.

SAI_SWITCH_ATTR_ACL_ENTRY_MINIMUM_PRIORITY

Define the minimum priority for ACL entry.

SAI_SWITCH_ATTR_AVAILABLE_ACL_TABLE

Define the available ACL tables.

SAI_SWITCH_ATTR_AVAILABLE_ACL_TABLE_GROUP

Define the available ACL table groups.

SAI_SWITCH_ATTR_AVAILABLE_FDB_ENTRY

Define the available FDB entries.

SAI_SWITCH_ATTR_AVAILABLE_IPV4_NEIGHBOR_ENTRY

Define the available IPv4 neighbor entries.

SAI_SWITCH_ATTR_AVAILABLE_IPV4_NEXTHOP_ENTRY

Define the available IPv4 next-hop entries.

SAI_SWITCH_ATTR_AVAILABLE_IPV4_ROUTE_ENTRY

Define the available IPv4 routes.

SAI_SWITCH_ATTR_AVAILABLE_IPV6_NEIGHBOR_ENTRY

Define the available IPv6 neighbor entries.

SAI_SWITCH_ATTR_AVAILABLE_IPV6_NEXTHOP_ENTRY

Define the available IPv6 next-hop entries.

SAI_SWITCH_ATTR_AVAILABLE_IPV6_ROUTE_ENTRY

Define the available IPv6 routes.

SAI_SWITCH_ATTR_AVAILABLE_NEXT_HOP_GROUP_ENTRY

Define the available next-hop group entries.

SAI_SWITCH_ATTR_AVAILABLE_NEXT_HOP_GROUP_MEMBER_ENTRY

Define the available next-hop group member entries.

SAI_SWITCH_ATTR_CPU_PORT

Get the CPU port.

SAI_SWITCH_ATTR_DEFAULT_1Q_BRIDGE_ID

Default .1Q bridge ID.

SAI_SWITCH_ATTR_DEFAULT_TRAP_GROUP

Default trap group.

SAI_SWITCH_ATTR_DEFAULT_VIRTUAL_ROUTER_ID

Default virtual router ID.

SAI_SWITCH_ATTR_DEFAULT_VLAN_ID

Default VLAN ID.

SAI_SWITCH_ATTR_ECMP_DEFAULT_HASH_SEED

Default ECMP hash seed.

SAI_SWITCH_ATTR_INIT_SWITCH

Set to switch initialization or connect to NPU/SDK.

SAI_SWITCH_ATTR_LAG_DEFAULT_HASH_SEED

Default LAG hash seed.

SAI_SWITCH_ATTR_NUMBER_OF_ECMP_GROUPS

ECMP number of group.

SAI_SWITCH_ATTR_PORT_LIST

Get the port list.

SAI_SWITCH_ATTR_PORT_MAX_MTU

Get the maximun MTU in bytes, supported by the switch.

SAI_SWITCH_ATTR_PORT_NUMBER

Number of active (created) ports on the switch.

SAI_SWITCH_ATTR_PORT_STATE_CHANGE_NOTIFY

Port state change notification callback function passed to the adapter.

SAI_SWITCH_ATTR_SHUTDOWN_REQUEST_NOTIFY

Shutdown notification callback function passed to the adapter.

SAI_SWITCH_ATTR_SRC_MAC_ADDRESS

Default switch MAC Address.

WRED

Table 20 lists the WRED API and attributes supported on the Juniper Networks’ PTX10008 multi-PFE platform.

Table 20: WRED API and Attributes

API

Attributes

Description

WRED API

SAI_WRED_ATTR_GREEN_ENABLE

Define WRED profile to enable green.

SAI_WRED_ATTR_GREEN_DROP_PROBABILITY

Define WRED profile to enable green drop probability.

SAI_WRED_ATTR_GREEN_MIN_THRESHOLD

Green minimum threshold bytes.

SAI_WRED_ATTR_GREEN_MAX_THRESHOLD

Green maximum threshold bytes.

SAI_WRED_ATTR_RED_ENABLE

Define WRED profile to enable red.

SAI_WRED_ATTR_RED_DROP_PROBABILITY

Define WRED profile to enable red drop probability.

SAI_WRED_ATTR_RED_MIN_THRESHOLD

Red minimum threshold bytes.

SAI_WRED_ATTR_RED_MAX_THRESHOLD

Red maximum threshold bytes.

SAI_WRED_ATTR_YELLOW_ENABLE

Define WRED profile to enable yellow.

SAI_WRED_ATTR_YELLOW_DROP_PROBABILITY

Define WRED profile to enable yellow drop probability.

SAI_WRED_ATTR_YELLOW_MIN_THRESHOLD

Yellow minimum threshold bytes.

SAI_WRED_ATTR_YELLOW_MAX_THRESHOLD

Yellow maximum threshold bytes.