Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dhcp-relay]: Add DHCP Relay Monitor (#3886) #4004

Merged
merged 3 commits into from
Jan 14, 2020

Conversation

tahmed-dev
Copy link
Contributor

DHCP relay MONitor (dhcpmon) keeps track of DORA messages. If DHCP Relay
is detected to be not forwarding DORA message, dhcpmon will log such event
to syslog. Under the hood dhcpmon keeps counts of clients DR messages,
forwarded DR messages, DHCP server OA messages, and forwarded OA messages.
dhcpmon will check every 12 sec (configurable) if counts are monotonically
increasing and record snapshot of those counters. dhcpmon will report
discrepancies when detected between current counters and snapshot counters.

pull-request: #3886
signed-off-by: Tamer Ahmed [email protected]

@tahmed-dev tahmed-dev requested a review from yxieca January 10, 2020 01:03
@tahmed-dev tahmed-dev force-pushed the taahme/port-dhcpmon-201811 branch from da1133c to f05fed2 Compare January 10, 2020 17:20
@lguohan
Copy link
Collaborator

lguohan commented Jan 10, 2020

build failure? can you take a look?

@tahmed-dev
Copy link
Contributor Author

build failure? can you take a look?

Ack

DHCP relay MONitor (dhcpmon) keeps track of DORA messages. If DHCP Relay
is detected to be not forwarding DORA message, dhcpmon will log such event
to syslog. Under the hood dhcpmon keeps counts of clients DR messages,
forwarded DR messages, DHCP server OA messages, and forwarded OA messages.
dhcpmon will check every 12 sec (configurable) if counts are monotonically
increasing and record snapshot of those counters. dhcpmon will report
discrepancies when detected between current counters and snapshot counters.

pull-request: sonic-net#3886
signed-off-by: Tamer Ahmed <[email protected]>
@tahmed-dev tahmed-dev force-pushed the taahme/port-dhcpmon-201811 branch from 185218b to f2f554c Compare January 14, 2020 02:24
@tahmed-dev tahmed-dev merged commit 1fd4a36 into sonic-net:201811 Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants