
From: Wenchao Xia <xiawenc@linux.vnet.ibm.com> These patches add readonly portion of host network. v6: code changes according to v5 comments, added CIM model code. Added DHCP property in CIM model and EthIface structure. Wenchao Xia (7): vlan extention - readonly function libarary vlan extention - CIM model helper vlan extention - CIM model Makefile change vlan extention - CIM model add VESS vlan extention - CIM model add VESSSD vlan extention - CIM model add EthernetPort vlan extention - CIM model add EASD Makefile.am | 14 +- libxkutil/Makefile.am | 12 +- libxkutil/misc_util.c | 48 ++ libxkutil/misc_util.h | 3 + libxkutil/network_model_helper.c | 473 ++++++++++++ libxkutil/network_model_helper.h | 101 +++ libxkutil/network_parsing.c | 762 ++++++++++++++++++++ libxkutil/network_parsing.h | 176 +++++ libxkutil/network_parsing_test.c | 70 ++ libxkutil/xmlgen.c | 4 +- libxkutil/xmlgen.h | 4 + schema/EthernetPort.mof | 4 + schema/EthernetPort.registration | 3 + schema/EthernetPortAllocationSettingData.mof | 22 + .../EthernetPortAllocationSettingData.registration | 3 + schema/VirtualEthernetSwitchSystem.mof | 10 + schema/VirtualEthernetSwitchSystem.registration | 3 + schema/VirtualEthernetSwitchSystemSettingData.mof | 31 + ...ualEthernetSwitchSystemSettingData.registration | 3 + src/Makefile.am | 23 +- src/Virt_EASD.c | 709 ++++++++++++++++++ src/Virt_EASD.h | 59 ++ src/Virt_EthernetPort.c | 561 ++++++++++++++ src/Virt_EthernetPort.h | 58 ++ src/Virt_VESSSD.c | 382 ++++++++++ src/Virt_VESSSD.h | 39 + src/Virt_VirtualEthernetSwitchSystem.c | 478 ++++++++++++ src/Virt_VirtualEthernetSwitchSystem.h | 52 ++ 28 files changed, 4097 insertions(+), 10 deletions(-) create mode 100644 libxkutil/network_model_helper.c create mode 100644 libxkutil/network_model_helper.h create mode 100644 libxkutil/network_parsing.c create mode 100644 libxkutil/network_parsing.h create mode 100644 libxkutil/network_parsing_test.c create mode 100644 schema/EthernetPort.mof create mode 100644 schema/EthernetPort.registration create mode 100644 schema/EthernetPortAllocationSettingData.mof create mode 100644 schema/EthernetPortAllocationSettingData.registration create mode 100644 schema/VirtualEthernetSwitchSystem.mof create mode 100644 schema/VirtualEthernetSwitchSystem.registration create mode 100644 schema/VirtualEthernetSwitchSystemSettingData.mof create mode 100644 schema/VirtualEthernetSwitchSystemSettingData.registration create mode 100644 src/Virt_EASD.c create mode 100644 src/Virt_EASD.h create mode 100644 src/Virt_EthernetPort.c create mode 100644 src/Virt_EthernetPort.h create mode 100644 src/Virt_VESSSD.c create mode 100644 src/Virt_VESSSD.h create mode 100644 src/Virt_VirtualEthernetSwitchSystem.c create mode 100644 src/Virt_VirtualEthernetSwitchSystem.h