Skip to content

SAI Metadata Issue with Hostif Table Entry Type VLAN – OBJ_ID - #2345

Open
grangaswamy-marvell wants to merge 1 commit into
opencomputeproject:masterfrom
grangaswamy-marvell:grangaswamy_SaiHostifChange
Open

SAI Metadata Issue with Hostif Table Entry Type VLAN – OBJ_ID#2345
grangaswamy-marvell wants to merge 1 commit into
opencomputeproject:masterfrom
grangaswamy-marvell:grangaswamy_SaiHostifChange

Conversation

@grangaswamy-marvell

Copy link
Copy Markdown
 - The SAI specification indicates that OBJ_ID should be a VLAN object when
the table entry type is SAI_HOSTIF_TABLE_ENTRY_TYPE_VLAN.

- However, the standard SAI metadata currently allows only
PORT/LAG/ROUTER_INTERFACE object types for this attribute:
SAI_OBJECT_TYPE_VLAN is currently missing from the allowed object types.
And ROUTER_INTERFACE is not a valid object type for this attribute.

Proposed Fix :

The proper fix is to replace the SAI_OBJECT_TYPE_ROUTER_INTERFACE with
SAI_OBJECT_TYPE_VLAN for SAI_HOSTIF_TABLE_ENTRY_ATTR_OBJ_ID.

Signed-off-by: grangaswamy <grangaswamy@marvell.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant