%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 188.40.95.74 / Your IP : 216.73.216.142 Web Server : Apache System : Linux cp01.striminghost.net 3.10.0-1160.119.1.el7.tuxcare.els13.x86_64 #1 SMP Fri Nov 22 06:29:45 UTC 2024 x86_64 User : vlasotin ( 1054) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/leapp-repository/repositories/system_upgrade/common/models/ |
Upload File : |
from leapp.models import fields, Model from leapp.topics import SystemInfoTopic class PCIAddress(Model): """ TODO: tbd """ topic = SystemInfoTopic domain = fields.String() bus = fields.String() function = fields.String() device = fields.String() class Interface(Model): """ TODO: tbd - Interface or NetworkInterface? """ topic = SystemInfoTopic name = fields.String() devpath = fields.String() driver = fields.String() vendor = fields.String() pci_info = fields.Model(PCIAddress) mac = fields.String() class PersistentNetNamesFacts(Model): """ Information about network interfaces gather from the original system """ topic = SystemInfoTopic interfaces = fields.List(fields.Model(Interface)) class PersistentNetNamesFactsInitramfs(PersistentNetNamesFacts): """ Information about network interfaces gather from initramfs with the kernel of target system """ pass class RenamedInterface(Model): """ Provide original and new name of the network interface when renamed """ topic = SystemInfoTopic rhel7_name = fields.String() rhel8_name = fields.String() class RenamedInterfaces(Model): """ Provide list of renamed network interfaces These interfaces will use different names on the target system in comparison with original names. """ topic = SystemInfoTopic renamed = fields.List(fields.Model(RenamedInterface))