[LiSA-Devel] integrating LiSA in libvirt

Andreea-Cristina Hodea andreea.cristina.hodea at gmail.com
Thu Jun 20 15:10:50 EEST 2013


Hi,

When we met last week (Ionut, Radu and I), we established some tasks
for integrating LiSA in libvirt. Mainly, the tasks are (not
necessarily in this order):

1) add an entry to the corresponding combo in virt-manager, i.e. an
entry with "lisa_switch" next to bridge and macvtap options.

2) implement functions to support 1):
  a) create virnetdevlisa.[c|h]
  b) declare and define virNetDevLisaAddPort and virNetDevLisaRemovePort

3) modify autoconf script to permit lisa enabling, maybe something
similar to `./autoconf --enable-lisa`

4) point 1) also reflects in xml configuration file, more exactly in
<source > tag, so define another attribute/property for <source> tag,
as `<source lisa_switch="true"/>` compared to `<source
network="default"/>` for example

Now here it is a progress status and some questions:

For task 2) I was thinking at the following prototype:

virNetDevLisaAddPort(const char *portname, const char *if_tag,
virNetDevVlanPtr virtVlan) {
    // obtain if_index on portname
    // if (if_tag)
    //    switch_set_if_tag(if_index, if_tag)
    // if (virtVlan)

}


More information about the LiSA-Devel mailing list