summaryrefslogtreecommitdiff
path: root/meta-google/recipes-google
AgeCommit message (Collapse)AuthorFilesLines
2021-05-10meta-google: network-sh: Add ip_to_bytes functionWilliam A. Kennington III2-3/+166
This will be used to compare parts of addresses instead of applying regexes to them. Change-Id: Ide7366cab967e31a74cbb4002bad1046432037e3 Signed-off-by: William A. Kennington III <wak@google.com>
2021-05-10meta-google: gbmc-bridge: Set default route sourceWilliam A. Kennington III2-0/+67
This change ensures that ULA addresses don't get used as the source when trying to send packets outside the machine. Change-Id: I46413a2587634a79f0c0fc4051587e39a9fdcf50 Signed-off-by: William A. Kennington III <wak@google.com>
2021-05-10meta-google: gbmc-bridge: Recognize public addresses internallyWilliam A. Kennington III2-0/+65
We want to be able to categorize public addresses being used for internal traffic, and allow them to access internal services. Change-Id: I1f4b8eaa329954f330c3052c0c789b8e5e3b4662 Signed-off-by: William A. Kennington III <wak@google.com>
2021-05-07meta-google: gbmc-bridge: Assign stable addresses from RAsWilliam A. Kennington III5-1/+138
We want BMCs to be able to discover their machine prefix and assign a stable IPv6 based on that prefix combined with the MAC of the BMC. Change-Id: I67b8c56f50ff3a970175abcb81b429ceb1258b69 Signed-off-by: William A. Kennington III <wak@google.com>
2021-05-07meta-google: gbmc-systemd-config: Enable packet forwardingWilliam A. Kennington III3-13/+28
This allows gBMCs to route packets, needed for routing packets to the management netowrk. Change-Id: I71f59eeb12607aa9c9d64687fb983938d5d69413 Signed-off-by: William A. Kennington III <wak@google.com>
2021-05-07meta-google: gbmc-ncsi-config: Add public address to gbmc-bridgeWilliam A. Kennington III2-0/+111
This dynamically detects addresses applied to the NC-SI interface and infers the addreses which should be used explicitly by BMCs. Change-Id: I9036be0a54936aace580746cd1900ee653f43cfd Signed-off-by: William A. Kennington III <wak@google.com>
2021-05-07meta-google: gbmc-ncsi-config: Restrict NCSI input packetsWilliam A. Kennington III3-3/+122
Break down packets by their incoming address and ensure that we don't allow packets to unintended destinations. Right now this is effectively a no-op, but it will be necessary for BMC public addressing. Change-Id: I39c16c3b9cd4c293df42b928674e39677d7834e9 Signed-off-by: William A. Kennington III <wak@google.com>
2021-05-07meta-google: gbmc-bridge: Don't hardcode MACWilliam A. Kennington III1-1/+2
We want to eventually replace the link layer address with an address from an EEPROM. This change keeps the hardcoded address that services depend on, but allows for the MAC to be changed. Change-Id: I748fab21561f0f22ec0790487755e29e9aecd1b0 Signed-off-by: William A. Kennington III <wak@google.com>
2021-05-07meta-google: gbmc-bridge: Discover ULA addresses at runtimeWilliam A. Kennington III2-0/+75
If the bridge interface is assigned a MAC at runtime then it needs to add the appropriate ULA address for that MAC. Change-Id: Ia109c36320a78bb02ba9b54038ca23b0d3e2c948 Signed-off-by: William A. Kennington III <wak@google.com>
2021-05-07meta-google: gbmc-bridge: Add packageWilliam A. Kennington III9-2/+145
This adds a machine local ethernet network which allows BMCs to communicate with one another. Change-Id: I5e0ace231af02d84f7678b8241b5ec71823e86af Signed-off-by: William A. Kennington III <wak@google.com>
2021-04-29meta-google: gbmc-ip-monitor: Fix missing variableWilliam A. Kennington III1-1/+1
Change-Id: I3cc51f3d5885e983ca6f901c103eec4e64c9943c Signed-off-by: William A. Kennington III <wak@google.com>
2021-04-23meta-google: gbmc-ip-monitor: Add packageWilliam A. Kennington III4-0/+347
Add a daemon that monitors all link / addr / route changes on a system, and runs a set of installed hooks to perform customized behavior when these changes occur. Change-Id: Id2a6b7dc2534ebae1beca7135528a6e1e4eada57 Signed-off-by: William A. Kennington III <wak@google.com>
2021-04-23meta-google: network-sh: Add libraryWilliam A. Kennington III3-0/+213
Provides a utility for working with network type data. Right now this is just for MAC address parsing and conversion to EUI{48,64}. Change-Id: I49946d8147f1c7b10cfe3a9e55b20fc30c083eda Signed-off-by: William A. Kennington III <wak@google.com>
2021-04-23meta-google: test-sh: Add packageWilliam A. Kennington III3-0/+223
Provides a basic facility for unit testing shell scripts. Change-Id: I8b8baa1595ed80e5b8d13654ebdc3ba1d044b0cf Signed-off-by: William A. Kennington III <wak@google.com>
2021-04-17meta-google: gbmc-dev-ssh-key: Add packageWilliam A. Kennington III3-0/+23
We want a key we can freely distribute to anyone who is building gBMC for use with SSH on development images. Change-Id: Iafedbbc6ebe2e62bce966bb368dd53831e29bd00 Signed-off-by: William A. Kennington III <wak@google.com>
2021-04-17meta-google: authorized-keys-comp: Add packageWilliam A. Kennington III3-0/+91
This adds a startup routine that compiles an authorized_keys file from multiple locations in the filesystem, allowing for multiple providers without clashing. Change-Id: Ib26e04af42f29d42410154fdd809aa3a525fc9d5 Signed-off-by: William A. Kennington III <wak@google.com>
2021-04-09meta-google: add nanopb recipeZhenfei Tai1-0/+24
We want to create a nanopb recipe instead of copying nanopb code into multiple recipes that need it. Signed-off-by: Zhenfei Tai <ztai@google.com> Change-Id: Id03695ccd1ef57f078eefb9e3638bbd802234e58
2021-03-25meta-google: gbmc-kcs-config: Add packageWilliam A. Kennington III1-0/+46
Change-Id: I0e68a7520191554680c94d8e3b8bc98f368ac71b Signed-off-by: William A. Kennington III <wak@google.com>
2021-03-25meta-google: google-kcsbridge: Add packageWilliam A. Kennington III1-0/+16
Change-Id: I4507510cdb63c4be710c5674da87d640c633d610 Signed-off-by: William A. Kennington III <wak@google.com>
2021-03-25google-misc: srcrev bump b056df698c..4c68ffb8b0Andrew Geissler1-1/+1
William A. Kennington III (1): kcsbridge: Add alternative daemon Change-Id: I9e022d7b6d447269362652487f0d963ea2df53b4 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-03-25meta-google: google-misc: Split into includeWilliam A. Kennington III4-51/+46
We don't want to generate bump commits for each project in the repo. Instead, provide an include that has common parameters used by all google-misc projects. Change-Id: Ice589c03aa0d38ca5043ee2081f3757568c4e4bb Signed-off-by: William A. Kennington III <wak@google.com>
2021-03-24meta-google: nftables-systemd: Flush at startWilliam A. Kennington III2-1/+2
We don't want errors in loading previous rules to affect the state of the ruleset during restart. Change-Id: Ic122e971670d56022029f1155c1accdf129672d0 Signed-off-by: William A. Kennington III <wak@google.com>
2021-03-24google-misc: srcrev bump 3f43b7eebe..b056df698cAndrew Geissler1-1/+1
Brandon Kim (1): acpi-power-state: Import from gBMC William A. Kennington III (2): meson: Fix build with 0.57.1 metrics-ipmi-blobs: Fix generated source dependency Change-Id: I3234d7d21787e3050b53abcdb62e0f89e0dce78e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-03-19google-misc: srcrev bump 15fe169d1f..1285115c16Andrew Geissler1-1/+1
William A. Kennington III (1): meson: Fix build with 0.57.1 Change-Id: I6b08157a77b2dbd2ce589a1f9fd4b8287890c92e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-03-19google-misc: srcrev bump 15fe169d1f..1285115c16Andrew Geissler1-1/+1
William A. Kennington III (1): meson: Fix build with 0.57.1 Change-Id: Ie3cdfdbc7a2e83bed6ab8063de2b12b05327c256 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-03-19recipes-google: Add metrics-ipmi-blobsSui Chen1-0/+28
metrics-ipmi-blobs provides a set of BMC health info through an IPMI blob. Tested: After adding the meta-google layer, the recipe "metrics-ipmi-blobs" shows up in `bitbake-layers show-recipes`. Change-Id: I0239644c16cecdf9a959b646bbab570737d4ee15 Signed-off-by: Sui Chen <suichen@google.com>
2021-03-10google-misc: srcrev bump a65b7b8174..15fe169d1fAndrew Geissler1-1/+1
Brandon Kim (2): Adding google license header to source files acpi-power-state: Import from gBMC Sui Chen (1): metrics-ipmi-blobs: Add from gBMC William A. Kennington III (2): metrics-ipmi-blobs: util: openbmc uses pragma once metrics-ipmi-blobs: Refactor meson build Change-Id: I276a1ccfa03e96d8d7e741865d5e4d466bbc11ee Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-03-09meta-google: acpi-power-state-daemon: Import from gBMCBrandon Kim1-0/+28
Initial recipes-google/acpi-power-state-daemon from gBMC Google-Bug-Id: 182214245 Upstream: 311f7935ef5633e5da9599d75a01cf561cd00306 Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: Ide5a16f2a65317c2c9f753eb4fef7d5f01abe27d
2021-03-09meta-google: gbmc-iperf3: Allow for DEV buildsWilliam A. Kennington III1-3/+15
Change-Id: Ib2cc970201324affc212b644598ef39f4cafffbb Signed-off-by: William A. Kennington III <wak@google.com>
2021-03-09meta-google: nftables-systemd: Parse rules in a useful orderWilliam A. Kennington III3-4/+27
We want to make sure rules get parsed in a sensible order, following a sorting order similar to systemd units. Change-Id: Ica06c953dba793d89d50c6b4cfc8e8a2eb1f58de Signed-off-by: William A. Kennington III <wak@google.com>
2021-03-09meta-google: gbmc-mac-config: Add packageWilliam A. Kennington III3-0/+142
This package allows a system to specify an IPMI FRU that contains MAC Address information used to populated MAC addresses for specified interfaces. Change-Id: I457d41509da0e63db4410937b84140d4ba410b41 Signed-off-by: William A. Kennington III <wak@google.com>
2021-03-09meta-google: nftables-systemd: Add missing RDEPENDSWilliam A. Kennington III1-0/+5
Change-Id: I4700ccc2d96385f9c7113e402ca9e1c9f788f399 Signed-off-by: William A. Kennington III <wak@google.com>
2021-03-06google-ipmi-sys: srcrev bump ac4a16f730..3b1b427c1fAndrew Geissler1-1/+1
Patrick Venture (1): MAINTAINERS: venture M->R Willy Tu (1): Add OEM command to request flash size Change-Id: I02b48e916e95ac49a5ce30bb6a14a5effe5da696 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-03-05meta-google: ipmi-fru-sh: Add libraryWilliam A. Kennington III2-0/+140
This is a useful utility for doing one off FRU rewriting operations, used when manufactured boards don't have correct eeproms contents. Change-Id: I73ad4d14e088678f49ccf2a28138aa6356de56a0 Signed-off-by: William A. Kennington III <wak@google.com>
2021-02-25google-ipmi-sys: srcrev bump 96ad906981..ac4a16f730Andrew Geissler1-1/+1
Shounak Mitra (1): Add sys command for powercycle on host shutdown. Change-Id: I46fc07f98d8bc4226569294f2ac36ce943c0a7c0 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-02-19meta-google: gbmc-ncsi-config: Fix sslhWilliam A. Kennington III2-4/+2
The name of the unit files got updated, but the internal references did not. Change-Id: I772e5755ba45cc7f4b4fdd2469286f08032c0f9d Signed-off-by: William A. Kennington III <wak@google.com>
2021-02-18meta-google: gbmc-ncsi-config: Remove compatabilityWilliam A. Kennington III1-4/+0
We are now caught up enough that we don't need these compatability variables or provided packages anymore. Change-Id: I7dbfb1ffe447c97bb4baaba20a15be9187983b41 Signed-off-by: William A. Kennington III <wak@google.com>
2021-02-18meta-google: google-ipmi-sys: Add NCSI overrideWilliam A. Kennington III1-0/+3
Change-Id: Ib5d9e1d60194d71c433003669c16f896964729ad Signed-off-by: William A. Kennington III <wak@google.com>
2021-02-17meta-google: Fold gbmc-sslh into gbmc-ncsi-configWilliam A. Kennington III4-27/+20
Logically these packages belong together and don't make much sense without each other. Combine them to reduce package complexity for users. Change-Id: I3d3998f8d10cacbd01f6d883b0033a3260ff60df Signed-off-by: William A. Kennington III <wak@google.com>
2021-02-17meta-google: gbmc-ncsi-config: Add missing runtime requirementsWilliam A. Kennington III1-0/+2
We need sslh and nftables in order for our interface configuration to be useful. Change-Id: I7dffc66dadc1a0d758241344e3908017af304b6a Signed-off-by: William A. Kennington III <wak@google.com>
2021-02-17meta-google: gbmc-ncsi-config: Rename from ncsid-configWilliam A. Kennington III3-45/+50
Make it clear this is a gbmc style configuration, similar to gbmc-systemd-config or gbmc-iperf3. Change-Id: Icd9a2f45f5b399ecb3f8ab1a63d1f0344342ab3a Signed-off-by: William A. Kennington III <wak@google.com>
2021-02-17meta-google: nftables-systemd: Fix for missing rulesWilliam A. Kennington III1-1/+1
We need nftables-systemd to execute correctly even if the machine has no rules installed. Change-Id: I20d58b721381a2829eaa2baedd5d79e8e0a10fd0 Signed-off-by: William A. Kennington III <wak@google.com>
2021-02-17meta-google: recipes-google: nftables: Import from gBMCWilly Tu2-0/+28
Initial recipes-google/nftables code from gBMC. Google-Bug-Id: 179618498 Upstream: 8ac594bdf054082ca6dbe35c4345759fe4c31669 Signed-off-by: Willy Tu <wltu@google.com> Change-Id: Ic768cd1ffeec5831063c9a0f5cdbc8fdcd36a862
2021-02-16meta-google: recipes-google: networking: gbmc-sslh: Import from gBMCWilly Tu3-0/+51
Initial recipes-google/networking gbmc-sslh code from gBMC. Google-Bug-Id: 179617830 Upstream: 8ac594bdf054082ca6dbe35c4345759fe4c31669 Change-Id: I9d7cdcad8a816dd878cdbb2e30272ac7f223d49e Signed-off-by: Willy Tu <wltu@google.com>
2021-02-13meta-google: recipes-google: systemd: Import from gBMCWilly Tu3-0/+57
Initial recipes-google/systemd code from gBMC. Google-Bug-Id: 179618486 Upstream: 8ac594bdf054082ca6dbe35c4345759fe4c31669 Signed-off-by: Willy Tu <wltu@google.com> Change-Id: I3c1b9678049e9f5384482af366d0dd104740a207
2021-02-12meta-google: recipes-google: networking: iperf3: Import from gBMCWilly Tu2-0/+39
Initial recipes-google/networking iperf3 code from gBMC. Google-Bug-Id: 179617830 Upstream: 8ac594bdf054082ca6dbe35c4345759fe4c31669 Signed-off-by: Willy Tu <wltu@google.com> Change-Id: I686a3debd6b6647ce215253c555f208d2a5e46f2
2021-02-10google-misc: srcrev bump 7d6fa42fd1..a65b7b8174Andrew Geissler1-1/+1
William A. Kennington III (1): Add missing googletest subproject Change-Id: I19603616da8f40104a86ef7367e8d8e7e2400494 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-02-09meta-google: ncsid-config: Error for missing interfaceWilliam A. Kennington III1-0/+5
Change-Id: Ifeb48720421e13f9313f056f8c15232982824daa Signed-off-by: William A. Kennington III <wak@google.com>
2021-02-09meta-google: ncsid-config: Fixup recipeWilliam A. Kennington III2-2/+17
The license was mistakenly set to closed and it was missing an included rules file. Google-Bug-Id: 179618497 Change-Id: I8b9b01f7b53f03e6caa079de36e096db1a875955 Signed-off-by: William A. Kennington III <wak@google.com>
2021-02-09meta-google: Add ncsid-config packageWilliam A. Kennington III1-0/+39
Google-Bug-Id: 179618497 Change-Id: Id0ba358215054159e1d9a2329ae2393b5b9eeabf Signed-off-by: William A. Kennington III <wak@google.com>