On 15 Jan 2015, at 21:31, Thomas Graf wrote:

On 01/15/15 at 12:26pm, Andy Zhou wrote:
Do you have thoughts how we can support multiple kernel versions (for
testing compat code)
May be even multiple kernel versions over multiple distributions?

We could use 'packer' to automatically create boxes for various
kernel versions and upload them to the vagrant cloud. So we could f.e.
test against a set of official distro kernels but also all latest
stable vanilla kernels (like travis CI does now).

Not fully thought out yet though.

The packer definitions for the "chef" boxes are here
https://github.com/opscode/bento

It's possible to host the defintions in a git repo, have Jenkins handle builds, upload the boxes to Amazon S3 and update the boxes in Atlas (formerly Vagrant Cloud). A possible downside is that Atlas is going to be a "paid" service so some funding might be necessary in future to host these boxes. Of course, if they are on S3, you can just point the config.vm.box_url there...

An alternative would be to do something like this:

https://gist.github.com/4e371d8fd860a4987cee

Which - assuming a script is used to compile the correct Kernel - would result in N Fedora VMs named "fedora20-3.17.7" An obvious flaw in my Gist is that the VM name doesn't include whether DPDK has been installed or not.

Vagrantfiles are just a Ruby DSL, so you can use normal Ruby in here to do some very cool stuff

-- Dave


_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to