Skip to content

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

Merged
tahmed-dev merged 3 commits intosonic-net:201811from
tahmed-dev:taahme/port-dhcpmon-201811
Jan 14, 2020
Merged

[dhcp-relay]: Add DHCP Relay Monitor (#3886)#4004
tahmed-dev merged 3 commits intosonic-net:201811from
tahmed-dev:taahme/port-dhcpmon-201811

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 tamer.ahmed@microsoft.com

@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 <tamer.ahmed@microsoft.com>
@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
mssonicbld added a commit that referenced this pull request Mar 24, 2026
…lly (#26353)

#### Why I did it
src/sonic-swss
```
* 67198295 - (HEAD -> master, origin/master, origin/HEAD) [buffermgrd]: Update PG profile on cable length change (#4004) (9 hours ago) [jithenderkondam]
```
#### How I did it
#### How to verify it
#### Description for the changelog
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