Skip to content
Commit 77e1c017 authored by Sunitha Harish's avatar Sunitha Harish Committed by Andrew Geissler
Browse files

Add DHCP D-Bus objects for Hypervisor Virtual Management Interface



This commit adds the D-Bus objects to enable the DHCP on the
hypervisor's virtual management interface.
New attributes are :
1. DHCPEnabled - At Interface level.
                 Values will be "v4/v6/both/none". Default is "none"
2. Enabled - At IPv4 object level : To indicate if the
             Virtual Management Interface has consumed the IP
             address or not.

Tested By:
1. busctl introspect xyz.openbmc_project.Settings /xyz/openbmc_project/network/hypervisor
2. busctl introspect xyz.openbmc_project.Settings /xyz/openbmc_project/network/hypervisor/eth0
3. busctl introspect xyz.openbmc_project.Settings /xyz/openbmc_project/network/hypervisor/eth0/ipv4/addr0
4. On rainier : similar tests for eth1

(From meta-ibm rev: 988412a2463a58f85f50648f9497a8779203087e)

Signed-off-by: default avatarSunitha Harish <sunithaharish04@gmail.com>
Change-Id: I734347a8953cd11955eeaacfd67b815810587046
Signed-off-by: default avatarAndrew Geissler <geissonator@yahoo.com>
parent 4909eea1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment