Commit 7f1442cc authored by Adam Wujek's avatar Adam Wujek 💬

userspace/snmpd: change values of "first read" defines (non compatible change)

To make SNMP return objects more consistent, "first read" defines were changed
for following objects in wrsNetworkingStatusGroup:
--wrsEndpointStatus
--wrsSwcoreStatus
--wrsRTUStatus
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 785218ea
......@@ -275,9 +275,9 @@ wrsSFPsStatus OBJECT-TYPE
wrsEndpointStatus OBJECT-TYPE
SYNTAX INTEGER {
na(0),
firstRead(1),
ok(2),
error(3)
ok(1),
error(2),
firstRead(6)
}
MAX-ACCESS read-only
STATUS current
......@@ -292,9 +292,9 @@ wrsEndpointStatus OBJECT-TYPE
wrsSwcoreStatus OBJECT-TYPE
SYNTAX INTEGER {
na(0),
firstRead(1),
ok(2),
error(3)
ok(1),
error(2),
firstRead(6)
}
MAX-ACCESS read-only
STATUS current
......@@ -310,9 +310,9 @@ wrsSwcoreStatus OBJECT-TYPE
wrsRTUStatus OBJECT-TYPE
SYNTAX INTEGER {
na(0),
firstRead(1),
ok(2),
error(3)
ok(1),
error(2),
firstRead(6)
}
MAX-ACCESS read-only
STATUS current
......
......@@ -13,17 +13,17 @@
* normal operation */
#define WRS_SFPS_STATUS_BUG 5 /* warning */
#define WRS_ENDPOINT_STATUS_FR 1 /* ok, first read */
#define WRS_ENDPOINT_STATUS_OK 2 /* ok */
#define WRS_ENDPOINT_STATUS_ERROR 3 /* error */
#define WRS_ENDPOINT_STATUS_OK 1 /* ok */
#define WRS_ENDPOINT_STATUS_ERROR 2 /* error */
#define WRS_ENDPOINT_STATUS_FR 6 /* ok, first read */
#define WRS_SWCORE_STATUS_FR 1 /* ok, first read */
#define WRS_SWCORE_STATUS_OK 2 /* ok */
#define WRS_SWCORE_STATUS_ERROR 3 /* error */
#define WRS_SWCORE_STATUS_OK 1 /* ok */
#define WRS_SWCORE_STATUS_ERROR 2 /* error */
#define WRS_SWCORE_STATUS_FR 6 /* ok, first read */
#define WRS_RTU_STATUS_FR 1 /* ok, first read */
#define WRS_RTU_STATUS_OK 2 /* ok */
#define WRS_RTU_STATUS_ERROR 3 /* error */
#define WRS_RTU_STATUS_OK 1 /* ok */
#define WRS_RTU_STATUS_ERROR 2 /* error */
#define WRS_RTU_STATUS_FR 6 /* ok, first read */
struct wrsNetworkingStatus_s {
int wrsSFPsStatus;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment