Re: [PATCH] esx: Implement network driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05.08.2012 22:11, Matthias Bolte wrote:
> An ESX server has one or more PhysicalNics that represent the actual
> hardware NICs. Those can be listed via the interface driver.
> 
> A libvirt virtual network is mapped to a HostVirtualSwitch. On the
> physical side a HostVirtualSwitch can be connected to PhysicalNics.
> On the virtual side a HostVirtualSwitch has HostPortGroups that are
> mapped to libvirt virtual network's portgroups. Typically there is
> HostPortGroups named 'VM Network' that is used to connect virtual
> machines to a HostVirtualSwitch. A second HostPortGroup typically
> named 'Management Network' is used to connect the hypervisor itself
> to the HostVirtualSwitch. This one is not mapped to a libvirt virtual
> network's portgroup. There can be more HostPortGroups than those
> typical two on a HostVirtualSwitch.
> 
>          +---------------+-------------------+
>    ...---|               |                   |   +-------------+
>          | HostPortGroup |                   |---| PhysicalNic |
>          |   VM Network  |                   |   |    vmnic0   |
>    ...---|               |                   |   +-------------+
>          +---------------+ HostVirtualSwitch |
>                          |     vSwitch0      |
>          +---------------+                   |
>          | HostPortGroup |                   |
>    ...---|   Management  |                   |
>          |    Network    |                   |
>          +---------------+-------------------+
> 
> The virtual counterparts of the PhysicalNic is the HostVirtualNic for
> the hypervisor and the VirtualEthernetCard for the virtual machines
> that are grouped into HostPortGroups.
> 
>    +---------------------+   +---------------+---...
>    | VirtualEthernetCard |---|               |
>    +---------------------+   | HostPortGroup |
>    +---------------------+   |   VM Network  |
>    | VirtualEthernetCard |---|               |
>    +---------------------+   +---------------+
>                                              |
>                              +---------------+
>    +---------------------+   | HostPortGroup |
>    |    HostVirtualNic   |---|   Management  |
>    +---------------------+   |    Network    |
>                              +---------------+---...
> 
> The currently implemented network driver can list, define and undefine
> HostVirtualSwitches including HostPortGroups for virtual machines.
> Existing HostVirtualSwitches cannot be edited yet. This will be added
> in a followup patch.
> ---
>  po/POTFILES.in                 |    1 +
>  src/conf/network_conf.c        |    3 +-
>  src/conf/network_conf.h        |    3 +
>  src/esx/esx_network_driver.c   |  867 +++++++++++++++++++++++++++++++++++++++-
>  src/esx/esx_vi.c               |  171 ++++++++
>  src/esx/esx_vi.h               |   14 +
>  src/esx/esx_vi_generator.input |  151 +++++++
>  src/esx/esx_vi_generator.py    |    5 +
>  8 files changed, 1212 insertions(+), 3 deletions(-)
> 

ACK

Michal

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]