Added ability to filter and classify packets based on the containers interface.
authorXavi Leon <xleon@ac.upc.edu>
Fri, 2 Dec 2011 17:50:16 +0000 (12:50 -0500)
committerXavi Leon <xleon@ac.upc.edu>
Fri, 2 Dec 2011 17:50:16 +0000 (12:50 -0500)
commit28d1381822e9597f551ca085f4165384d75d4730
tree25170b5f7a30ef58073f66220e4b70cbb891599b
parent6d75c44c7fa123500d8bd80a97884a016169dad5
Added ability to filter and classify packets based on the containers interface.
Changes:
- lxc libvirt configuration template to attach the xid to the container
  interface
- added ebtables rule to mark packets going out from the containers interface
  with its xid and added a filter to classify packets based on this mark
- moved the definition of container after the user is created so we get the
  correct xid to attach to the virtual interface name.
bwlimit.py
config_template.xml
sliver_lxc.py