Hi,

On 2016年05月16日 16:41, wesam kh wrote:
> IWASE  ,Thank  you for reply
> I using ovs version 1.4.6
> wisam@ubuntu:~$ ovs-vsctl --version
> ovs-vsctl (Open vSwitch) 1.4.6
> Compiled Jun 24 2015 15:14:40
> and I need to know how can install ovs 2.6.0  ?

The following is the official OVS installation page on GitHub.
   https://github.com/iwaseyusuke/ovs/blob/master/INSTALL.md

>
> and I trying to reinstall ryu by two codes but I have another error as below :
>
> wisam@ubuntu:~$ pip install -r tools/pip-requires
> Could not open requirements file: [Errno 2] No such file or directory: 
> 'tools/pip-requires'
>
> wisam@ubuntu:~$ pip install -r tools/pip-requires
> Could not open requirements file: [Errno 2] No such file or directory: 
> 'tools/pip-requires'
>
> wisam@ubuntu:~$ cd ryu
> wisam@ubuntu:~/ryu$ pip install -r tools/pip-requires
> Requirement already satisfied (use --upgrade to upgrade): eventlet>=0.15 in 
> /usr/local/lib/python2.7/dist-packages (from -r tools/pip-requires (line 1))
> Requirement already satisfied (use --upgrade to upgrade): 
> msgpack-python>=0.3.0 in /usr/local/lib/python2.7/dist-packages (from -r 
> tools/pip-requires (line 2))
> Requirement already satisfied (use --upgrade to upgrade): netaddr in 
> /usr/local/lib/python2.7/dist-packages (from -r tools/pip-requires (line 3))
> Requirement already satisfied (use --upgrade to upgrade): oslo.config>=1.15.0 
> in /usr/local/lib/python2.7/dist-packages (from -r tools/pip-requires (line 
> 4))
> Requirement already satisfied (use --upgrade to upgrade): routes in 
> /usr/lib/python2.7/dist-packages (from -r tools/pip-requires (line 5))
> Requirement already satisfied (use --upgrade to upgrade): six>=1.4.0 in 
> /usr/local/lib/python2.7/dist-packages (from -r tools/pip-requires (line 6))
> Collecting webob>=1.2 (from -r tools/pip-requires (line 7))
> /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318:
>  SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name 
> Indication) extension to TLS is not available on this platform. This may 
> cause the server to present an incorrect TLS certificate, which can cause 
> validation failures. You can upgrade to a newer version of Python to solve 
> this. For more information, see 
> https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
>    SNIMissingWarning
> /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122:
>  InsecurePlatformWarning: A true SSLContext object is not available. This 
> prevents urllib3 from configuring SSL appropriately and may cause certain SSL 
> connections to fail. You can upgrade to a newer version of Python to solve 
> this. For more information, see 
> https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
>    InsecurePlatformWarning
>    Using cached WebOb-1.6.0-py2.py3-none-any.whl
> Collecting ovs>=2.6.0.dev0 (from -r tools/pip-requires (line 8))
>    Using cached ovs-2.6.0.dev1.tar.gz
> Requirement already satisfied (use --upgrade to upgrade): greenlet>=0.3 in 
> /usr/local/lib/python2.7/dist-packages (from eventlet>=0.15->-r 
> tools/pip-requires (line 1))
> Requirement already satisfied (use --upgrade to upgrade): argparse in 
> /usr/lib/python2.7 (from oslo.config>=1.15.0->-r tools/pip-requires (line 4))
> Requirement already satisfied (use --upgrade to upgrade): stevedore>=1.5.0 in 
> /usr/local/lib/python2.7/dist-packages (from oslo.config>=1.15.0->-r 
> tools/pip-requires (line 4))
> Requirement already satisfied (use --upgrade to upgrade): pbr>=1.6 in 
> /usr/local/lib/python2.7/dist-packages (from 
> stevedore>=1.5.0->oslo.config>=1.15.0->-r tools/pip-requires (line 4))
> Installing collected packages: webob, ovs
>    Found existing installation: WebOb 1.1.1
>      Uninstalling WebOb-1.1.1:
> Exception:
> Traceback (most recent call last):
>    File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 
> 215, in main
>      status = self.run(options, args)
>    File "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", 
> line 317, in run
>      prefix=options.prefix_path,
>    File "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 
> 736, in install
>      requirement.uninstall(auto_confirm=True)
>    File "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 
> 742, in uninstall
>      paths_to_remove.remove(auto_confirm)
>    File "/usr/local/lib/python2.7/dist-packages/pip/req/req_uninstall.py", 
> line 115, in remove
>      renames(path, new_path)
>    File "/usr/local/lib/python2.7/dist-packages/pip/utils/__init__.py", line 
> 267, in renames
>      shutil.move(old, new)
>    File "/usr/lib/python2.7/shutil.py", line 297, in move
>      rmtree(src)
>    File "/usr/lib/python2.7/shutil.py", line 250, in rmtree
>      onerror(os.remove, fullname, sys.exc_info())
>    File "/usr/lib/python2.7/shutil.py", line 248, in rmtree
>      os.remove(fullname)
> OSError: [Errno 13] Permission denied: 
> '/usr/lib/python2.7/dist-packages/WebOb-1.1.1.egg-info/top_level.txt'

This error shows you need to execute commands in sudo.
Please add "sudo" to the above command.
   e.g.)
     # !!! At Ryu top directory
     $ sudo pip install -r tools/pip-requires
     $ sudo python setup.py install

>
>
>
> wisam@ubuntu:~/ryu$ python setup.py install
> running install
> [pbr] ChangeLog not written (file already exists and it is not writeable)
> running build
> running build_py
> running egg_info
> writing requirements to ryu.egg-info/requires.txt
> error: ryu.egg-info/requires.txt: Permission denied
> wisam@ubuntu:~/ryu$ cd ..
> wisam@ubuntu:~$ python setup.py install
> python: can't open file 'setup.py': [Errno 2] No such file or directory
>
>
>
>
>
> On Monday, May 16, 2016 12:49 PM, Iwase Yusuke <[email protected]> 
> wrote:
>
>
> Hi,
>
> On 2016年05月16日 00:11, wesam kh wrote:
>  > Hi every one
>  > I have problem when I need to execute the switching hub like :
>  > c0#ryu-manager --verbose ryu.app.simple_switch_13
>  > problem:pkg_resources.DistributionNotFound: The 'ovs>=2.6.0.dev0' 
> distribution was not found and is required by ryu
>
> This error shows the 'ovs' python package are not installed.
> Recently, the requirements of Ryu are updated.
> Please resolve Ryu package requirements and re-install Ryu as follows.
>    e.g.)
>    $ pip install -r tools/pip-requires
>    $ python setup.py install
>
>  > and I have another problem in S1 :
>  > S1#ovs-vsctl set Bridge s1 protocols=OpenFlow13
>  > problem: Bridge does not contain a column whose name matches "protocols"
>  > note : I take this codes from the book ( RYU SDN Framework)
>
> Which version of OVS are you using?
> On my environment, the above command works well.
>
> $ ovs-vsctl set Bridge s1 protocols=OpenFlow13
> $ ovs-vsctl list Bridge s1
> ...
> name                : "s1"
> ...
> protocols          : ["OpenFlow13"]
> ...
> $ ovs-vsctl --version
> ovs-vsctl (Open vSwitch) 2.5.0
> Compiled May 13 2016 11:30:27
> DB Schema 7.12.1
>
> Thanks,
> Iwase
>
>
>  > if any one have any solve for this problem please tell me .
>  > thank you in advance .
>  >
>  >
>  >
>  >
>  > *Wisam *
>  > *Email: [email protected] <mailto:[email protected]>
> *
>  >
>  >
>  >
>  > 
> ------------------------------------------------------------------------------
>  > Mobile security can be enabling, not merely restricting. Employees who
>  > bring their own devices (BYOD) to work are irked by the imposition of MDM
>  > restrictions. Mobile Device Manager Plus allows you to control only the
>  > apps on BYO-devices by containerizing them, leaving personal data 
> untouched!
>  > https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
>  >
>  >
>  >
>  > _______________________________________________
>  > Ryu-devel mailing list
>  > [email protected] <mailto:[email protected]>
>  > https://lists.sourceforge.net/lists/listinfo/ryu-devel
>  >
>
> ------------------------------------------------------------------------------
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> _______________________________________________
> Ryu-devel mailing list
> [email protected] <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
>
>

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to