forked from openbmc/phosphor-networkd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for IPv6 on hypervisor eth interfaces (openbmc#61)
This commit adds support for ipv6 addresses on the hypervisor ethernet interfaces. It includes the following changes: [1] https://gerrit.openbmc.org/c/openbmc/phosphor-networkd/+/54393 [2] ibm-openbmc#46 Tested By: [1] PATCH -d '{"DHCPv4": {"DHCPEnabled":false}}' https://${bmc}/redfish/v1/Systems/hypervisor/EthernetInterfaces/eth1 [2] PATCH -d '{"DHCPv4": {"DHCPEnabled":true}}' https://${bmc}/redfish/v1/Systems/hypervisor/EthernetInterfaces/eth1 [3] PATCH -d '{"DHCPv6": {"OperatingMode":"Enabled"}}' https://${bmc}/redfish/v1/Systems/hypervisor/EthernetInterfaces/eth1 [4] PATCH -d '{"DHCPv6": {"OperatingMode":"Disabled"}}' https://${bmc}/redfish/v1/Systems/hypervisor/EthernetInterfaces/eth1 [5] PATCH -d '{"IPv4StaticAddresses": [{"Address": "<>","SubnetMask": "<>","Gateway":"<>"}]}' https://${bmc}/redfish/v1/Systems/hypervisor/EthernetInterfaces/eth1 Signed-off-by: Asmitha Karunanithi <[email protected]>
- Loading branch information
1 parent
63af40a
commit c9d1813
Showing
7 changed files
with
595 additions
and
197 deletions.
There are no files selected for viewing
646 changes: 480 additions & 166 deletions
646
src/ibm/hypervisor-network-mgr-src/hyp_ethernet_interface.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters