5d074370 | 04-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
ncsid: add shebang on shell libraries
In order for these files to be clearly identified as shell, it is useful to add the shebang on them. Otherwise, the linters cannot identify them as shell and d
ncsid: add shebang on shell libraries
In order for these files to be clearly identified as shell, it is useful to add the shebang on them. Otherwise, the linters cannot identify them as shell and do not pass them to shellcheck.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia214e5418e24b53af29cbdec151f2838d08ae506
show more ...
|
59ac2c2d | 22-Jul-2022 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are for: * bus_t * exception_t * manager_t * match_t * message_t * object_t * slot_t
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5055fac459cb021ea94686e058e233bcc476a32d
show more ...
|
d7989581 | 27-May-2022 |
William A. Kennington III <wak@google.com> |
ncsid: Fix interruptible RA
Capturing directly from a subshell into a variable blocks the bash process from waiting on a signal. Instead, use `coproc` and `read` to achieve the same result.
Change-
ncsid: Fix interruptible RA
Capturing directly from a subshell into a variable blocks the bash process from waiting on a signal. Instead, use `coproc` and `read` to achieve the same result.
Change-Id: I7ad8b01e2508c5a0c871d77d3a629ac5812656c5 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
a5c9d7a4 | 11-May-2022 |
William A. Kennington III <wak@google.com> |
ncsid: Guarantee MAC override
This allows us to runtime configure the mac address of the link while still being able to have ncsid write an updated one.
Tested: On hardware and verified that the fi
ncsid: Guarantee MAC override
This allows us to runtime configure the mac address of the link while still being able to have ncsid write an updated one.
Tested: On hardware and verified that the file gets written with the MAC updated.
Change-Id: I1081ace0829f686e2e5bb34321433c5eb5b531dd Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
ac9dad14 | 26-May-2022 |
William A. Kennington III <wak@google.com> |
ncsid: update-ra-gw: Always keep RA updated
Even if we aren't using ncsid itself we should still try and update the default router.
Change-Id: Idd8599dcb7003eafa50c03bde58ef5c3cb931e9f Signed-off-b
ncsid: update-ra-gw: Always keep RA updated
Even if we aren't using ncsid itself we should still try and update the default router.
Change-Id: Idd8599dcb7003eafa50c03bde58ef5c3cb931e9f Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
a7af2e08 | 14-Feb-2022 |
William A. Kennington III <wak@google.com> |
ncsid: Fix IP / Gateway updating
Sometimes phosphor-networkd incorrectly determines that DHCP should be enabled. This prevents us from assigning IPs and gateways to the BMC. Disable DHCP to fix assi
ncsid: Fix IP / Gateway updating
Sometimes phosphor-networkd incorrectly determines that DHCP should be enabled. This prevents us from assigning IPs and gateways to the BMC. Disable DHCP to fix assignment.
Change-Id: I91c8da79afb2ff1f1dba924f8c229ee8862bdeab Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
2d6858dd | 11-Feb-2022 |
William A. Kennington III <wak@google.com> |
ncsid: Use per-interface gateway
Change-Id: I97185fc181918ad4668cb4e758eec25c51090b04 Signed-off-by: William A. Kennington III <wak@google.com> |
246bcaa4 | 11-Feb-2022 |
William A. Kennington III <wak@google.com> |
ncsid: Fix update_ra_gw for multi-RA
Change-Id: I2a3e796b39fe3dd4a3de0b347277d846896c010a Signed-off-by: William A. Kennington III <wak@google.com> |
ddf93d57 | 10-Dec-2021 |
William A. Kennington III <wak@google.com> |
ncsid: update_ra_gw: Fix SIGTERM handling
We need to make sure we handle TERMS correctly so the service can shutdown in a reasonable amount of time.
Change-Id: I955f0871d7f9764de7565390913a7db2942e
ncsid: update_ra_gw: Fix SIGTERM handling
We need to make sure we handle TERMS correctly so the service can shutdown in a reasonable amount of time.
Change-Id: I955f0871d7f9764de7565390913a7db2942e418e Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
69f5a77c | 09-Dec-2021 |
William A. Kennington III <wak@google.com> |
ncsid: Only log errors a single time
This reduces the amount of contents in the journal when an NCSI cable is missing or the interface is broken.
It still periodically logs repeat messages, but onl
ncsid: Only log errors a single time
This reduces the amount of contents in the journal when an NCSI cable is missing or the interface is broken.
It still periodically logs repeat messages, but only once per hour instead of potentially many times a second.
Change-Id: Ic2efad4d3dea170863a5d4cbe48668a13007045c Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
379b061f | 04-Nov-2021 |
William A. Kennington III <wak@google.com> |
ncsid: Add service for discovering routers
This will be required for relaying egress traffic from the BMC network once the static network configurations go away. Currently this will just be redundan
ncsid: Add service for discovering routers
This will be required for relaying egress traffic from the BMC network once the static network configurations go away. Currently this will just be redundant behavior with existing gateway discovery.
Change-Id: I26b3f040f0752b948b9c1d9a9110a975f8168f8a Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
2be0536c | 05-Nov-2021 |
William A. Kennington III <wak@google.com> |
ncsid: Ignore delete failures
Some of the spurious objects fail to delete. We should just ignore them as this is normal for any non-static addresses or neighbors.
Change-Id: I10e58b94160bb935a5dd77
ncsid: Ignore delete failures
Some of the spurious objects fail to delete. We should just ignore them as this is normal for any non-static addresses or neighbors.
Change-Id: I10e58b94160bb935a5dd77aefd0b0ecfeaa9d680 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
382d628d | 21-Oct-2021 |
Willy Tu <wltu@google.com> |
build: Update to c++20, c18, and meson >= 0.57.0
Change-Id: I6b4862f1aa2f8778d63b2b905762437071afd9c6 Signed-off-by: Willy Tu <wltu@google.com> |
9a76b6fb | 30-Sep-2021 |
William A. Kennington III <wak@google.com> |
ncsid: Fix update_ra_neighbor.sh license
Change-Id: If4bcdd0f5d816a29e1c29a0f633c5c7e1bae4d05 Signed-off-by: William A. Kennington III <wak@google.com> |
b163a2c1 | 20-May-2021 |
William A. Kennington III <wak@google.com> |
ncsid: Support parsing unsolicited RA announcements
We depend on this for router's whose MACs change over the lifetime of the BMC and need updates even when we can't send neighbor solicitations and
ncsid: Support parsing unsolicited RA announcements
We depend on this for router's whose MACs change over the lifetime of the BMC and need updates even when we can't send neighbor solicitations and receive advertisements.
Change-Id: Id7eb8ee8d44aea597a63276acc698f8fee9059b2 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
3f64f552 | 16-Sep-2021 |
William A. Kennington III <wak@google.com> |
ncsid: Stop targets when daemon stops
We want to make sure dhcp clients and neighbor updaters stop if the ncsi daemon is stopped.
Change-Id: I5a5a0d412621591d3725425110d55d5804b31a0f Signed-off-by:
ncsid: Stop targets when daemon stops
We want to make sure dhcp clients and neighbor updaters stop if the ncsi daemon is stopped.
Change-Id: I5a5a0d412621591d3725425110d55d5804b31a0f Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
d237c6cc | 18-Jun-2021 |
William A. Kennington III <wak@google.com> |
ncsid: build: Fix fallback dependency
Change-Id: Ifc59893845f2b95d62f49528d00a69861436ec41 Signed-off-by: William A. Kennington III <wak@google.com> |
1285115c | 17-Mar-2021 |
William A. Kennington III <wak@google.com> |
meson: Fix build with 0.57.1
Meson doesn't like that we are symlinking subprojects outside the subproject directory. If we invert the links we are able to build again.
We also need to fix any proje
meson: Fix build with 0.57.1
Meson doesn't like that we are symlinking subprojects outside the subproject directory. If we invert the links we are able to build again.
We also need to fix any projects passing arguments which they don't actually accept.
Change-Id: Ie7adf82afabc1becc85c36b3cc632e8ebd4cae5b Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
7d6fa42f | 08-Feb-2021 |
William A. Kennington III <wak@google.com> |
ncsid: Import from gBMC
This is the initial code drop from gBMC.
Google-Bug-Id: 179618516 Upstream: 1e71af914bc8c54d8b91d0a1cf377e2696713c2f Change-Id: Ic653e8271dacd205e04f2bc713071ef2ec5936a4 Sig
ncsid: Import from gBMC
This is the initial code drop from gBMC.
Google-Bug-Id: 179618516 Upstream: 1e71af914bc8c54d8b91d0a1cf377e2696713c2f Change-Id: Ic653e8271dacd205e04f2bc713071ef2ec5936a4 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|