You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
modified
1/ saiapi.j2 logic for mandatory variables (affecting all vendor LIBSAI)
this is mostly this check:
{% for key in table['keys'] %}
{% if key.isattribute != 'false' %} <<<<<<<<<<<<<<<< is this check stating: this parameter is not part of any lookup key, so no need to make it mandatory ? (this would be the case for the VNI we get from VNET, that VNI being only used as packet data on outbound).
The key.isattribute was meant to be used in cases where the table keys also needed to be part of the attribute enums. Looks like this is deprecated and not being used anymote. The removal of the if condition generates the same output.
@vijasrin
part of this commit
Author: Vijay Srinivasan
Revision: add355e
Date: 2023-06-21 12:44:23
Comment: Adding support for metering (#365)
See List of Changed Symbols
modified
1/ saiapi.j2 logic for mandatory variables (affecting all vendor LIBSAI)
this is mostly this check:
{% for key in table['keys'] %}
{% if key.isattribute != 'false' %} <<<<<<<<<<<<<<<< is this check stating: this parameter is not part of any lookup key, so no need to make it mandatory ? (this would be the case for the VNI we get from VNET, that VNI being only used as packet data on outbound).
{% if key.type == 'sai_uint16_t' %}
2/ commented out in BMV2 the expected/match param logic (just BMV2 sai)
any reason for this?
The text was updated successfully, but these errors were encountered: