Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B1D7311E41 for ; Fri, 8 Aug 2014 00:17:49 +0000 (UTC) Received: (qmail 39086 invoked by uid 500); 8 Aug 2014 00:17:49 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 39028 invoked by uid 500); 8 Aug 2014 00:17:49 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 39017 invoked by uid 99); 8 Aug 2014 00:17:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2014 00:17:48 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.213.176] (HELO mail-ig0-f176.google.com) (209.85.213.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2014 00:17:44 +0000 Received: by mail-ig0-f176.google.com with SMTP id hn18so231379igb.9 for ; Thu, 07 Aug 2014 17:17:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=5Z3xlenv//1PyppJYc8GO6agZYwFgGnV7Tu1kkritdw=; b=nHa1ryL+QZtg5NRTQgWvr3Lyi4fg0jXduqpqKP+Whg1kk74+qb5KJpq6boIQTzAW/g 8X4UqhAgaE9YKDaDbF4NJEK93wIxlmfHTLqpBNwUzM9myB2vUXH81geaUxk+OBUL0DZQ O90TvbgBB6WdKtf4kNFFZ9o0FOu4M8hbI5dvKF7vTVAfQw2HBLKYvskfBHYohnlaxTW+ IsadApkizXC9+qkOhh/3CwFEoLP6ZTZeEowW3/4ffRv/1cm9g/CXp492WrNnojhqC+sy bamU479kO51pcRga8z0G8Tz/TDxyVV9bWbG8wRvAexWpLm5RSpiu9Yy6lNGsT55zvoa0 RZlA== X-Gm-Message-State: ALoCoQnGuKyb+wsOzCCIO4s1vqo+glgCSgmLiSOhzKODl9u76BxfeTPyt1jRx1GH/MoRL9rVIO1U MIME-Version: 1.0 X-Received: by 10.50.153.83 with SMTP id ve19mr507749igb.4.1407457044325; Thu, 07 Aug 2014 17:17:24 -0700 (PDT) Received: by 10.107.18.35 with HTTP; Thu, 7 Aug 2014 17:17:24 -0700 (PDT) In-Reply-To: References: Date: Thu, 7 Aug 2014 17:17:24 -0700 Message-ID: Subject: Re: What is the behaviour of VPC Reset? From: Suresh Ramamurthy To: Alena Prokharchyk Cc: "dev@cloudstack.apache.org" , Sheng Yang Content-Type: multipart/alternative; boundary=089e0149c8662a0d760500132160 X-Virus-Checked: Checked by ClamAV on apache.org --089e0149c8662a0d760500132160 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Alena, Thanks for quick response. But, I do not see any code that makes a call to delete the rules and reapplies it. If it reapplies how does it get the information for each tier to reapply the ACLs. I see that just shutdownVpc() API call is made and VPCVRElement just invokes destroyRouter... Am I missing something here. Can you please point me to code that deletes and re-applies all Rules, NAT etc. Is it in VR code? I am trying to understand the behaviour so that I can replicate in our SDN solution. I see this happening in case of Network Restart with clean up option. Thanks, Suresh On Thu, Aug 7, 2014 at 4:32 PM, Alena Prokharchyk < Alena.Prokharchyk@citrix.com> wrote: > Suresh, > > Yes, it does. All the rules for all the networks inside the VPC, are bein= g > reapplied on the VPC VR after its up. > > I don=C2=B9t see it being documented neither in the FS, nor in the API it= self. > Please file a CS doc bug on that. > > -Alena. > > On 8/7/14, 3:40 PM, "Suresh Ramamurthy" > wrote: > > >Hi Alena, Sheng Yang, > > > >Could you please shed some light on the behaviour of VPC Reset > >functionality? > > > >When I went through the code, VPC Reset shuts down the VR and restarts i= t. > >Does it also clean all ACL, NAT etc associated to all the tiers in the V= PC > >and then reconfigure the current value? > > > >Is there any document that I can read to get an idea about the behaviour= ? > > > >Thanks, > >Suresh Ramamurthy > > --089e0149c8662a0d760500132160--