2
0
mirror of https://opendev.org/x/pyghmi synced 2026-05-18 12:17:19 +00:00

Merge "Add channel parameter to add_extra_net_configuration"

This commit is contained in:
Zuul
2021-11-09 11:36:20 +00:00
committed by Gerrit Code Review
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1000,7 +1000,7 @@ class Command(object):
retdata['ipv4_backup_gateway_mac'] = self._fetch_lancfg_param(
channel, 15)
self.oem_init()
self._oem.add_extra_net_configuration(retdata)
self._oem.add_extra_net_configuration(retdata, channel)
return retdata
def get_sensor_data(self):
+1 -1
View File
@@ -263,7 +263,7 @@ class OEMHandler(object):
"""Get graphical console launcher"""
return ()
def add_extra_net_configuration(self, netdata):
def add_extra_net_configuration(self, netdata, channel=None):
"""Add additional network configuration data
Given a standard netdata struct, add details as relevant from
+1 -1
View File
@@ -1000,7 +1000,7 @@ class OEMHandler(generic.OEMHandler):
self.ipmicmd.ipmi_session.userid,
self.ipmicmd.ipmi_session.password)
def add_extra_net_configuration(self, netdata):
def add_extra_net_configuration(self, netdata, channel=None):
if self.has_tsm:
ipv6_addr = self.ipmicmd.xraw_command(
netfn=0x0c, command=0x02,