Age | Commit message (Collapse) | Author | Files | Lines |
|
Patrick Williams (1):
build: upgrade to C++23
Change-Id: Ifc49a1a09079f56e83e7ba333e1e06941844bd82
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ravi Teja (1):
Populate address origin based on ifa_flags
Change-Id: Ie76d7f34092b243ff7e0e1311243d29b3e8ce9c8
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ed Tanous (2):
Zero initialize member variables
Use scopes for construction
Change-Id: I689de599444c3dbd057e23560a9085c408a2ae9f
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Tim Lee (1):
ethernet_interface: Fix link local autoconfiguration functionality
William A. Kennington III (17):
treewide: Make logging variables more consistent
ethernet_interface: Remove unused try blocks
treewide: Ignore non-ethernet devices
rtnetlink_server: Ignore errors on ignored interfaces
types: Migrate to stdplus string maps
types: Migrate to stdplus hash
types: Migrate to stdplus EtherAddr
types: Migrate to stdplus endian
types: Migrate to stdplus ip
treewide: Add clang-tidy
ethernet_interface: Refactor gateway setting
ethernet_interface: Empty address also deletes the gateway
ethernet_interface: Validate gateway IPs
ethernet_interface: Validate IP addresses
network_manager: Upgrade delayed executor to be more generically useful
treewide: Fix some aditional cases missing pinning
test: Simplify addresses with string literal operators
Change-Id: Icc1cda63f3856d2b442689ac7bc47728c190c195
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ivan Mikhaylov (1):
Add UDP protocol by default in SNMP client
Patrick Williams (1):
snmp-configuration: fix markdownlint issues
Change-Id: I2095f98dadbc2b5fc0d51dc59ee4e83e3b66bfa6
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
clang-format: copy latest and re-format
Change-Id: Id76f1af742caa0ec103dd516f009812ea7409c9b
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
clang-format: copy latest and re-format
Change-Id: I6d21de901e61b11195684b99ce155162b7d5e459
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jagpal Singh Gill (5):
logging: switch ncsi-netlink to lg2
logging: switch hyp-network-manager to lg2
logging: switch phosphor-network-manager exe to lg2
logging: switch networkd static_library to lg2
logging: switch networkd static_library to lg2
Change-Id: Ife4e9b4b12e651b26b19461837f00c68a25459b6
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (2):
sdbusplus: use shorter type aliases
regenerate-meson: re-run with latest from sdbusplus
Change-Id: I88bedfa8e9ed0a593d5623cabf28d99ac4311f1a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
meson: remove deprecated get_pkgconfig_variable
Change-Id: Ifbc87ad693f5a580379bb5aa456dee88d0fdc53b
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
In a base bb file where we are setting the primary git repository, it
is rare that we need to `SRC_URI +=`. This is an unnecessary pattern
that seems to have been copied throughout the repository. Remove the
pattern where appropriate and simply set SRC_URI directly.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I430186a82f9582ba6196f5bf66b659af4092b48d
|
|
The `tests` should not compile when I built BMC, This is a convention
that we disable `tests` in Yocto builds.
Tested: built phosphor-snmp passes.
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I060be140e7fcab7609d8ef9d79bd01073df834d3
|
|
Asmitha Karunanithi (2):
Add ethernet objects under hypervisor network obj
Add DHCP functionalities to hypervisor eth interfaces
Change-Id: Idfb1768d6b45709bd2bb7e1817d4f471e23818ec
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Johnathan Mantey (1):
Add Johnathan Mantey to reviewers list
Change-Id: I9733128201883e8eed21f850884936b300e64ef8
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Brad Bishop (1):
treewide: remove dependencies on mapper.target
Change-Id: If7488cf8d3427fcab389942eb1eb9ec10d4f6f6c
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
inventory_mac: fix inventory sync
Change-Id: I18f3f2f9c95a914251320f0271fcb520875d129b
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Mapper ships with systemd unit and dbus configuration files now, so
remove unnecessary bitbake classes.
Mapper is dbus-activated, so obmc-mapper.target dependencies are
redundant and no longer necessary.
obmc-mapper.target is the last target in obmc-targets, so remove that
recipe and any dependencies on it.
Change-Id: I59ff8dcd480b4449d0ef59422ba80c12848dade9
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Patrick Williams (1):
gen: update due to sdbusplus-gen-meson change
Change-Id: I648a440fa1976849b7b933888824cbaab91e60b5
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (2):
treewide: Codify memory pinning
main: Use workaround loop function
Change-Id: I2b414b3c623127d7aea858e38f1e0cf52ddf2a48
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (2):
prettier: re-format
beautysh: re-format
Change-Id: I6fdd55bc093a5890297f191de830cc001903ec4a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
prettier: re-format
Change-Id: I56c24a782ead048e74577c9e430825267aed8704
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
sdbusplus: use shorter type aliases
William A. Kennington III (50):
ethernet_interface: Fix vlan return object
rtnetlink_server: Avoid refreshing for gateway changes
rtnetlink: Migrate IP functions
rtnetlink_server: Don't refresh for addresses
ethernet_interface: Reduce error spam for addrs
rtnetlink: Migrate neighbor functions
rtnetlink_server: Don't refresh for neighbors
rtnetlink: Handle parsing errors more gracefully
ethernet_interface: DHCP settings don't require refresh
types: Migrate all of the Info types
network_manager_main: Make sure errors sync to journal
rtnetlink: Return neighbor even if addr is missing
network_manager: Async query all interface states
network_manager: Absorb all state change functions
test/rtnetlink_server: Remove
network_manager: Standardize add/remove interface
network_manager: Support queueing additional interface data
network_manager: Move interface validation
rtnetlink: Add public interface parser
rtnetlink_server: Add interfaces dynamically
network_manager: Add addresses to undiscovered interfaces
network_manager: Add neighbors to undiscovered interfaces
network_manager: Add gateways to undiscovered interfaces
rtnetlink_server: Dump all netlink data at startup
ethernet_interface: Remove all other refreshes
config_parser: Add support for checking file existence
util: Reduce error messages for config options
dhcp_configuration: Don't depend on interface queries
ethernet_interface: Fix updating neighbor
ethernet_interface: Update ethtool for interface updates
network_manager: Don't log errors for ignored interfaces
treewide: Completely remove global refresh
routing_table: Remove obsolete code
ethernet_interface: Fix updating sub objects
ethernet_interface: Remove optional signal emission
network_manager: Keep interface info around
network_manager: Implement interface rename
ethernet_interface: Migrate object creation from network_manager
treewide: Cleanup signal emission
system_configuration: Fix new hostname updates
network_manager: Remove unhandled exception
network_manager: Add reload post hooks
system_queries: Add netlink based delete
ethernet_interface: Fix updates without interface idx
ethernet_interface: Fix VLAN delete
ethernet_interface: Remove spurious reloads
inventory_mac: Migrate code out of other places
util: Remove charconv
test/util: Simplify
treewide: Move timers out of networkd lib scope
Change-Id: Ifa1400170ef24e0f926fa652b681c93028583f08
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Potin Lai (1):
network_manager_main: add force-sync-mac option
Change-Id: I40b83021620892becabf4f87bcd30350a6b2383b
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jian Zhang (1):
util: Add data ptr check to avoid crash
William A. Kennington III (20):
types: Add hash function for IPs
types: Simplify ostream operators
types: hash_multi should take const refs
types: Add constexpr endianness functions
types: Add a type for interface addresses
types: Add constexpr numeric decode
types: Add constexpr ether_addr parser
types: Add constexpr in_addr parser
types: Better IPv6 RFC5952 support
types: Add constexpr in6_addr parser
types: Add constexpr InAddrAny / IfAddr parser
types: Add constexpr int encoder
types: Make all address conversion constexpr
ipaddress: Refactor object creation
ethernet_interface: Normalize IP for gateway
ethernet_interface: Normalize IPs for nameservers
util: Remove unused isValidPrefix
neighbor: Refactor object creation
util: Remove unused isValidIP
util: Simplify addFromBuf
Change-Id: Id1b2b0c8244c0a9f45da0fbec0e319d3e706a369
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (20):
util: Remove unused strings
system_queries: Migrate system queries into a single place
ethernet_interface: Reduce error logspam
ethernet_interface: Refactor object creation args
types: Flesh out address comparison and string formatting
system_queries: Get Interface Info from netlink
test: Make mock syscalls take InterfaceInfo
treewide: Move all sd-event to sdeventplus
network_config: Leverage a default network file
rtnetlink_server: Use netlink parser code
netlink: Use refFrom instead of copyFrom
netlink: Add common function for extracting payload
rtnetlink_server: Fix edge triggering
ethernet_interface: Merge VLAN into EthernetInterface
routing_table: Cleanup types to avoid unnecessary conversions
rtnetlink: Remove unnecessary copy
rtnetlink_server: Also monitor links
network_manager: Add a mapping of interface ids
rtnetlink: Separate out gateway parsing
network_manager: Make it possible to reload without refresh
Change-Id: Ib694632e79f28025f9ffdd81fc433d996f717573
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
yaml: use 'object_path' type
Change-Id: Iaffaab62c7db74404e5b88a409871ef9d0c9fc7e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ali El-Haj-Mahmoud (1):
Treat link-local addresses as static when link local autoconfig is disabled.
Asmitha Karunanithi (2):
Set static & dhcp sent ntp server ip on ethernet obj
Move dbus method call into try-catch block
William A. Kennington III (26):
netlink: Improve error output
util: Don't directly include config_parser.hpp
util: Fix mac truncation
util: Refactor isValidPrefix to reduce address family re-use
util: Remove unused toMask
util: Refactor addrFromBuf
util: isValidIP should be noexcept
util: Refactor IP toString
util: Add non-family isValidIP
ethernet_interface: Simplify hwaddr string
network_manager: Cleanup VLAN creation
network_manager: Cleanup map type
network_manager: Inline trivial functions
network_manager: Allow direct access to interfaces
ethernet_interface: Use string_umaps where sensible
build: Cleanup subprojects and gitignore
treewide: Clean up string parameters
ipaddress: Remove obsolete gateway parameter
ethernet_interface: Refactor object hashing
ethernet_interface: Remove unused resolvconf file
ethernet_interface: Always try ethtool as we handle unsupported
ethernet_interface: Add error logging for ethtool queries
ethernet_interface: Refactor ethtool querying
test/ethernet_interface: Improve syscall test coverage
treewide: Remove redundant inline
vlan_interface: Remove interface name usage
Change-Id: Ia9f3c8312333902c554cb8bed4e7e71faada0e3a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
The nic-ethtool option was removed from phosphor-network, so we also
need to remove the PACKAGECONFIG option to build the phosphor-network
bump.
Tested:
Confirmed that the latest phosphor-network builds successfully.
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
Change-Id: Id1e12f3f2af2450500ec6c0b2acef284cb69d0a7
|
|
Willy Tu (1):
Move InterfaceList back to set
Change-Id: I83fc457a5c689403a651e5148ec888fa44d31e8e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (1):
util: Cleanup usage of string types
Change-Id: I1c9e36c6a7a297aefe02f53af9a5b4b05c04fe8e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (1):
main: Catch and handle all exceptions
Change-Id: I22c4d870185d9b2793e4cb8ee30f2a584b22bf06
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (8):
ethernet_interface: Write configs from parser
vlan_interface: Write configs from parser
network_config: Sync default values
network_config: Write configs from parser
ethernet_interface: Remove DHCP from constructor
ethernet_interface: Support DHCP4/6 Properties
util: Combine systemd value parsers
treewide: Cleanup unused includes
Change-Id: I93fbecd3b8fa9fa354fb70e704312d11468721a4
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (8):
build: Update sdbusplus-gen-meson
config_parser: Add parser warnings
config_parser: Add common boolean parser
config_parser: Reduce number of file reads
config_parser: Split up sections
config_parser: Add type checking to config map
config_parser: Allow modifying Parser map
config_parser: Add function for writing files
Change-Id: I05081120e5c226b956667e604a9f64c0d1f85f82
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
In all of our recipes, we should be following yoctos lead on formatting,
order, and other things, for consistency in our meta layers.
This commit runs oe-stylize.py on all of our files. The types of
changes being made can be seen in the commit, but amount to:
1. Setting an explicit key ordering
2. Sectioning the files appropriately
3. Applying rules checking to our files
At some point in the near future, we would turn this on as part of
repotest, but some minor changes need to be upstreamed to meta-oe (WIP)
to make that happen.
Looking for input on whether this is something we'd like to do, and
whether the diffs below look reasonable to folks.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I489dd21d38a9fe4f3ece89cc7a5e1d0463224abf
|
|
William A. Kennington III (1):
config_parser: Rewrite file parsing logic
Change-Id: Id5609cd891a2b65b5eed9e82596650a91b00cda7
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (1):
neighbor: Fix object creation
Change-Id: I3c28eee3cc923fe9a55484874511f9d9c1648553
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (3):
Revert "ipaddress: Remove set property overrides"
ethernet_interface: Remove nameserver setting
neighbor: Disallow property changes
Change-Id: Ide81d1647910943e428a9f4659955141b8a4831b
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (2):
config_parser: Cleanups and modern c++ standards
config_parser: Add performance measuring test code
Change-Id: Ib5aaa970c261d2c6dfebb3cf09b0d6a8cf4b9f2c
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (4):
ipaddress: Parse from netlink
ethernet_interface: Ignore deprecated addresses
netlink: Use function views
ipaddress: Remove set property overrides
Change-Id: I3c2110b587106b675fad21faffc2f3dc69439d31
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (6):
netlink: Switch to stdplus::fd
rtnetlink: Switch to stdplus::Fd
watch: Remove unused code
util: Remove descriptor
network_manager: Refactor config rewriting
ethernet_interface: Add INFO message for config writes
Change-Id: I6dfd6d115908c258a5ef3aeb10cb42b5e5f09a48
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jiaqing Zhao (1):
routing_table: Remove unused Entry class
William A. Kennington III (1):
network_manager: Allow faster non-reconfiguration reloads
Change-Id: I819db57573f06237518603c5d9e5937412f0f2de
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
George Liu (1):
Fix deleteSNMPClient method in Unit Test file
Change-Id: I9370ef05d6697eedd9bae2b3255a786b2dbebd0d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
George Liu (1):
Fix generating last client Id
Change-Id: I4b79cb042a4793c5837de1eb5f1232a086545ae7
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (1):
test: Fix valgrind execution
Change-Id: I89e28c683cf74b89c25d0b448b9efa46fa75c3c9
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Sunitha Harish (2):
Reviewers: Add Sunitha Harish
Reviewers: Remove Nagaraju Goruganti
Change-Id: I8668bb2bb49cf21dc1c4f823d9b1913aefaf44f8
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
MAINTAINERS: remove file
Change-Id: I83dcf397d21313d6521ff2e8cab9870bec9951ac
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
MAINTAINERS: remove file
Change-Id: Ie0ec7d564972a6d89bf248f6029dbe926dd97075
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
The build option persist-mac was introduced in phosphor-network/609c12d
("Allow writing MAC address to networkd config file to be blocked").
This commit adds a PACKAGECONFIG for that option, and enables it by
default to keep current behavior.
Tested:
Build pass with both persist-mac PACKAGECONFIG enabled/disabled.
Change-Id: I900f09516ec10f0aecfa78117fe85d13e170eb1b
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@intel.com>
|
|
Patrick Williams (2):
sdbusplus: use shorter type aliases
OWNERS: switch 'matches' to 'matchers'
Change-Id: I350a18b4e1e96bd4e3aff0262506c71628fbd303
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (2):
sdbusplus: use shorter type aliases
OWNERS: switch 'matches' to 'matchers'
William A. Kennington III (1):
test: Always create unique tmpdirs
Change-Id: I881d10e225ec7bcec21658034b0d4dfee8e519d0
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|