I have pushed the following patches (which are just technical debt):
Fix whitespace
Reuse existing type alias
Rename 'CdromOption' to '_CdromOption'
Fix missing 'L{...}' in docstring
Fix missing '@raise' in docstring
Fix missing '@raise' in docstring
I will start a new patch series with the remaining patches.
On Fri, Jan 31, 2014 at 11:46:30AM +0100, Jose A. Lopes wrote:
> This patch series adds the instance communication mechanism to new
> instances when they are created. It does not do 'gnt-instance modify'
> and assumes the correct network has been created with 'gnt-network'
> beforehand.
>
> * fix whitespace, types, names, docstrings
> * add metadata daemon
> * modify 'ganeti.KVMHypervisor._OpenTap' to receive the TAP interface
> name as argument
> * add helper function to generate unique TAP names
> * modify logical unit that creates an instance to supply an additional
> NIC to the instance if instance communication is enabled
> * add command-line interface flag for instance communication and also
> extend the opcode with this parameter
> * add example of 'kvm-vif-bridge' that shows how to use instance
> communication and integrate with the DHCP server
> * update man pages
>
> Jose A. Lopes (13):
> Fix whitespace
> Reuse existing type alias
> Rename 'CdromOption' to '_CdromOption'
> Fix missing 'L{...}' in docstring
> Fix missing '@raise' in docstring
> Fix missing '@raise' in docstring
> Add metadata daemon
> Add TAP interface name as argument in '_OpenTap'
> Generate TAP names ('gnt.com.%d') for instance comm NICs
> Add extra NIC to instance being created for communication
> Add CLI and OpCode instance communication option
> Add 'kvm-vif-bridge' that exemplifies instance communication
> Add instance communication CLI flags to the man page
>
> .gitignore | 1 +
> Makefile.am | 6 ++
> configure.ac | 7 ++
> lib/cli.py | 68 +++++++++------
> lib/client/gnt_instance.py | 5 +-
> lib/cmdlib/instance.py | 13 ++-
> lib/hypervisor/hv_kvm.py | 72 ++++++++++++++--
> lib/serializer.py | 4 +-
> lib/utils/io.py | 3 +-
> man/gnt-instance.rst | 5 ++
> src/AutoConf.hs.in | 8 +-
> src/Ganeti/Constants.hs | 39 +++++++--
> src/Ganeti/Metad.hs | 94 ++++++++++++++++++++
> src/Ganeti/Monitoring/Server.hs | 4 +-
> src/Ganeti/OpCodes.hs | 3 +-
> src/Ganeti/OpParams.hs | 8 +-
> src/Ganeti/Path.hs | 6 +-
> src/Ganeti/Runtime.hs | 8 +-
> src/ganeti-metad.hs | 48 +++++++++++
> test/hs/Test/Ganeti/OpCodes.hs | 3 +-
> test/hs/Test/Ganeti/Runtime.hs | 2 +
> tools/kvm-vif-bridge | 186
> ++++++++++++++++++++++++++++++++++++++++
> 22 files changed, 534 insertions(+), 59 deletions(-)
> create mode 100644 src/Ganeti/Metad.hs
> create mode 100644 src/ganeti-metad.hs
> create mode 100644 tools/kvm-vif-bridge
>
> --
> 1.8.5.3
>
--
Jose Antonio Lopes
Ganeti Engineering
Google Germany GmbH
Dienerstr. 12, 80331, München
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores
Steuernummer: 48/725/00206
Umsatzsteueridentifikationsnummer: DE813741370