Revision Date Author Comments
# c24de883 08-Jun-2021 Asmitha Karunanithi <asmitk01@in.ibm.com>

Add ethernet objects under hypervisor network obj

In this commit, ethernet interface dbus objects are created
under the hypervisor network service.

busctl tree xyz.openbmc_project.Network.Hyperviso

Add ethernet objects under hypervisor network obj

In this commit, ethernet interface dbus objects are created
under the hypervisor network service.

busctl tree xyz.openbmc_project.Network.Hypervisor
└─/xyz
└─/xyz/openbmc_project
└─/xyz/openbmc_project/network
└─/xyz/openbmc_project/network/hypervisor
├─/xyz/openbmc_project/network/hypervisor/config
├─/xyz/openbmc_project/network/hypervisor/eth0
└─/xyz/openbmc_project/network/hypervisor/eth1

Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com>
Change-Id: I4222fa29a9df607c8291d7f81f7f3e837442bc26

show more ...


# eb40f081 22-Jul-2021 Asmitha Karunanithi <asmitk01@in.ibm.com>

Adding system configuration object & UT

This commit adds the system config object that implements
the SystemConfiguration interface.

The hostname property under this interface will initially
be set

Adding system configuration object & UT

This commit adds the system config object that implements
the SystemConfiguration interface.

The hostname property under this interface will initially
be set from the bios table when the service starts.

Whenever user sets the property, the same will be updated
in the bios table.

busctl tree xyz.openbmc_project.Network.Hypervisor
└─/xyz
└─/xyz/openbmc_project
└─/xyz/openbmc_project/network
└─/xyz/openbmc_project/network/hypervisor
└─/xyz/openbmc_project/network/hypervisor/config

Tested By:

busctl set-property xyz.openbmc_project.Network.Hypervisor
/xyz/openbmc_project/network/hypervisor/config
xyz.openbmc_project.Network.SystemConfiguration HostName s "vmi HN"

busctl introspect xyz.openbmc_project.Network.Hypervisor /xyz/openbmc_project/network/hypervisor/config
NAME TYPE SIGNATURE RESULT/VALUE FLAGS
org.freedesktop.DBus.Introspectable interface - - -
.Introspect method - s -
org.freedesktop.DBus.Peer interface - - -
.GetMachineId method - s -
.Ping method - - -
org.freedesktop.DBus.Properties interface - - -
.Get method ss v -
.GetAll method s a{sv} -
.Set method ssv - -
.PropertiesChanged signal sa{sv}as - -
xyz.openbmc_project.Network.SystemConfiguration interface - - -
.DefaultGateway property s "" emits-change writable
.DefaultGateway6 property s "" emits-change writable
.HostName property s "vmi HN" emits-change writable

busctl call xyz.openbmc_project.BIOSConfigManager /xyz/openbmc_project/bios_config/manager xyz.openbmc_project.BIOSConfig.Manager GetAttribute s vmi_hostname
svv "xyz.openbmc_project.BIOSConfig.Manager.AttributeType.String" s "vmi HN" s ""

Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com>
Change-Id: Ib3afaef2da039d18cc672a1759b721698f9c14e2

show more ...


# a6c07570 05-May-2022 Asmitha Karunanithi <asmitk01@in.ibm.com>

Add testcases for hypervisor nw manager

This commit includes three changes:
1. Add testcases for hypervisor nw manager
2. Removal of vmi_if_count support, as it is no longer
available in the bios

Add testcases for hypervisor nw manager

This commit includes three changes:
1. Add testcases for hypervisor nw manager
2. Removal of vmi_if_count support, as it is no longer
available in the bios table
3. Add methods to set default values to bios table
attributes

Tested.

Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com>
Change-Id: I78397f653658c88097e4566632b0ce36c7b3861b

show more ...