History log of /openbmc/phosphor-networkd/src/network_manager.hpp (Results 1 – 25 of 38)
Revision Date Author Comments
# d92826d2 17-Jun-2024 Manojkiran Eda <manojkiran.eda@gmail.com>

Fix spelling mistakes using codespell

This commit corrects various spelling mistakes throughout the
repository. The corrections were made automatically using `codespell`[1]
tool.

[1]: https://githu

Fix spelling mistakes using codespell

This commit corrects various spelling mistakes throughout the
repository. The corrections were made automatically using `codespell`[1]
tool.

[1]: https://github.com/codespell-project/codespell

Change-Id: I169e5e1674cfda3599ea585ca3fd7afcfed601c0
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>

show more ...


# d40046b0 30-Jun-2023 William A. Kennington III <wak@google.com>

treewide: Fix some aditional cases missing pinning

Change-Id: I8e832d5d2cf960c5139b6f9e54b63ab17beec137
Signed-off-by: William A. Kennington III <wak@google.com>


# f5151aa5 30-Jun-2023 William A. Kennington III <wak@google.com>

network_manager: Upgrade delayed executor to be more generically useful

We can now use this in more parts of the codebase and with timeouts that
have more precision than 1 second.

Change-Id: I77c67

network_manager: Upgrade delayed executor to be more generically useful

We can now use this in more parts of the codebase and with timeouts that
have more precision than 1 second.

Change-Id: I77c677230df6c288b29cd0895fe36f3f0158b393
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


# 9b2a20d3 17-Jun-2023 William A. Kennington III <wak@google.com>

types: Migrate to stdplus ip

Change-Id: I777aa701204b0c4dbe5f0088cc2e6a4deb4f5d15
Signed-off-by: William A. Kennington III <wak@google.com>


# 60903ee7 02-Jun-2023 William A. Kennington III <wak@google.com>

types: Migrate to stdplus string maps

Trivial refactor to share more code.

Change-Id: I665bec386ef13a4665536457ab174e621ef64d14
Signed-off-by: William A. Kennington III <wak@google.com>


# 89d734b9 10-May-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

Change-Id: Ia4966a0790437eb0fc011c747f3be2a52884e4d8
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# 9ede1b74 21-Nov-2022 William A. Kennington III <wak@google.com>

treewide: Codify memory pinning

This enforces movability constraints.

Change-Id: I49dbd43a791c1d70eb7e97f30708231c053901d9
Signed-off-by: William A. Kennington III <wak@google.com>


# de70ccf6 20-Nov-2022 William A. Kennington III <wak@google.com>

treewide: Move timers out of networkd lib scope

Change-Id: I5fd0fc70d007e0851329172b8421846a78016d57
Signed-off-by: William A. Kennington III <wak@google.com>


# 0b111d4e 04-Oct-2022 William A. Kennington III <wak@google.com>

inventory_mac: Migrate code out of other places

Change-Id: I5a84c07eebad1b9b0dc535a47edbf6bf0f72b6cb
Signed-off-by: William A. Kennington III <wak@google.com>


# 93f5c6d3 17-Nov-2022 William A. Kennington III <wak@google.com>

ethernet_interface: Fix VLAN delete

This ensures that we delete the interface in the correct order with
reloads.

Change-Id: I6fec890b112b62be15256af415a6df1bfb6ccd38
Signed-off-by: William A. Kenni

ethernet_interface: Fix VLAN delete

This ensures that we delete the interface in the correct order with
reloads.

Change-Id: I6fec890b112b62be15256af415a6df1bfb6ccd38
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


# de4668a9 17-Nov-2022 William A. Kennington III <wak@google.com>

network_manager: Add reload post hooks

We need this to handle deleting interfaces after reloading.

Change-Id: I0f3ca4cedf0e112bc285e4e2ecc1c3cad8ef5677
Signed-off-by: William A. Kennington III <wak

network_manager: Add reload post hooks

We need this to handle deleting interfaces after reloading.

Change-Id: I0f3ca4cedf0e112bc285e4e2ecc1c3cad8ef5677
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


# 13d665ca 15-Nov-2022 William A. Kennington III <wak@google.com>

ethernet_interface: Migrate object creation from network_manager

Change-Id: I861a7e7484b33bfc94fc30ff17fa27fca2b95bfa
Signed-off-by: William A. Kennington III <wak@google.com>


# 2fb0c870 15-Nov-2022 William A. Kennington III <wak@google.com>

network_manager: Keep interface info around

This will allow us to rebuild objects if needed and doesn't take much
more memory to store.

Change-Id: Ifcc8b2b62472167e9cebbead4b6f9c6565c06f0f
Signed-o

network_manager: Keep interface info around

This will allow us to rebuild objects if needed and doesn't take much
more memory to store.

Change-Id: Ifcc8b2b62472167e9cebbead4b6f9c6565c06f0f
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


# 5a67b5dc 17-Nov-2022 William A. Kennington III <wak@google.com>

routing_table: Remove obsolete code

This is no longer used by any of our daemon code

Change-Id: Ia2283c217027a7dfec612810d1bb3ae4a1d5928f
Signed-off-by: William A. Kennington III <wak@google.com>


# 5b17938c 15-Nov-2022 William A. Kennington III <wak@google.com>

treewide: Completely remove global refresh

We no longer need any of the global refresh code as we can dynamically
receive all of the updates to network configuration.

Change-Id: Ia8cb3af827c599c17d

treewide: Completely remove global refresh

We no longer need any of the global refresh code as we can dynamically
receive all of the updates to network configuration.

Change-Id: Ia8cb3af827c599c17d5df9fdddaf6cdc6546050d
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


# 3ee5b7ef 15-Nov-2022 William A. Kennington III <wak@google.com>

network_manager: Don't log errors for ignored interfaces

We currently print errors for interfaces we have ignored when neighbors
and addresses get added.

Change-Id: I58d643db8801837d603f807b1b12e80

network_manager: Don't log errors for ignored interfaces

We currently print errors for interfaces we have ignored when neighbors
and addresses get added.

Change-Id: I58d643db8801837d603f807b1b12e80580ce390b
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


# f30d5603 13-Nov-2022 William A. Kennington III <wak@google.com>

network_manager: Support queueing additional interface data

This allows us to queue up all the interface properties before
systemd-networkd returns that it has managed the interface. Otherwise,
we w

network_manager: Support queueing additional interface data

This allows us to queue up all the interface properties before
systemd-networkd returns that it has managed the interface. Otherwise,
we will lose information about the addrs / routes / neighs on the
interface while waiting.

Change-Id: I9301f8e129fa51cf5e8d5a80235bf889841b076e
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


# 0813a248 12-Nov-2022 William A. Kennington III <wak@google.com>

network_manager: Standardize add/remove interface

This will make it possible to hook interface creation up to netlink

Change-Id: I4a66e4aa57bf05262f38d95f40aa71dfd88a1c37
Signed-off-by: William A.

network_manager: Standardize add/remove interface

This will make it possible to hook interface creation up to netlink

Change-Id: I4a66e4aa57bf05262f38d95f40aa71dfd88a1c37
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


# ed5ff472 12-Nov-2022 William A. Kennington III <wak@google.com>

network_manager: Absorb all state change functions

We are going to need to keep track of more state for when interfaces are
not yet set up. It also makes testing easier if we can keep the
rtnetlink

network_manager: Absorb all state change functions

We are going to need to keep track of more state for when interfaces are
not yet set up. It also makes testing easier if we can keep the
rtnetlink_server as simple as possible.

Change-Id: Iad94bf609feeb96a78f1c4ec3313c4f638eda951
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


# 80d2901c 12-Nov-2022 William A. Kennington III <wak@google.com>

network_manager: Async query all interface states

This only queries the state during startup and relies on matches to keep
up with changes from the systemd-networkd daemon.

Change-Id: I30776d443c39

network_manager: Async query all interface states

This only queries the state during startup and relies on matches to keep
up with changes from the systemd-networkd daemon.

Change-Id: I30776d443c39a52a91826ad1b515da60c7ecf641
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


# 85dc57a5 07-Nov-2022 William A. Kennington III <wak@google.com>

network_manager: Make it possible to reload without refresh

Change-Id: I2bef32285cd620c93914907eb74864c5801258bf
Signed-off-by: William A. Kennington III <wak@google.com>


# 67b09da4 31-Oct-2022 William A. Kennington III <wak@google.com>

network_manager: Add a mapping of interface ids

Change-Id: Ib0543b53c8cce77a0cedd49a4094c20ad1a28312
Signed-off-by: William A. Kennington III <wak@google.com>


# 09f3a4ad 25-Oct-2022 William A. Kennington III <wak@google.com>

ethernet_interface: Merge VLAN into EthernetInterface

This simplifies the ethernet interface as it codepended on the vlan
interface to make VLANs. It also removes the naming dependency and
tracks VL

ethernet_interface: Merge VLAN into EthernetInterface

This simplifies the ethernet interface as it codepended on the vlan
interface to make VLANs. It also removes the naming dependency and
tracks VLANs by adapter type and parent indexes.

Change-Id: I8db09cc2474472e6d4a06c6be5cf0440ee48d132
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


# 93433c16 25-Aug-2022 William A. Kennington III <wak@google.com>

network_config: Leverage a default network file

This will alleviate the need for pre-generating configuration files.
Required for fixing reading of DHCP attributes, as interfaces added by
newer firm

network_config: Leverage a default network file

This will alleviate the need for pre-generating configuration files.
Required for fixing reading of DHCP attributes, as interfaces added by
newer firmware versions will sometimes override old DHCP settings as
they are always read from the first file.

Tested: Ran on a real BMC, cleared the flash. Verified interfaces came
up with default settings and added configurations to the interfaces.

Change-Id: I5fe111be86b59b833d789abdaadee4a43f2e24d3
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


# be3bd2fc 11-Oct-2022 William A. Kennington III <wak@google.com>

treewide: Clean up string parameters

Change-Id: I0d3ea6a83465181d3edec1587ff824103489072e
Signed-off-by: William A. Kennington III <wak@google.com>


12