Conversation
|
|
||
| INTERFACES="" | ||
|
|
||
| #-a provides option 82 circuit id information |
There was a problem hiding this comment.
The comment does not make sense. #Closed
There was a problem hiding this comment.
I think Manny is explaining that the -a option enables the relay agent to use DHCP's option82 function.
Manny, I think you need to actually specify OPTIONS="-a", right?
There was a problem hiding this comment.
Yes, the -a option enables the use of DHCP Option 82. I left Option 82 off by default but it might make more sense to set OPTIONS="-a"
dockers/docker-dhcp-relay/Dockerfile
Outdated
| ENV DEBIAN_FRONTEND=noninteractive | ||
|
|
||
| RUN apt-get update && apt-get -y install \ | ||
| isc-dhcp-relay |
There was a problem hiding this comment.
clean up apt in the same 'RUN' command to save disk space. #Closed
dockers/docker-ptf/Dockerfile
Outdated
| python-dev \ | ||
| wget \ | ||
| cmake \ | ||
| isc-dhcp-server \ |
There was a problem hiding this comment.
- indentation not aligned.
- why install in ptf docker? #Closed
There was a problem hiding this comment.
DHCP server is used for DHCP testing. One option was to create a seperate Docker container for the server but after discussion with Pavel and Darren it seems ok to just install isc-dhcp-server in the ptf docker. The client (ptf code) and server run on the same docker container.
There was a problem hiding this comment.
I think it is better to remove this package from ptf docker since ptf docker is generic docker for testing purpose, what if some other one want to use ptf docker to test another dhcp server implementation?
It is better to move this into the ansible playbook of the test itself.
In reply to: 84995018 [](ancestors = 84995018)
There was a problem hiding this comment.
Okay, that's an easy change. I will install and start dhcp server from playbook instead.
|
|
||
| INTERFACES="" | ||
|
|
||
| #-a provides option 82 circuit id information |
There was a problem hiding this comment.
I think Manny is explaining that the -a option enables the relay agent to use DHCP's option82 function.
Manny, I think you need to actually specify OPTIONS="-a", right?
mbrar
left a comment
There was a problem hiding this comment.
added clean up in dockerfile, fixed indentation, and added option 82 "-a" flag as default for relay config
dockers/docker-dhcp-relay/Dockerfile
Outdated
| COPY isc-dhcp-relay /etc/default/isc-dhcp-relay | ||
|
|
||
| ENTRYPOINT service isc-dhcp-relay start \ | ||
| && /bin/bash |
There was a problem hiding this comment.
do we need to start rsyslog in the docker? how do we provide logging functionaility?
There was a problem hiding this comment.
addressed in latest iteration, used rsyslog
dockers/docker-dhcp-relay/Dockerfile
Outdated
| ## Clean up | ||
| RUN apt-get update && apt-get -y install \ | ||
| isc-dhcp-relay && \ | ||
| apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y |
There was a problem hiding this comment.
Mix tabs with spaces. Several times in this PR. #Closed
dockers/docker-ptf/Dockerfile
Outdated
| python-dev \ | ||
| wget \ | ||
| cmake \ | ||
| isc-dhcp-server \ |
There was a problem hiding this comment.
tab and space mixing #Closed
|
❓ |
b36a160 to
dc84c41
Compare
df46ed418e661a9bccdb2639d8873def356f8ba0 (HEAD -> master, origin/master, origin/HEAD) Fix the LLDP_LOC_CHASSIS not getting populated if no remote neighbors are present (#39) e487532e11cc0e97cfce573b6b997fdd0beeb660 [CI] Set up CI&PR with Azure Pipelines (#38) 3c9f488490a1dbded20dbf2d8a88a5ab4dbda8df Replace swsssdk's SonicV2Connector with swsscommon's implementation (#35) Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
df46ed418e661a9bccdb2639d8873def356f8ba0 (HEAD -> master, origin/master, origin/HEAD) Fix the LLDP_LOC_CHASSIS not getting populated if no remote neighbors are present (sonic-net#39) e487532e11cc0e97cfce573b6b997fdd0beeb660 [CI] Set up CI&PR with Azure Pipelines (sonic-net#38) 3c9f488490a1dbded20dbf2d8a88a5ab4dbda8df Replace swsssdk's SonicV2Connector with swsscommon's implementation (sonic-net#35) Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
df46ed418e661a9bccdb2639d8873def356f8ba0 (HEAD -> master, origin/master, origin/HEAD) Fix the LLDP_LOC_CHASSIS not getting populated if no remote neighbors are present (sonic-net#39) e487532e11cc0e97cfce573b6b997fdd0beeb660 [CI] Set up CI&PR with Azure Pipelines (sonic-net#38) 3c9f488490a1dbded20dbf2d8a88a5ab4dbda8df Replace swsssdk's SonicV2Connector with swsscommon's implementation (sonic-net#35) Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
…-net#38) 1. wrap the apis that are supported by new platform api in a way that to call npapi first and to call sfputil if the former returns NotImplementError. 2. for the functions that only available in sfputil, a helper module is introduced to replace sfputil.
f00efef Longxiang Lyu Wed Mar 16 09:12:46 2022 +0800 Add a command line option to store logs into a separate file (#41) ff2e67d Longxiang Lyu Tue Mar 15 09:10:59 2022 +0800 Add default port cable type (#39) ebbb4d8 Jing Zhang Mon Mar 14 15:41:11 2022 -0700 Prevent switching MUX to "Unknown" (#36) c779b8f Longxiang Lyu Thu Mar 10 21:35:11 2022 +0800 [nonfunctional] Use LinkProberStateMachineBase (#38) b9fedd0 Longxiang Lyu Wed Mar 9 13:03:58 2022 +0800 [NONFUNCTIONAL] Add LinkProberStateMachineBase (#37) bedd42b Longxiang Lyu Wed Mar 9 10:03:00 2022 +0800 Add .clang-format file to format code (#28) 9fe4fc6 Guohan Lu Thu Mar 3 17:51:43 2022 -0800 [doc]: add lgtm badge in README.md c1249d9 Longxiang Lyu Wed Mar 2 18:05:18 2022 +0800 Enable lgtm (#33) b8514c6 Longxiang Lyu Wed Mar 2 13:34:39 2022 +0800 Collect port cable type to use corresponding state machine (#31) 9b59ef9 Longxiang Lyu Wed Mar 2 07:19:33 2022 +0800 Improve make clean (#32)
IP SLA HLD v1
* 3beaadc (HEAD, origin/master, origin/HEAD, master) Improve unit test for gnmi (#38) * a12fcd8 Merge pull request #13 from renukamanavalan/statistics * | 28b2f27 Enable unit test * | 65e3c8f Add log for authentication and add unit test. #12 * | 1b3b838 Merge pull request #8 from ganglyu/fix_pipeline
This reverts commit 617559c.
…tches (sonic-net#38) Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
[code sync] Merge code from sonic-net/sonic-buildimage:202205 to 202205
…lly (sonic-net#639) #### Why I did it src/sonic-swss ``` * 4baf54f - (HEAD -> 202412, origin/202412) SRv6: add dscp_mode configuration for MySID entry (#38) (6 hours ago) [mssonicbld] * ff491ba - [SRv6] Add support for SRv6 VPN (#37) (9 hours ago) [mssonicbld] ``` #### How I did it #### How to verify it #### Description for the changelog
… automatically (sonic-net#702) #### Why I did it src/sonic-platform-common ``` * c8eac22 - (HEAD -> 202412, origin/202412) [code sync] Merge code from sonic-net/sonic-platform-common:202411 to 202412 (#38) (21 hours ago) [mssonicbld] ``` #### How I did it #### How to verify it #### Description for the changelog
…tomatically (sonic-net#899) #### Why I did it src/sonic-linux-kernel ``` * b1aeb41 - (HEAD -> 202412, origin/HEAD, origin/202412) [code sync] Merge code from sonic-net/sonic-linux-kernel:202411 to 202412 (sonic-net#38) (20 hours ago) [mssonicbld] ``` #### How I did it #### How to verify it #### Description for the changelog
…omatically (sonic-net#928) #### Why I did it src/sonic-swss-common ``` * 0087183 - (HEAD -> 202412, origin/HEAD, origin/202412) Merge pull request sonic-net#38 from mssonicbld/sonicbld/202412-merge (35 hours ago) [mssonicbld] * e32b71e - Merge branch '202411' of https://github.com/sonic-net/sonic-swss-common into 202412 (2 days ago) [Sonic Automation] * 3bc4141 - [FC] remove FLEX_COUNTER_DELAY_STATUS_FIELD (sonic-net#982) (3 weeks ago) [mssonicbld] ``` #### How I did it #### How to verify it #### Description for the changelog
…tically (sonic-net#937) #### Why I did it src/sonic-sairedis ``` * 8930167 - (HEAD -> 202412, origin/HEAD, origin/202412) [FC] Fix the update failure in switch debug counters (sonic-net#38) (3 hours ago) [mssonicbld] ``` #### How I did it #### How to verify it #### Description for the changelog
… 202412 (sonic-net#38) ```<br>* b232d6b - (HEAD -> 202412) Merge branch '202411' of https://github.com/sonic-net/sonic-platform-common into 202412 (2025-02-25) [Sonic Automation] * c735073 - (origin/202411) [202411][cmis] Fix cmis.get_error_description speed for passive module (sonic-net#538) (2025-02-12) [Aryeh Feigin] * b7e75d8 - Add 800G innolight PNs (sonic-net#540) (2025-02-07) [mssonicbld]<br>```
…test HEAD automatically (sonic-net#1554) #### Why I did it src/sonic-platform-daemons ``` * b68357c - (HEAD -> 202412, origin/202412) [xcvrd] Create TRANSCEIVER_FIRMWARE_INFO table for all subports (sonic-net#38) (9 hours ago) [mssonicbld] ``` #### How I did it #### How to verify it #### Description for the changelog
* issue:Failedtoload MMP firmware qat_c3xxx_mmp.bin * disabled dirver * disable pinctrl_denverton
* issue:Failedtoload MMP firmware qat_c3xxx_mmp.bin * disabled dirver * disable pinctrl_denverton
* issue:Failedtoload MMP firmware qat_c3xxx_mmp.bin * disabled dirver * disable pinctrl_denverton
-added Dhcp Relay Docker
-added isc-dhcp-server package to ptf docker to avoid manually installing server for testing