author | Korynkevych, RomanX <romanx.korynkevych@intel.com> | |
Thu, 16 Mar 2017 17:21:31 +0000 (17:21 +0000) | ||
committer | Korynkevych, RomanX <romanx.korynkevych@intel.com> | |
Fri, 24 Mar 2017 14:24:07 +0000 (14:24 +0000) | ||
commit | be8bfcd18bd7740b8e76bf373e0bd6202644326b | |
tree | 485f6f22a1acf17b2183b5a8bd8988adda752e52 | tree | snapshot |
parent | 9e30a0c8227538cc11a3f83f021fb944c1279c2c | commit | diff |
snmp_agent: generate table OID based on instance as a key in case index is not specfified.
Based on the SNMP rules when table column is represented as a key
of string type, key should be used while generating OID for each row.
When index is not specified, then it's assumed that instance value is
the key for the specified table.
Change-Id: I9f3fbd9aa018bc9037bd3202e2ed107a302fe1b3
Signed-off-by: Korynkevych, RomanX <romanx.korynkevych@intel.com>
Based on the SNMP rules when table column is represented as a key
of string type, key should be used while generating OID for each row.
When index is not specified, then it's assumed that instance value is
the key for the specified table.
Change-Id: I9f3fbd9aa018bc9037bd3202e2ed107a302fe1b3
Signed-off-by: Korynkevych, RomanX <romanx.korynkevych@intel.com>
src/snmp_agent.c | diff | blob | history |