本文整理汇总了Python中nmlib.nm_utils.TypeConvert.py2_dbus_array方法的典型用法代码示例。如果您正苦于以下问题:Python TypeConvert.py2_dbus_array方法的具体用法?Python TypeConvert.py2_dbus_array怎么用?Python TypeConvert.py2_dbus_array使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类nmlib.nm_utils.TypeConvert
的用法示例。
在下文中一共展示了TypeConvert.py2_dbus_array方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: mac_address_blacklist
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_array [as 别名]
def mac_address_blacklist(self, new_mac_address_blacklist):
self.prop_dict["mac-address-blacklist"] = TypeConvert.py2_dbus_array(new_mac_address_blacklist)
示例2: permissions
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_array [as 别名]
def permissions(self, new_permissions):
self.prop_dict["permissions"] = TypeConvert.py2_dbus_array(new_permissions)
示例3: pairwise
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_array [as 别名]
def pairwise(self, new_pairwise):
self.prop_dict["pairwise"] = TypeConvert.py2_dbus_array(new_pairwise)
示例4: group
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_array [as 别名]
def group(self, new_group):
self.prop_dict["group"] = TypeConvert.py2_dbus_array(new_group)
示例5: dns_search
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_array [as 别名]
def dns_search(self, new_dns_search):
self.prop_dict["dns-search"] = TypeConvert.py2_dbus_array(new_dns_search)
示例6: proto
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_array [as 别名]
def proto(self, new_proto):
self.prop_dict["proto"] = TypeConvert.py2_dbus_array(new_proto)
示例7: dns
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_array [as 别名]
def dns(self, new_dns):
self.prop_dict["dns"] = TypeConvert.py2_dbus_array(new_dns)
示例8: s390_subchannels
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_array [as 别名]
def s390_subchannels(self, new_s390_subchannels):
self.prop_dict["s390-subchannels"] = TypeConvert.py2_dbus_array(new_s390_subchannels)
示例9: routes
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_array [as 别名]
def routes(self, new_routes):
self.prop_dict["routes"] = TypeConvert.py2_dbus_array([TypeConvert.ip4route_native2net(x) for x in new_routes])
示例10: addresses
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_array [as 别名]
def addresses(self, new_addresses):
self.prop_dict["addresses"] = TypeConvert.py2_dbus_array([TypeConvert.ip4address_net2native(x) for x in new_addresses])
示例11: phase2_altsubject_matches
# 需要导入模块: from nmlib.nm_utils import TypeConvert [as 别名]
# 或者: from nmlib.nm_utils.TypeConvert import py2_dbus_array [as 别名]
def phase2_altsubject_matches(self, new_phase2_altsubject_matches):
self.prop_dict["phase2-altsubject-matches"] = TypeConvert.py2_dbus_array(new_phase2_altsubject_matches)