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 78B7010169 for ; Tue, 11 Jun 2013 18:56:00 +0000 (UTC) Received: (qmail 74159 invoked by uid 500); 11 Jun 2013 18:56:00 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 74125 invoked by uid 500); 11 Jun 2013 18:56:00 -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 74115 invoked by uid 99); 11 Jun 2013 18:56:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jun 2013 18:56:00 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ustcweizhou@gmail.com designates 209.85.212.170 as permitted sender) Received: from [209.85.212.170] (HELO mail-wi0-f170.google.com) (209.85.212.170) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jun 2013 18:55:55 +0000 Received: by mail-wi0-f170.google.com with SMTP id ey16so4559949wid.3 for ; Tue, 11 Jun 2013 11:55:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vGtSs/PqkEQLoVkVblgQAqg1zr1Ex9QqODbhKVIA10I=; b=BLLn83nZIEr1SPcCh8raRF9H8+DVKc9ZEAqtdxzBT19vJY2PLzjmznYJ6tnr96qtZX 3E4SB59DcEHEjPh026QrMnOGGm1C0McGp9KJLR2DIdhwsH42OrCCoKqj3i7YH4GR/hjw szyIyXtlX8cf2wA51lrB7ld5eZZucjF/drkFjmmeXoQy1/blO+dc5Tx758SV4RMA+NVs GRBMUzkin48DBZGnyTv+n/I/6GWA+3qTyR+rV2R5C8ebJGanQ4hbIewmEyUINgyljbGb 2ynnUSAj4Nleiss6iTbJ86kpVhJroOaRhrfvYOc3xlKMVcTnQ/xbC17LMguRSzA/EWIy gMhA== MIME-Version: 1.0 X-Received: by 10.180.198.175 with SMTP id jd15mr2226538wic.28.1370976934649; Tue, 11 Jun 2013 11:55:34 -0700 (PDT) Received: by 10.194.7.136 with HTTP; Tue, 11 Jun 2013 11:55:34 -0700 (PDT) In-Reply-To: <4EFCA102B2C89A43BD3D0B497BFB878402A64E@SJCPEX01CL01.citrite.net> References: <2610aef8110c40318016c146510a0463@git.apache.org> <4EFCA102B2C89A43BD3D0B497BFB878402A5F2@SJCPEX01CL01.citrite.net> <4EFCA102B2C89A43BD3D0B497BFB878402A64E@SJCPEX01CL01.citrite.net> Date: Tue, 11 Jun 2013 20:55:34 +0200 Message-ID: Subject: Re: cloudstack UI: add shared network From: Wei ZHOU To: Jessica Wang Cc: "dev@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=047d7b6249562f62ff04dee5714f X-Virus-Checked: Checked by ClamAV on apache.org --047d7b6249562f62ff04dee5714f Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Jessica, Thank you so much. -Wei 2013/6/11 Jessica Wang > Wei,**** > > ** ** > > > What do you think about show/hide the button according to account/user > on Network tab? **** > > Network tab is for normal user.**** > > We put everything that only root-admin is allowed to access in > Infrastructure tab. This is by design. We probably won=92t change it.**** > > ** ** > > > I can not find a page to add shared networks in Infracstruture tab.**** > > Please go to Infrastructure tab > Zones > Physical Network tab > Guest > > Network tab =3D> =93Add guest network=94 button**** > > ** ** > > Jessica**** > > ** ** > > ** ** > > *From:* Wei ZHOU [mailto:ustcweizhou@gmail.com] > *Sent:* Tuesday, June 11, 2013 10:57 AM > *To:* Jessica Wang > *Subject:* Re: git commit: updated refs/heads/master to a59067e**** > > ** ** > > Jessica,**** > > **** > > What do you think about show/hide the button according to account/user on > Network tab?**** > > I am now testing advanced zone with security groups. I can not find a pag= e > to add shared networks in Infracstruture tab.**** > > **** > > -Wei**** > > ** ** > > 2013/6/11 Jessica Wang **** > > Wei, > > Because Network tab is for normal user and normal user is not allowed to > add shared network. > > Only root-admin is allowed to add shared network and root-admin should do > it in Infrastructure tab. > (Infrastructure tab is only available to root-admin) > > Jessica**** > > > -----Original Message----- > From: Wei ZHOU [mailto:ustcweizhou@gmail.com] > Sent: Tuesday, June 11, 2013 6:59 AM > To: dev@cloudstack.apache.org > Subject: Re: git commit: updated refs/heads/master to a59067e > > Hi Jessica, > > I was wondering why shared network can not be added here? > > -Wei > > > 2013/6/10 > > > Updated Branches: > > refs/heads/master 40982ccef -> a59067e94 > > > > > > CLOUDSTACK UI - network menu - create guest network dialog - change > label. > > > > > > Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo > > Commit: > http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a59067e9 > > Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a59067e9 > > Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a59067e9 > > > > Branch: refs/heads/master > > Commit: a59067e94f7095a2448d342d5eed0ffee5f066c0 > > Parents: 40982cc > > Author: Jessica Wang > > Authored: Mon Jun 10 13:43:07 2013 -0700 > > Committer: Jessica Wang > > Committed: Mon Jun 10 13:43:07 2013 -0700 > > > > ---------------------------------------------------------------------- > > ui/scripts/network.js | 7 +++---- > > 1 file changed, 3 insertions(+), 4 deletions(-) > > ---------------------------------------------------------------------- > > > > > > > > > http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a59067e9/ui/script= s/network.js > > ---------------------------------------------------------------------- > > diff --git a/ui/scripts/network.js b/ui/scripts/network.js > > index 9e60cbc..61468fc 100755 > > --- a/ui/scripts/network.js > > +++ b/ui/scripts/network.js > > @@ -320,8 +320,8 @@ > > title: 'label.guest.networks', > > listView: { > > actions: { > > - add: { //add Isolated guest network (can't add Shared gues= t > > network here) > > - label: 'Add Isolated Guest Network', > > + add: { > > + label: 'Add Isolated Guest Network with SourceNat', > > > > preFilter: function(args) { //Isolated networks is only > > supported in Advanced (SG-disabled) zone > > if(args.context.zoneType !=3D 'Basic') > > @@ -331,8 +331,7 @@ > > }, > > > > createForm: { > > - title: 'Add Isolated Guest Network', > > - desc: 'Add Isolated Guest Network with SourceNat', > > + title: 'Add Isolated Guest Network with SourceNat', > > fields: { > > name: { label: 'label.name', validation: { required: > > true }, docID: 'helpGuestNetworkName' }, > > displayText: { label: 'label.display.text', > validation: > > { required: true }, docID: 'helpGuestNetworkDisplayText'}, > > > >**** > > ** ** > --047d7b6249562f62ff04dee5714f--