History log of /openbmc/google-misc/nemora-postd/subprojects/ncsid/ (Results 26 – 44 of 44)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
5d07437004-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 ...

59ac2c2d22-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 ...

d798958127-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 ...

a5c9d7a411-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 ...

ac9dad1426-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 ...

a7af2e0814-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 ...

2d6858dd11-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>

246bcaa411-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>

ddf93d5710-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 ...

69f5a77c09-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 ...

379b061f04-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 ...

2be0536c05-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 ...

382d628d21-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>

9a76b6fb30-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>

b163a2c120-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 ...

3f64f55216-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 ...

d237c6cc18-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>


/openbmc/google-misc/.gitignore
/openbmc/google-misc/MAINTAINERS
/openbmc/google-misc/OWNERS
/openbmc/google-misc/meson.build
/openbmc/google-misc/nemora-postd
/openbmc/google-misc/subprojects/acpi-power-state-daemon/meson.build
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/MAINTAINERS
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/meson.build
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/metric.cpp
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/metricblob.proto
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/test/util_test.cpp
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/util.cpp
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/util.hpp
/openbmc/google-misc/subprojects/ncsid/src/meson.build
/openbmc/google-misc/subprojects/nemora-postd/MAINTAINERS
/openbmc/google-misc/subprojects/nemora-postd/OWNERS
/openbmc/google-misc/subprojects/nemora-postd/README.md
/openbmc/google-misc/subprojects/nemora-postd/event_message.proto
/openbmc/google-misc/subprojects/nemora-postd/meson.build
/openbmc/google-misc/subprojects/nemora-postd/nemorad.cpp
/openbmc/google-misc/subprojects/nemora-postd/src/default_addresses.h
/openbmc/google-misc/subprojects/nemora-postd/src/host_manager.cpp
/openbmc/google-misc/subprojects/nemora-postd/src/host_manager.hpp
/openbmc/google-misc/subprojects/nemora-postd/src/nemora.cpp
/openbmc/google-misc/subprojects/nemora-postd/src/nemora.hpp
/openbmc/google-misc/subprojects/nemora-postd/src/nemora_types.hpp
/openbmc/google-misc/subprojects/nemora-postd/src/serializer.cpp
/openbmc/google-misc/subprojects/nemora-postd/src/serializer.hpp
/openbmc/google-misc/subprojects/nemora-postd/src/socket_manager.cpp
/openbmc/google-misc/subprojects/nemora-postd/src/socket_manager.hpp
/openbmc/google-misc/subprojects/nemora-postd/subprojects
/openbmc/google-misc/subprojects/phosphor-dbus-interfaces.wrap
/openbmc/google-misc/subprojects/phosphor-logging.wrap
1285115c17-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 ...


/openbmc/google-misc/.clang-ignore
/openbmc/google-misc/.gitignore
/openbmc/google-misc/acpi-power-state-daemon
/openbmc/google-misc/hello.c
/openbmc/google-misc/meson.build
/openbmc/google-misc/metrics-ipmi-blobs
/openbmc/google-misc/ncsid
/openbmc/google-misc/subprojects/acpi-power-state-daemon/acpi-power-state.service.in
/openbmc/google-misc/subprojects/acpi-power-state-daemon/acpi_power_state.cpp
/openbmc/google-misc/subprojects/acpi-power-state-daemon/host-s0-state.target
/openbmc/google-misc/subprojects/acpi-power-state-daemon/host-s5-state.target
/openbmc/google-misc/subprojects/acpi-power-state-daemon/meson.build
/openbmc/google-misc/subprojects/acpi-power-state-daemon/subprojects
/openbmc/google-misc/subprojects/googletest.wrap
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/README.md
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/handler.cpp
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/handler.hpp
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/main.cpp
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/meson.build
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/meson_options.txt
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/metric.cpp
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/metric.hpp
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/metricblob.proto
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/subprojects
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/test/meson.build
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/test/util_test.cpp
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/util.cpp
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/util.hpp
/openbmc/google-misc/subprojects/ncsid/README.md
/openbmc/google-misc/subprojects/ncsid/doc/ncsid_arch.dot
/openbmc/google-misc/subprojects/ncsid/doc/ncsid_arch.png
/openbmc/google-misc/subprojects/ncsid/doc/ncsid_internals.md
/openbmc/google-misc/subprojects/ncsid/doc/ncsid_test_arch.dot
/openbmc/google-misc/subprojects/ncsid/doc/ncsid_test_arch.png
/openbmc/google-misc/subprojects/ncsid/meson.build
/openbmc/google-misc/subprojects/ncsid/meson_options.txt
/openbmc/google-misc/subprojects/ncsid/src/common_defs.h
/openbmc/google-misc/subprojects/ncsid/src/dhcp4@.service.in
/openbmc/google-misc/subprojects/ncsid/src/dhcp6@.service.in
/openbmc/google-misc/subprojects/ncsid/src/meson.build
/openbmc/google-misc/subprojects/ncsid/src/ncsi_sockio.cpp
/openbmc/google-misc/subprojects/ncsid/src/ncsi_sockio.h
/openbmc/google-misc/subprojects/ncsid/src/ncsi_state_machine.cpp
/openbmc/google-misc/subprojects/ncsid/src/ncsi_state_machine.h
/openbmc/google-misc/subprojects/ncsid/src/ncsid.cpp
/openbmc/google-misc/subprojects/ncsid/src/ncsid@.service.in
/openbmc/google-misc/subprojects/ncsid/src/ncsid_lib.sh
/openbmc/google-misc/subprojects/ncsid/src/ncsid_udhcpc4.script
/openbmc/google-misc/subprojects/ncsid/src/ncsid_udhcpc6.script
/openbmc/google-misc/subprojects/ncsid/src/net_config.cpp
/openbmc/google-misc/subprojects/ncsid/src/net_config.h
/openbmc/google-misc/subprojects/ncsid/src/net_iface.cpp
/openbmc/google-misc/subprojects/ncsid/src/net_iface.h
/openbmc/google-misc/subprojects/ncsid/src/net_sockio.cpp
/openbmc/google-misc/subprojects/ncsid/src/net_sockio.h
/openbmc/google-misc/subprojects/ncsid/src/nic-hostful@.target
/openbmc/google-misc/subprojects/ncsid/src/nic-hostless@.target
/openbmc/google-misc/subprojects/ncsid/src/normalize_ip.c
/openbmc/google-misc/subprojects/ncsid/src/normalize_mac.c
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/default_addresses.h
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/ncsi.h
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/ncsi_client.c
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/ncsi_client.h
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/ncsi_fsm.c
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/ncsi_fsm.h
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/ncsi_server.c
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/ncsi_server.h
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/net_types.h
/openbmc/google-misc/subprojects/ncsid/src/update-static-neighbors@.service.in
/openbmc/google-misc/subprojects/ncsid/src/update-static-neighbors@.timer
/openbmc/google-misc/subprojects/ncsid/src/update_static_neighbors.sh
/openbmc/google-misc/subprojects/ncsid/subprojects
/openbmc/google-misc/subprojects/ncsid/test/iface_test.cpp
/openbmc/google-misc/subprojects/ncsid/test/meson.build
/openbmc/google-misc/subprojects/ncsid/test/ncsi_test.cpp
/openbmc/google-misc/subprojects/ncsid/test/net_iface_mock.cpp
/openbmc/google-misc/subprojects/ncsid/test/net_iface_mock.h
/openbmc/google-misc/subprojects/ncsid/test/nic_mock.cpp
/openbmc/google-misc/subprojects/ncsid/test/nic_mock.h
/openbmc/google-misc/subprojects/ncsid/test/normalize_ip_test.sh
/openbmc/google-misc/subprojects/ncsid/test/normalize_mac_test.sh
/openbmc/google-misc/subprojects/ncsid/test/sock_test.cpp
/openbmc/google-misc/subprojects/ncsid/test/test_lib.sh
7d6fa42f08-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 ...


/openbmc/google-misc/.clang-format
/openbmc/google-misc/.clang-ignore
/openbmc/google-misc/.gitignore
/openbmc/google-misc/LICENSE
/openbmc/google-misc/MAINTAINERS
/openbmc/google-misc/README.md
/openbmc/google-misc/hello.c
/openbmc/google-misc/meson.build
/openbmc/google-misc/meson_options.txt
/openbmc/google-misc/ncsid/README.md
/openbmc/google-misc/ncsid/doc/ncsid_arch.dot
/openbmc/google-misc/ncsid/doc/ncsid_arch.png
/openbmc/google-misc/ncsid/doc/ncsid_internals.md
/openbmc/google-misc/ncsid/doc/ncsid_test_arch.dot
/openbmc/google-misc/ncsid/doc/ncsid_test_arch.png
/openbmc/google-misc/ncsid/meson.build
/openbmc/google-misc/ncsid/meson_options.txt
/openbmc/google-misc/ncsid/src/common_defs.h
/openbmc/google-misc/ncsid/src/dhcp4@.service.in
/openbmc/google-misc/ncsid/src/dhcp6@.service.in
/openbmc/google-misc/ncsid/src/meson.build
/openbmc/google-misc/ncsid/src/ncsi_sockio.cpp
/openbmc/google-misc/ncsid/src/ncsi_sockio.h
/openbmc/google-misc/ncsid/src/ncsi_state_machine.cpp
/openbmc/google-misc/ncsid/src/ncsi_state_machine.h
/openbmc/google-misc/ncsid/src/ncsid.cpp
/openbmc/google-misc/ncsid/src/ncsid@.service.in
/openbmc/google-misc/ncsid/src/ncsid_lib.sh
/openbmc/google-misc/ncsid/src/ncsid_udhcpc4.script
/openbmc/google-misc/ncsid/src/ncsid_udhcpc6.script
/openbmc/google-misc/ncsid/src/net_config.cpp
/openbmc/google-misc/ncsid/src/net_config.h
/openbmc/google-misc/ncsid/src/net_iface.cpp
/openbmc/google-misc/ncsid/src/net_iface.h
/openbmc/google-misc/ncsid/src/net_sockio.cpp
/openbmc/google-misc/ncsid/src/net_sockio.h
/openbmc/google-misc/ncsid/src/nic-hostful@.target
/openbmc/google-misc/ncsid/src/nic-hostless@.target
/openbmc/google-misc/ncsid/src/normalize_ip.c
/openbmc/google-misc/ncsid/src/normalize_mac.c
/openbmc/google-misc/ncsid/src/platforms/nemora/portable/default_addresses.h
/openbmc/google-misc/ncsid/src/platforms/nemora/portable/ncsi.h
/openbmc/google-misc/ncsid/src/platforms/nemora/portable/ncsi_client.c
/openbmc/google-misc/ncsid/src/platforms/nemora/portable/ncsi_client.h
/openbmc/google-misc/ncsid/src/platforms/nemora/portable/ncsi_fsm.c
/openbmc/google-misc/ncsid/src/platforms/nemora/portable/ncsi_fsm.h
/openbmc/google-misc/ncsid/src/platforms/nemora/portable/ncsi_server.c
/openbmc/google-misc/ncsid/src/platforms/nemora/portable/ncsi_server.h
/openbmc/google-misc/ncsid/src/platforms/nemora/portable/net_types.h
/openbmc/google-misc/ncsid/src/update-static-neighbors@.service.in
/openbmc/google-misc/ncsid/src/update-static-neighbors@.timer
/openbmc/google-misc/ncsid/src/update_static_neighbors.sh
/openbmc/google-misc/ncsid/subprojects
/openbmc/google-misc/ncsid/test/iface_test.cpp
/openbmc/google-misc/ncsid/test/meson.build
/openbmc/google-misc/ncsid/test/ncsi_test.cpp
/openbmc/google-misc/ncsid/test/net_iface_mock.cpp
/openbmc/google-misc/ncsid/test/net_iface_mock.h
/openbmc/google-misc/ncsid/test/nic_mock.cpp
/openbmc/google-misc/ncsid/test/nic_mock.h
/openbmc/google-misc/ncsid/test/normalize_ip_test.sh
/openbmc/google-misc/ncsid/test/normalize_mac_test.sh
/openbmc/google-misc/ncsid/test/sock_test.cpp
/openbmc/google-misc/ncsid/test/test_lib.sh
/openbmc/google-misc/subprojects/fmt.wrap
/openbmc/google-misc/subprojects/ncsid
/openbmc/google-misc/subprojects/sdbusplus.wrap
/openbmc/google-misc/subprojects/stdplus.wrap

12