[PATCH V6 0/7] vlan extention - readonly

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

the patch could be get from following url: https://gitorious.org/libvirt-cim_develop/libvirt-cim_develop git repository: git://gitorious.org/libvirt-cim_develop/libvirt-cim_develop.git branch vlan_v6

On 01/31/2012 12:51 PM, xiaxia347work wrote:
the patch could be get from following url: https://gitorious.org/libvirt-cim_develop/libvirt-cim_develop
git repository: git://gitorious.org/libvirt-cim_develop/libvirt-cim_develop.git branch vlan_v6
Just a heads up, it was not necessary to create another project on gitorious to host your tree. You can create as many clones as you want on the libvirt-cim project page: http://gitorious.org/libvirt-cim The idea when I created the project in gitorious was to have a common place for developers to host their trees with the work in progress, since write access to libvirt.org repository is restricted to the maintainers of the project. The next step would be to automate the synchronization between libvirt.org and gitorious trees, the same way is done for libvirt (http://gitorious.org/libvirt). Nowadays, I am doing this sync manually, which I think is fine as the 'commit rate' is much lower when compared to libvirt. Best regards, -- Eduardo de Barros Lima Software Engineer, Open Virtualization Linux Technology Center - IBM/Brazil eblima@br.ibm.com

Thanks for the information. I tried to clone my own version on http://gitorious.org/libvirt-cim, it is a bit slow but succeed after several minutes, maybe next time I can use this repository. 于 2012-2-1 1:03, Eduardo Lima (Etrunko) 写道:
On 01/31/2012 12:51 PM, xiaxia347work wrote:
the patch could be get from following url: https://gitorious.org/libvirt-cim_develop/libvirt-cim_develop
git repository: git://gitorious.org/libvirt-cim_develop/libvirt-cim_develop.git branch vlan_v6
Just a heads up, it was not necessary to create another project on gitorious to host your tree. You can create as many clones as you want on the libvirt-cim project page:
http://gitorious.org/libvirt-cim
The idea when I created the project in gitorious was to have a common place for developers to host their trees with the work in progress, since write access to libvirt.org repository is restricted to the maintainers of the project.
The next step would be to automate the synchronization between libvirt.org and gitorious trees, the same way is done for libvirt (http://gitorious.org/libvirt). Nowadays, I am doing this sync manually, which I think is fine as the 'commit rate' is much lower when compared to libvirt.
Best regards,
-- Best Regards Wayne Xia mail:xiawenc@linux.vnet.ibm.com tel:86-010-82450803
participants (4)
-
Eduardo Lima (Etrunko)
-
Wayne Xia
-
xiaxia347work
-
xiaxia347work@163.com