All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lucas Meneghel Rodrigues <lmr@redhat.com>
To: autotest@test.kernel.org
Cc: Yogananth Subramanian <anantyog@in.ibm.com>, kvm@vger.kernel.org
Subject: Re: [Autotest] [PATCH] KVM test: Add support for ipv6 addresses
Date: Wed, 24 Feb 2010 01:16:36 -0300	[thread overview]
Message-ID: <6ac58f4f1002232016n78d86867ke6b2f10cc7deda47@mail.gmail.com> (raw)
In-Reply-To: <1266984656-4036-1-git-send-email-lmr@redhat.com>

H i Yogi, I have read and rebased your patch against current trunk. I
have one doubt: I noticed that the tcpdump command you use to monitor
traffic is basically all traffic that goes to network routers

/usr/sbin/tcpdump -npv ip6 -i any 'dst net ff02::2'

However, the IPv4 implementation filters the traffic to the dhcp/bootp
port, 68. Therefore the ipv6 mapper captures more (non necessarily
useful) mappings than the ipv4 version. I made some brief research and
couldn't figure out how to do it. Do you think it's possible to refine
the tcpdump command to make it look only on the dhp request port (68)?

On Wed, Feb 24, 2010 at 1:10 AM, Lucas Meneghel Rodrigues
<lmr@redhat.com> wrote:
>
> This patch enables ipv6 address support in kvm-autotest.
> The patch adds a new dictionary called "address6_cache" for ip6 address.
> Tcpdump is used to create this cache of link-local ipv6 address.
>
> Link-local ipv6 address is used because it eliminates to need to create
> complex configuration on both the host and the guest.
>
> The ipv6 address for a guest can be obtained by using the new function
> get_address6 in kvm_vm.py
>
> Signed-off-by: Yogananth Subramanian <anantyog@in.ibm.com>
> ---
>  client/tests/kvm/kvm_preprocessing.py |   29 ++++++++++++++++++-
>  client/tests/kvm/kvm_utils.py         |   28 +++++++++++++++++++
>  client/tests/kvm/kvm_vm.py            |   49 +++++++++++++++++++++++++++++++--
>  3 files changed, 101 insertions(+), 5 deletions(-)
>
>
> _______________________________________________
> Autotest mailing list
> Autotest@test.kernel.org
> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
>
>



-- 
Lucas

  reply	other threads:[~2010-02-24  4:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-24  4:10 [PATCH] KVM test: Add support for ipv6 addresses Lucas Meneghel Rodrigues
2010-02-24  4:16 ` Lucas Meneghel Rodrigues [this message]
2010-02-25 13:41   ` [Autotest] " yogi
2010-02-25 20:09     ` Lucas Meneghel Rodrigues
2010-03-02 15:02       ` yogi

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=6ac58f4f1002232016n78d86867ke6b2f10cc7deda47@mail.gmail.com \
    --to=lmr@redhat.com \
    --cc=anantyog@in.ibm.com \
    --cc=autotest@test.kernel.org \
    --cc=kvm@vger.kernel.org \
    /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.