summaryrefslogtreecommitdiff
path: root/meta-google/recipes-google/networking
AgeCommit message (Collapse)AuthorFilesLines
2021-05-11meta-google: network-sh: Convert to IP bytesWilliam A. Kennington III5-56/+123
Now that we can convert to and from IP bytes, we should use them everywhere to ensure values are parsed correctly. Change-Id: I995091d1eff670db6678b4a2f4a64113e93308f7 Signed-off-by: William A. Kennington III <wak@google.com>
2021-05-11meta-google: network-sh: Add ip_bytes_to_strWilliam A. Kennington III2-0/+84
This makes it possible to get a human readable address back from a byte array. Change-Id: Ifcc98bcc95b8d75fe7d1aae1c264cbddf3fc5bd0 Signed-off-by: William A. Kennington III <wak@google.com>
2021-05-10meta-google: gbmc-bridge: Look at IP bytes instead of regexWilliam A. Kennington III2-5/+23
Change-Id: Ie3a20df633346692039103edc882e202b7c3309b Signed-off-by: William A. Kennington III <wak@google.com>
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-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-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: 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-02-17meta-google: Fold gbmc-sslh into gbmc-ncsi-configWilliam A. Kennington III3-51/+0
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-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-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