VLC Network improve with SDN approach.

2016-09-02 Thread Luis Zárate
This mail is not an official mail of presentation of our work is just I
commented you what we are working, I hope not to get ahead imprudently in
the presentation of our work, and make false illusions if so my sincere
apologies
The official mail will be send soon.

First than all my presentation. My name is Luis Zárate, I work for Solvo (
solvosoft.com) and in Solvo we are working in a Universidad de Costa Rica
(UCR) project based in VCL.

In the UCR we detect that VCL needs a better network approach, because
service like DNS, DHCP,NAT, VPN,Firewall are not include as part of
reservation (you can set DHCP but not reserve a new dhcp server with
specific configurations), so same as  machine reservation, we want an
network service reservation on demand and scheduled. So we looked how to
make this possible and see in SDN approach how to do that.

In the past 8 months we studied VCL code and have some observations (this
for other mail), We made some diagrams and worked in the new design of VCL
network we also started and SDN lab for test.

In our SDN Lab we made a overlay network based on GRE tunnels (we have
hardware limitations), OpenvSwitch and Ryu with good results, we also being
worked in how to automate the service creation and saw it that is possible
to incorporated VCL (some code in https://github.com/luisza/sdn_control/,
is in python, but I think can be translated to Perl when I feel good with
the language).  Although our lab is with overlay network I see possible to
use other SDN model and controller without several code changes.

I also started studying Perl and dojo, I know php and javascript, C/C++ and
Python but not Perl and dojo so is part of what I am doing.

Attached are an visual idea of how I see the new VCL network system, we are
working on mockups right know.

We also do an VCL apps approach in django only for understand the database,
but it's good to see who we sort the models. (specially see
https://github.com/luisza/vcl_django/tree/master/pngs)

-- 
"La utopía sirve para caminar" Fernando Birri


[jira] [Resolved] (VCL-988) KVM libvirt provisioning module colon char in domain name Error starting domain: Invalid machine name

2016-09-02 Thread Aaron Peeler (JIRA)

 [ 
https://issues.apache.org/jira/browse/VCL-988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aaron Peeler resolved VCL-988.
--
Resolution: Fixed

> KVM libvirt provisioning module colon char in domain name Error starting 
> domain: Invalid machine name
> -
>
> Key: VCL-988
> URL: https://issues.apache.org/jira/browse/VCL-988
> Project: VCL
>  Issue Type: Bug
>  Components: vcld (backend)
>Reporter: Aaron Peeler
> Fix For: 2.5
>
>
> The use of a colon character in the domain name prevents the vm from starting 
> with Error starting domain: Invalid machine name
> libvirt can define and undefine a VM with the colon char but cannot start the 
> vm



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: need theme testers and input on new theme

2016-09-02 Thread Josh Thompson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Young,

I can play around with some ways to include the logout link next to the name 
block.

The NCSU site is actually using a CMS for everything at vcl.ncsu.edu except 
for vcl.ncsu.edu/scheduling, which is the actual VCL web code.  The themes of 
the CMS and the VCL code are carefully matched closely enough to make them 
look like the same site.

So, to keep the menu bar at the top but display the ASF VCL wiki content, 
we'd need to use an iframe to include the wiki content.  Is something like 
that what you are thinking?  It's an interesting idea.

Thanks,
Josh

On Friday, September 02, 2016 3:33:41 PM YOUNG OH wrote:
> Hi Josh,
> 
> 1) I got it. I tried to resize the browser window and found that why you
> need to do that.
> Personally, I will vote for the option 3.
> 
> 2) My question is not the "Documentation" link. My suggestion is that it
> would be great if we could keep the menu bar when we click the
> "Documentation" link (Like NCSU VCL).
> 
> Thanks,
> Young
> 
> 
> 
> 
> 
> On Fri, Sep 2, 2016 at 2:28 PM, Josh Thompson 
> 
> wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> > 
> > Young,
> > 
> > Thanks for having a look and for providing feedback!
> > 
> > I intentionally put the name block in the upper right part of the screen
> > due
> > to using Bootstrap's responsive layout (responsive layouts handle varying
> > screen widths, mainly for mobile devices).  If the screen width is 
reduced
> > enough, all of the menu gets collapsed into a hidden menu with the 
typical
> > 3
> > horizontal bars allowing it to be displayed.  For the screen width
> > slightly
> > wider than when it collapses, there isn't enough room to fit the name
> > block
> > on the menu line.  You can see the changes by dragging the side of your
> > browser window to resize it.  There are some options on this that I'd 
like
> > to
> > get feedback on from you and others:
> > 
> > 1) leave it as it currently is
> > 2) put it on the menu line except for the screen width range where it
> > wouldn't fit
> > 3) move the logout link next to the name block
> > 4) other ideas?
> > 
> > For your second concern, are you talking about the "Documentation" link?
> > The
> > idea for that is to take you to a site that provides documentation on how
> > to
> > use VCL.
> > 
> > Thanks,
> > Josh
> > 
> > On Friday, September 02, 2016 1:54:51 PM YOUNG OH wrote:
> > > Hi Josh,
> > > 
> > > I just tested the new Theme in my test environment and it is great!!!. 
I
> > > got impressed a lot about it. The new Theme looks great and is well
> > > organized by functions. I haven't test all the menus but now I have two
> > > comments about the new Theme.
> > > 
> > > 1. I am not sure but I think the user name and logout were misaligned
> > 
> > (I've
> > 
> > > attached a screen shot). The logout is next to language selection now.
> > > 
> > > 2. When I click "Documents", it automatically forwards to the VCL wiki.
> > 
> > So,
> > 
> > > I have to use the Browser's back button to back to the VCL site.  I
> > > think
> > > if the reservation menu is shown for this, it would be great.
> > > 
> > > And again, the new Theme is great and I really like it.
> > > 
> > > Thanks,
> > > Young
> > > 
> > > On Tue, Aug 30, 2016 at 2:38 PM, Josh Thompson 
> > > 
> > > wrote:
> > > > -BEGIN PGP SIGNED MESSAGE-
> > > > Hash: SHA1
> > > > 
> > > > I just uploaded a new dojo tarball.  I'll try to maintain an archive
> > > > of
> > > > what
> > > > I've uploaded as well as a 2nd copy of the most recent one always
> > > > being
> > > > named
> > > > 
> > > > dojo-vcl-2.5-test-latest.tar.gz
> > > > 
> > > > (I'd use a symlink, but following them is apparently not allowed by
> > 
> > httpd
> > 
> > > > on
> > > > that system.)
> > > > 
> > > > For #7 below, use this link now:
> > > > 
> > > > http://people.apache.org/~jfthomps/testing/dojo-vcl-2.5-> > 
> > test-latest.tar.gz
> > 
> > > > md5sum for that is a52f1a17b8465e8957c1fe7a085feb3a
> > > > 
> > > > Josh
> > > > 
> > > > On Friday, August 26, 2016 4:16:55 PM Josh Thompson wrote:
> > > > > - gpg control packet
> > > > > I recently committed a new theme (dropdownmenus) for 2.5.  It is
> > 
> > based
> > 
> > > > > on Bootstrap.  Aaron Coburn had done some initial work toward this 
a
> > > > > while ago.  Then, we switched to something similar here at NCSU. 
> > > > > I'd
> > > > > really like some feedback on it.
> > > > > 
> > > > > To install a working system from trunk, I'd recommend the following
> > > > > steps:
> > > > > 
> > > > > 1) use the 2.4.2 vcl-install.sh script to install to a test system
> > > > > 2) cd /var/www/html
> > > > > 3) svn co https://svn.apache.org/repos/asf/vcl/trunk/web vcl-trunk
> > > > > 4) cd /var/www/html/vcl/.ht-inc
> > > > > 5) cp -r conf.php keys.pem pubkey.pem secrets.php spyc-0.5.1
> > > > > /var/www/html/vcl-trunk/.ht-inc
> > > > > 6) cd /var/www/html/vcl-trunk
> 

[jira] [Commented] (VCL-988) KVM libvirt provisioning module colon char in domain name Error starting domain: Invalid machine name

2016-09-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/VCL-988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15459431#comment-15459431
 ] 

ASF subversion and git services commented on VCL-988:
-

Commit 1759025 from [~fapeeler] in branch 'vcl/trunk'
[ https://svn.apache.org/r1759025 ]

VCL-988

replaced : with __ in the domain name. This matches what Josh was using in 
local sandbox to fix the issue.
Thanks Josh

> KVM libvirt provisioning module colon char in domain name Error starting 
> domain: Invalid machine name
> -
>
> Key: VCL-988
> URL: https://issues.apache.org/jira/browse/VCL-988
> Project: VCL
>  Issue Type: Bug
>  Components: vcld (backend)
>Reporter: Aaron Peeler
> Fix For: 2.5
>
>
> The use of a colon character in the domain name prevents the vm from starting 
> with Error starting domain: Invalid machine name
> libvirt can define and undefine a VM with the colon char but cannot start the 
> vm



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: [jira] [Resolved] (VCL-979) install script - prompt for timezine during installation

2016-09-02 Thread Josh Thompson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Young,

I tried to come up with a way to automatically detect and set the timezone, 
but I couldn't come up with anything I felt was reliable enough.  I don't 
think the list in /usr/share/zoneinfo matches the list of timezones supported 
by php closely enough to do this automatically.  Also, copying the file from 
/usr/share/zoneinfo to /etc/localtime is allowed, in which case it wouldn't 
be a link at all.

Josh

On Friday, September 02, 2016 3:02:56 PM YOUNG OH wrote:
> Hi Josh,
> 
> I've tested the vcl-install.sh script and it works fine. It changed the
> time zone in conf.php.
> 
> One thing I would like to suggest is that it would be great if we
> automatically set the timezone.
> 
> I found that we can get the timezone information from localtime and we
> might automatically assign it to the TIMEZONE variable in the
> vcl-install.sh.
> 

> == For example, in CentOS 7, we can get the local timezone information
> from localtime
> #  ls -l /etc/localtime
> lrwxrwxrwx. 1 root root 38 Aug  7 22:48 /etc/localtime ->
> ../usr/share/zoneinfo/America/New_York
> 
> Then, parsing
> # ls -l /etc/localtime | awk -F/ '{print $7 "/" $8}'
> America/New_York
> 
> Set the value in vcl-install.sh
> TIMEZONE=`ls -l /etc/localtime | awk -F/ '{print $7 "/" $8}'`
> 

> ===
> 
> Thanks,
> Young
> 
> On Thu, Aug 25, 2016 at 12:44 PM, Josh Thompson (JIRA) 
> 
> wrote:
> >  [ https://issues.apache.org/jira/browse/VCL-979?page=com.
> > 
> > atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> > 
> > Josh Thompson resolved VCL-979.
> > ---
> > 
> > Resolution: Implemented
> > > 
> > > install script - prompt for timezine during installation
> > > 
> > > 
> > > Key: VCL-979
> > > URL: https://issues.apache.org/jira/browse/VCL-979
> > > 
> > > Project: VCL
> > >  
> > >  Issue Type: Improvement
> > >  Components: web gui (frontend)
> > >  
> > >Reporter: Josh Thompson
> > >Priority: Minor
> > >
> > > Fix For: 2.5
> > > 
> > > It would be helpful for the install script to prompt users to select 
the
> > 
> > timezone in which the system will be running. Alternatively, it could
> > inspect the running system and match the timezone for VCL to the system's
> > timezone.
> > 
> > 
> > 
> > --
> > This message was sent by Atlassian JIRA
> > (v6.3.4#6332)
- -- 
- ---
Josh Thompson
VCL Developer
North Carolina State University

my GPG/PGP key can be found at pgp.mit.edu

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iEYEARECAAYFAlfJ1zAACgkQV/LQcNdtPQNDGwCfSEAsOj6WwkKdD1hMSZ17+9OH
YDsAn2Tcc90mqltxrpPVwBQURXWJz7OB
=6OnM
-END PGP SIGNATURE-



[jira] [Created] (VCL-988) KVM libvirt provisioning module colon char in domain name Error starting domain: Invalid machine name

2016-09-02 Thread Aaron Peeler (JIRA)
Aaron Peeler created VCL-988:


 Summary: KVM libvirt provisioning module colon char in domain name 
Error starting domain: Invalid machine name
 Key: VCL-988
 URL: https://issues.apache.org/jira/browse/VCL-988
 Project: VCL
  Issue Type: Bug
  Components: vcld (backend)
Reporter: Aaron Peeler
 Fix For: 2.5


The use of a colon character in the domain name prevents the vm from starting 
with Error starting domain: Invalid machine name

libvirt can define and undefine a VM with the colon char but cannot start the vm



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: [jira] [Resolved] (VCL-979) install script - prompt for timezine during installation

2016-09-02 Thread YOUNG OH
Hi Josh,

I've tested the vcl-install.sh script and it works fine. It changed the
time zone in conf.php.

One thing I would like to suggest is that it would be great if we
automatically set the timezone.

I found that we can get the timezone information from localtime and we
might automatically assign it to the TIMEZONE variable in the
vcl-install.sh.
==
For example, in CentOS 7, we can get the local timezone information from
localtime
#  ls -l /etc/localtime
lrwxrwxrwx. 1 root root 38 Aug  7 22:48 /etc/localtime ->
../usr/share/zoneinfo/America/New_York

Then, parsing
# ls -l /etc/localtime | awk -F/ '{print $7 "/" $8}'
America/New_York

Set the value in vcl-install.sh
TIMEZONE=`ls -l /etc/localtime | awk -F/ '{print $7 "/" $8}'`
===

Thanks,
Young

On Thu, Aug 25, 2016 at 12:44 PM, Josh Thompson (JIRA) 
wrote:

>
>  [ https://issues.apache.org/jira/browse/VCL-979?page=com.
> atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Josh Thompson resolved VCL-979.
> ---
> Resolution: Implemented
>
> > install script - prompt for timezine during installation
> > 
> >
> > Key: VCL-979
> > URL: https://issues.apache.org/jira/browse/VCL-979
> > Project: VCL
> >  Issue Type: Improvement
> >  Components: web gui (frontend)
> >Reporter: Josh Thompson
> >Priority: Minor
> > Fix For: 2.5
> >
> >
> > It would be helpful for the install script to prompt users to select the
> timezone in which the system will be running. Alternatively, it could
> inspect the running system and match the timezone for VCL to the system's
> timezone.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)
>


Re: need translation help for 2.5

2016-09-02 Thread Josh Thompson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Luis,

Thanks for helping with translation work!

The simplest way to contribute the files would be just to attach them in an 
email to this list.  The next option would be to create an account on JIRA 
(issues.apache.org).  We'd then give you access to create/contribute to 
issues there.  Then, you could attach things to the JIRA issue on 
localization updates for 2.5 (VCL-968).  I just need the vcl.po and 
messages.js files.

The work you're doing with SDN sounds interesting!  I look forward to hearing 
more about it!

Thanks,
Josh

On Friday, September 02, 2016 12:35:10 PM Luis Zárate wrote:
> Hi,
> 
> I am working in es_CR translation and I will get ready soon so complete
> spanish translation is coming soon, but I am confused about how to submit
> my changes.  My background is in git so I know how works a version control
> software so in the instructions of previous mail you put inside trunk other
> tar.gz (dojo files) that makes some changes in trunk that I don't want to
> submit so how can I make a patch with only translation files.
> 
> And do you need that I also upload .mo file?
> 
> Other thing, I am working with VCL  in Costa Rica specially with network
> management system I am trying to incorporate SDN approach in VCL. So in
> near future I will share with you my work in the ways that you have
> documented for big changes in vcl :)
> 
> 
> 
> 
> 
> 
> El viernes, 26 de agosto de 2016, Josh Thompson 
> 
> escribió:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> > 
> > If anyone would be willing to help out with VCL translation work again
> > for 2.5, it would be greatly appreciated!
> > 
> > I have updated the vcl.po.template file, the messages.js.template file,
> > the vcl.po files for ex_MX, fr_CA, and po_PT (the others were already
> > fairly out of date), and the messages.js files for ex_MX, fr_CA, and
> > po_PT.  I would be happy to help get the older files back up to date or
> > generate new ones for other languages if anyone would be willing to help
> > do the translation work for them.
> > 
> > This page explains more information about working with the translations:
> > 
> > https://vcl.apache.org/docs/multilingualization.html
> > 
> > Please ensure you are working with the latest files from trunk before
> > getting started.  Here are steps to set up a test system with the latest
> > (web and db) code from trunk:
> > 
> > 1) use the 2.4.2 vcl-install.sh script to install to a test system
> > 2) cd /var/www/html
> > 3) svn co https://svn.apache.org/repos/asf/vcl/trunk/web vcl-trunk
> > 4) cd /var/www/html/vcl/.ht-inc
> > 5) cp -r conf.php keys.pem pubkey.pem secrets.php spyc-0.5.1
> > /var/www/html/vcl-trunk/.ht-inc
> > 6) cd /var/www/html/vcl-trunk
> > 7) wget
> 
> http://people.apache.org/~jfthomps/testing/dojo-vcl-2.5-test-20160825.tar.gz
> #md5sum: 90b82954c93090be738acaafa01c472c
> 
> > 8) tar xf dojo-vcl-2.5-test-20160825.tar.gz
> > 9) cd themes
> > 10) ./copydojocss.sh default
> > 11) cd /var/www/html
> > 12) rm vcl
> > 13) ln -s vcl-trunk vcl
> > 14) cd /root
> > 15) svn co https://svn.apache.org/repos/asf/vcl/trunk/mysql vcl-mysql
> > 16) mysqldump vcl > vcl-db-backup.sql
> > 17) mysql vcl < vcl-mysql/update-vcl.sql
> > 
> > Thanks in advance for your help!
> > Josh
> > - --
> > - ---
> > Josh Thompson
> > VCL Developer
> > North Carolina State University
> > 
> > my GPG/PGP key can be found at pgp.mit.edu
> > 
> > All electronic mail messages in connection with State business which
> > are sent to or received by this account are subject to the NC Public
> > Records Law and may be disclosed to third parties.
> > -BEGIN PGP SIGNATURE-
> > Version: GnuPG v2
> > 
> > iEYEARECAAYFAlfAqAIACgkQV/LQcNdtPQO+YwCfX3fa9KXN2mglYB8oR8s/+bkX
> > HMoAn0agLvr+UfjI1akKXsleBWx/AXE0
> > =jwfh
> > -END PGP SIGNATURE-
- -- 
- ---
Josh Thompson
VCL Developer
North Carolina State University

my GPG/PGP key can be found at pgp.mit.edu

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iEYEARECAAYFAlfJygMACgkQV/LQcNdtPQMwqwCePOhz0EN4kcOsjVCZ0J3BoV5h
y8UAn35onVjFGVF7UAXjY8LN1SACnq2V
=zp8r
-END PGP SIGNATURE-



Re: need translation help for 2.5

2016-09-02 Thread Luis Zárate
Hi,

I am working in es_CR translation and I will get ready soon so complete
spanish translation is coming soon, but I am confused about how to submit
my changes.  My background is in git so I know how works a version control
software so in the instructions of previous mail you put inside trunk other
tar.gz (dojo files) that makes some changes in trunk that I don't want to
submit so how can I make a patch with only translation files.

And do you need that I also upload .mo file?

Other thing, I am working with VCL  in Costa Rica specially with network
management system I am trying to incorporate SDN approach in VCL. So in
near future I will share with you my work in the ways that you have
documented for big changes in vcl :)






El viernes, 26 de agosto de 2016, Josh Thompson 
escribió:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> If anyone would be willing to help out with VCL translation work again
> for 2.5, it would be greatly appreciated!
>
> I have updated the vcl.po.template file, the messages.js.template file,
> the vcl.po files for ex_MX, fr_CA, and po_PT (the others were already
> fairly out of date), and the messages.js files for ex_MX, fr_CA, and
> po_PT.  I would be happy to help get the older files back up to date or
> generate new ones for other languages if anyone would be willing to help
> do the translation work for them.
>
> This page explains more information about working with the translations:
>
> https://vcl.apache.org/docs/multilingualization.html
>
> Please ensure you are working with the latest files from trunk before
> getting started.  Here are steps to set up a test system with the latest
> (web and db) code from trunk:
>
> 1) use the 2.4.2 vcl-install.sh script to install to a test system
> 2) cd /var/www/html
> 3) svn co https://svn.apache.org/repos/asf/vcl/trunk/web vcl-trunk
> 4) cd /var/www/html/vcl/.ht-inc
> 5) cp -r conf.php keys.pem pubkey.pem secrets.php spyc-0.5.1
> /var/www/html/vcl-trunk/.ht-inc
> 6) cd /var/www/html/vcl-trunk
> 7) wget
http://people.apache.org/~jfthomps/testing/dojo-vcl-2.5-test-20160825.tar.gz
#md5sum: 90b82954c93090be738acaafa01c472c
> 8) tar xf dojo-vcl-2.5-test-20160825.tar.gz
> 9) cd themes
> 10) ./copydojocss.sh default
> 11) cd /var/www/html
> 12) rm vcl
> 13) ln -s vcl-trunk vcl
> 14) cd /root
> 15) svn co https://svn.apache.org/repos/asf/vcl/trunk/mysql vcl-mysql
> 16) mysqldump vcl > vcl-db-backup.sql
> 17) mysql vcl < vcl-mysql/update-vcl.sql
>
> Thanks in advance for your help!
> Josh
> - --
> - ---
> Josh Thompson
> VCL Developer
> North Carolina State University
>
> my GPG/PGP key can be found at pgp.mit.edu
>
> All electronic mail messages in connection with State business which
> are sent to or received by this account are subject to the NC Public
> Records Law and may be disclosed to third parties.
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2
>
> iEYEARECAAYFAlfAqAIACgkQV/LQcNdtPQO+YwCfX3fa9KXN2mglYB8oR8s/+bkX
> HMoAn0agLvr+UfjI1akKXsleBWx/AXE0
> =jwfh
> -END PGP SIGNATURE-
>
>

-- 
"La utopía sirve para caminar" Fernando Birri