All of lore.kernel.org
 help / color / mirror / Atom feed
From: George Shuklin <george.shuklin@gmail.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: [IDEA] xendhcp proposal
Date: Wed, 16 May 2012 20:35:27 +0400	[thread overview]
Message-ID: <4FB3D74F.50101@gmail.com> (raw)

Good day.

During automated VM deploy I found some very annoying problem - network 
VM configuration. Classic DHCP is not very easy to manage in virtual 
environment (protection from stray DHCP-servers, problems with 
autoidentification).

Problems are:
* how to identificate VM?
* how to provide network configuration in native way for guest (e.g. 
support of mount order for network fs, if-up scripts and so on)
* how to reconfigure hosts 'on demand'? (even DHCP is not very 'on 
demand' beause of lease time).

Propose:

Store network configuration in domain part of xenstore, use xendhcp 
service to read those data from guest and acts like classic dhcp client.

Implementation detail:

1) Store data in DHCP-like way (option code - answer).
2) Subscribe for changes and reacts to it like we have lease expiration.
3) xendhcp should replace normal dhcp (may be even with conclict in 
packages with original dhcp client, and provide it functionality), mimic 
/sbin/dhclient functionality.

That allows to keep original network configuration for every 
distribution, just put 'dhcp' method for debian 'interfaces' (and same 
way for every other operation system).

What you think about this?

             reply	other threads:[~2012-05-16 16:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-16 16:35 George Shuklin [this message]
2012-05-17  7:57 ` [IDEA] xendhcp proposal Vasiliy Tolstov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FB3D74F.50101@gmail.com \
    --to=george.shuklin@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.