From 9cbfdc40434a41fece68e257dc368fcbb800853f Mon Sep 17 00:00:00 2001 From: PADMANABHAN NARAYANAN Date: Tue, 30 Jun 2020 15:33:43 -0700 Subject: [PATCH] Add PORT_INDEX_TABLE --- doc/swss-schema.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/swss-schema.md b/doc/swss-schema.md index 8cb191a231..4320b35f85 100644 --- a/doc/swss-schema.md +++ b/doc/swss-schema.md @@ -901,6 +901,12 @@ Stores information for physical switch ports managed by the switch chip. Ports t key = VRF_OBJECT_TABLE|vrf_name ; vrf_name start with 'Vrf' prefix state = "ok" ; vrf entry exist in orchagent +### PORT_INDEX_TABLE +Provides a mapping between an interface's Linux ifIndex and the port index. + + key = PORT_INDEX_TABLE|ifname ; Interface name : ifname must be unique + index = 1*5DIGIT ; Port index + ifindex = 1*5DIGIT ; Linux ifIndex, as given in "ip link show" ## Configuration files What configuration files should we have? Do apps, orch agent each need separate files?