Hi again Hadem,

Please confirm IP addresses on your Mininet hosts.
I guess h1 should have "10.0.0.1/8" and h2 should have "10.0.0.2/8" (defaults 
of Mininet).

And please specify the IP address of each host for neighbor's address.
e.g.) bgpconfig1.py on h1:
...(snip)...
    # List of BGP neighbors.
    # The parameters for each neighbor are the same as the arguments of
    # BGPSpeaker.neighbor_add() method.
    'neighbors': [
        {
            'address': '10.0.0.2',
            'remote_as': 65002,
            'enable_ipv4': True,
            'enable_ipv6': True,
            'enable_vpnv4': True,
            'enable_vpnv6': True,
        },
...(snip)...

Thanks,
Iwase


On 2017年08月07日 03:56, Pynbiang Hadem wrote:
Hi Iwase,

*After making the necessary corrections as pointed out by you in the previous mails, I have now executed my Ryu BGP Test applications in the following steps:*
*1) sudo mn --switch ovsbr --topo single,2 --mac -x*
*2) At host h1:*
     a) cd ryu/ryu/services/protocols/bgp
     b) sudo ryu-manager application1.py --bgp-app-config-file bgpconfig1.py
         (application1.py and bgpconfig1.py are located at 
ryu/ryu/services/protocols/bgp path)
*3) At host h2:*
     a) cd ryu/ryu/services/protocols/bgp
     b) sudo ryu-manager application2.py --bgp-app-config-file bgpconfig2.py
         (application2.py and bgpconfig2.py are located at 
ryu/ryu/services/protocols/bgp path)
*4) Sample Output at h1 (Enclosed: output_h1.txt):*
           starting ssh server at localhost:4990
           Will try to reconnect to 172.17.0.2 after 30 secs: True
           Will try to reconnect to 172.17.0.3 after 30 secs: True
           Will try to reconnect to 172.17.0.4 after 30 secs: True
*Sample* *Output at h2 (Enclosed: output_h2.txt):*
           starting ssh server at localhost:4990
           Will try to reconnect to 172.17.0.1 after 30 secs: True
           Will try to reconnect to 172.17.0.3 after 30 secs: True
           Will try to reconnect to 172.17.0.4 after 30 secs: True

*The Issue: The Issue is that the two BGP applications are not able to communicate. What could be the problem?.*
*                  Pls Help, i really need this to work.*

I enclosing the necessary files for your reference (*application1.py, application2.py, bgpconfig1.py, bgpconfig2.py, output_h1.txt, output_h2.txt*)

Thanks
Hadem

On Mon, Jul 10, 2017 at 10:14 AM, Pynbiang Hadem <pynbiang.ha...@gmail.com <mailto:pynbiang.ha...@gmail.com>> wrote:

    Thanks Iwase

    Regards
    Hadem

    On Mon, Jul 10, 2017 at 6:25 AM, Iwase Yusuke <iwase.yusu...@gmail.com
    <mailto:iwase.yusu...@gmail.com>> wrote:

        Hi,

        Sorry for the delay.

        I guess these message are just warning on Python 2.

        On Python 2, the "implicit relative import" is allowed, so interpreter 
try to find
        modules from current path and will fail to find "os" module from 
"ryu.services
        .protocols.bgp.bgpspeaker.application".
        OTOH, on Python 3, the implicit relative import is NOT allowed, then no 
warnings
        should be shown.

        You can ignore these messages, but I will send a patch to suppress them.

        Thanks,
        Iwase


        On 2017年07月06日 02:02, Pynbiang Hadem wrote:

            Hi,

            Thanks Iwase. Its working now.
            *But why am i getting this message as below?. What does it mean?.*
            "/ryu/services/protocols/bgp/bgp_sample_conf.py:1: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  import os/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:3: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import RF_VPN_V4/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:4: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import RF_VPN_V6/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:5: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import RF_L2_EVPN/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:6: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
RF_VPNV4_FLOWSPEC/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:7: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
RF_VPNV6_FLOWSPEC/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:8: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
RF_L2VPN_FLOWSPEC/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:9: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import EVPN_MAX_ET/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:10: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import ESI_TYPE_LACP/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:11: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
ESI_TYPE_MAC_BASED/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:12: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
EVPN_ETH_AUTO_DISCOVERY/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:13: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
EVPN_MAC_IP_ADV_ROUTE/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:14: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
TUNNEL_TYPE_VXLAN/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:15: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
EVPN_MULTICAST_ETAG_ROUTE/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:16: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
EVPN_ETH_SEGMENT/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:17: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
EVPN_IP_PREFIX_ROUTE/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:18: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_FAMILY_IPV4/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:19: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_FAMILY_IPV6/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:20: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_FAMILY_VPNV4/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:21: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_FAMILY_VPNV6/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:22: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_FAMILY_L2VPN/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:23: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_TA_SAMPLE/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:24: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_TA_TERMINAL/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:25: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_VLAN_POP/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:26: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_VLAN_PUSH/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:27: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_VLAN_SWAP/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:28: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_VLAN_RW_INNER/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:29: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_VLAN_RW_OUTER/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:30: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_TPID_TI/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:31: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_TPID_TO/
            /ryu/services/protocols/bgp/bgp_sample_conf.py:32: RuntimeWarning: 
Parent module
            'bgpspeaker.application' not found while handling absolute import/
            /  from ryu.services.protocols.bgp.bgpspeaker import 
REDUNDANCY_MODE_SINGLE_ACTIVE/"

            Thanks
            Hadem

            On Mon, Jul 3, 2017 at 7:25 AM, Iwase Yusuke 
<iwase.yusu...@gmail.com
            <mailto:iwase.yusu...@gmail.com> <mailto:iwase.yusu...@gmail.com
            <mailto:iwase.yusu...@gmail.com>>> wrote:

                 Hi Pynbiang,

                 Did you execute "sudo update-grub" command and then reboot?
                 The outputs of "ip a" command shows IPv6 is NOT enabled...

                 Thanks,
                 Iwase


                 On 2017年07月01日 17:27, Pynbiang Hadem wrote:

                     Hi Fujimoto,

                     I have made the changes pointed out by you as below:
                     1)-----------/etc/sysctl.conf -----------------------
                     # Mininet: disable IPv6
                     #net.ipv6.conf.all.disable_ipv6 = 1
                     #net.ipv6.conf.default.disable_ipv6 = 1
                     #net.ipv6.conf.lo.disable_ipv6 = 1

                     2)----------- /etc/default/grub ---------------------
                     GRUB_CMDLINE_LINUX_DEFAULT="text"


                     OUTPUT:
                     1)---------- mininet@mininet-vm:~$ ip
                     
a--------------------------------------------------------------------------------

                     1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue 
state UNKNOWN group default
                           link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
                           inet 127.0.0.1/8 <http://127.0.0.1/8> 
<http://127.0.0.1/8>
            <http://127.0.0.1/8> scope host lo
                              valid_lft forever preferred_lft forever
                     2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc 
pfifo_fast state UP
            group default
                     qlen 1000
                           link/ether 08:00:27:1d:fb:d0 brd ff:ff:ff:ff:ff:ff
                           inet 10.0.2.15/24 <http://10.0.2.15/24> 
<http://10.0.2.15/24>
            <http://10.0.2.15/24> brd 10.0.2.255 scope
                     global eth0
                              valid_lft forever preferred_lft forever
                     3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc 
pfifo_fast state UP
            group default
                     qlen 1000
                           link/ether 08:00:27:72:29:6a brd ff:ff:ff:ff:ff:ff
                           inet 192.168.56.101/24 <http://192.168.56.101/24>
            <http://192.168.56.101/24> <http://192.168.56.101/24> brd
                     192.168.56.255 scope global eth1

                              valid_lft forever preferred_lft forever
                     4: s1-eth1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 
1500 qdisc pfifo_fast master
                     ovs-system state UP group default qlen 1000
                           link/ether 5a:26:c9:f8:d1:70 brd ff:ff:ff:ff:ff:ff
                     5: s1-eth2@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 
1500 qdisc pfifo_fast master
                     ovs-system state UP group default qlen 1000
                           link/ether 06:08:e6:9e:72:68 brd ff:ff:ff:ff:ff:ff
                     6: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop 
state DOWN group
            default qlen 1000
                           link/ether 96:bd:ba:cf:f1:5e brd ff:ff:ff:ff:ff:ff
                     7: s1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state 
DOWN group default qlen 1000
                           link/ether 1e:f0:00:5b:a3:40 brd ff:ff:ff:ff:ff:ff
--------------------------------------------------------------------------------------------------------------------------------------------

                     2)----------------- sudo ryu-manager 
ryu/services/protocols/bgp/application.py
                     --bgp-app-config-file 
ryu/services/protocols/bgp/bgp_sample_conf.py
            --------------------------
                     mininet@mininet-vm:~/ryu$ sudo ryu-manager
            ryu/services/protocols/bgp/application.py
                     --bgp-app-config-file 
ryu/services/protocols/bgp/bgp_sample_conf.py
                     loading app ryu/services/protocols/bgp/application.py
                     instantiating app 
ryu/services/protocols/bgp/application.py of RyuBGPSpeaker
                     ryu/services/protocols/bgp/bgp_sample_conf.py:1: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         import os
                     ryu/services/protocols/bgp/bgp_sample_conf.py:3: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
RF_VPN_V4
                     ryu/services/protocols/bgp/bgp_sample_conf.py:4: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
RF_VPN_V6
                     ryu/services/protocols/bgp/bgp_sample_conf.py:5: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
RF_L2_EVPN
                     ryu/services/protocols/bgp/bgp_sample_conf.py:6: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
RF_VPNV4_FLOWSPEC
                     ryu/services/protocols/bgp/bgp_sample_conf.py:7: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
RF_VPNV6_FLOWSPEC
                     ryu/services/protocols/bgp/bgp_sample_conf.py:8: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
RF_L2VPN_FLOWSPEC
                     ryu/services/protocols/bgp/bgp_sample_conf.py:9: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
EVPN_MAX_ET
                     ryu/services/protocols/bgp/bgp_sample_conf.py:10: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
ESI_TYPE_LACP
                     ryu/services/protocols/bgp/bgp_sample_conf.py:11: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
ESI_TYPE_MAC_BASED
                     ryu/services/protocols/bgp/bgp_sample_conf.py:12: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
EVPN_ETH_AUTO_DISCOVERY
                     ryu/services/protocols/bgp/bgp_sample_conf.py:13: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
EVPN_MAC_IP_ADV_ROUTE
                     ryu/services/protocols/bgp/bgp_sample_conf.py:14: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
TUNNEL_TYPE_VXLAN
                     ryu/services/protocols/bgp/bgp_sample_conf.py:15: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
EVPN_MULTICAST_ETAG_ROUTE
                     ryu/services/protocols/bgp/bgp_sample_conf.py:16: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
EVPN_ETH_SEGMENT
                     ryu/services/protocols/bgp/bgp_sample_conf.py:17: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
EVPN_IP_PREFIX_ROUTE
                     ryu/services/protocols/bgp/bgp_sample_conf.py:18: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_FAMILY_IPV4
                     ryu/services/protocols/bgp/bgp_sample_conf.py:19: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_FAMILY_IPV6
                     ryu/services/protocols/bgp/bgp_sample_conf.py:20: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_FAMILY_VPNV4
                     ryu/services/protocols/bgp/bgp_sample_conf.py:21: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_FAMILY_VPNV6
                     ryu/services/protocols/bgp/bgp_sample_conf.py:22: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_FAMILY_L2VPN
                     ryu/services/protocols/bgp/bgp_sample_conf.py:23: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_TA_SAMPLE
                     ryu/services/protocols/bgp/bgp_sample_conf.py:24: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_TA_TERMINAL
                     ryu/services/protocols/bgp/bgp_sample_conf.py:25: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_VLAN_POP
                     ryu/services/protocols/bgp/bgp_sample_conf.py:26: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_VLAN_PUSH
                     ryu/services/protocols/bgp/bgp_sample_conf.py:27: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_VLAN_SWAP
                     ryu/services/protocols/bgp/bgp_sample_conf.py:28: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_VLAN_RW_INNER
                     ryu/services/protocols/bgp/bgp_sample_conf.py:29: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_VLAN_RW_OUTER
                     ryu/services/protocols/bgp/bgp_sample_conf.py:30: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_TPID_TI
                     ryu/services/protocols/bgp/bgp_sample_conf.py:31: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
FLOWSPEC_TPID_TO
                     ryu/services/protocols/bgp/bgp_sample_conf.py:32: 
RuntimeWarning: Parent module
                     'bgpspeaker.application' not found while handling absolute 
import
                         from ryu.services.protocols.bgp.bgpspeaker import 
REDUNDANCY_MODE_SINGLE_ACTIVE
                     API method core.start called with args: {'router_id': 
'172.17.0.1',
            'label_range': (100,
                     100000), 'waiter': <ryu.lib.hub.Event object at 
0x7fdc964c4590>,
            'bgp_server_port': 179,
                     'local_as': 65001, 'allow_local_as_in_count': 0, 
'refresh_stalepath_time': 0,
            'cluster_id':
                     None, 'local_pref': 100, 'refresh_max_eor_time': 0}
                     Error creating socket: [Errno 97] Address family not 
supported by protocol
                     API method neighbor.create called with args: 
{'connect_mode': 'both',
            'cap_mbgp_evpn':
                     False, 'remote_as': 65002, 'cap_mbgp_vpnv6': True, 
'cap_mbgp_l2vpnfs': False,
                     'cap_four_octet_as_number': True, 'cap_mbgp_ipv6': True, 
'is_next_hop_self': False,
                     'cap_mbgp_ipv4': True, 'cap_mbgp_ipv4fs': False, 
'is_route_reflector_client':
            False,
                     'cap_mbgp_ipv6fs': False, 'is_route_server_client': False,
            'cap_enhanced_refresh': False,
                     'peer_next_hop': None, 'password': None, 'ip_address': 
'172.17.0.2',
            'cap_mbgp_vpnv4fs':
                     False, 'cap_mbgp_vpnv4': True, 'cap_mbgp_vpnv6fs': False}
                     API method neighbor.create called with args: 
{'connect_mode': 'both',
            'cap_mbgp_evpn': True,
                     'remote_as': 65001, 'cap_mbgp_vpnv6': False, 
'cap_mbgp_l2vpnfs': False,
                     'cap_four_octet_as_number': True, 'cap_mbgp_ipv6': False, 
'is_next_hop_self':
            False,
                     'cap_mbgp_ipv4': True, 'cap_mbgp_ipv4fs': False, 
'is_route_reflector_client':
            False,
                     'cap_mbgp_ipv6fs': False, 'is_route_server_client': False,
            'cap_enhanced_refresh': False,
                     'peer_next_hop': None, 'password': None, 'ip_address': 
'172.17.0.3',
            'cap_mbgp_vpnv4fs':
                     False, 'cap_mbgp_vpnv4': False, 'cap_mbgp_vpnv6fs': False}
                     API method neighbor.create called with args: 
{'connect_mode': 'both',
            'cap_mbgp_evpn':
                     False, 'remote_as': 65001, 'cap_mbgp_vpnv6': False, 
'cap_mbgp_l2vpnfs': True,
                     'cap_four_octet_as_number': True, 'cap_mbgp_ipv6': False, 
'is_next_hop_self':
            False,
                     'cap_mbgp_ipv4': True, 'cap_mbgp_ipv4fs': True, 
'is_route_reflector_client': False,
                     'cap_mbgp_ipv6fs': True, 'is_route_server_client': False,
            'cap_enhanced_refresh': False,
                     'peer_next_hop': None, 'password': None, 'ip_address': 
'172.17.0.4',
            'cap_mbgp_vpnv4fs':
                     True, 'cap_mbgp_vpnv4': False, 'cap_mbgp_vpnv6fs': True}
                     API method vrf.create called with args: {'import_rts': 
['65001:100'],
            'route_family':
                     'ipv4', 'site_of_origins': None, 'multi_exit_disc': None, 
'export_rts':
            ['65001:100'],
                     'route_dist': '65001:100'}
                     API method vrf.create called with args: {'import_rts': 
['65001:150'],
            'route_family':
                     'ipv6', 'site_of_origins': None, 'multi_exit_disc': None, 
'export_rts':
            ['65001:150'],
                     'route_dist': '65001:150'}
                     API method vrf.create called with args: {'import_rts': 
['65001:200'],
            'route_family':
                     'evpn', 'site_of_origins': None, 'multi_exit_disc': None, 
'export_rts':
            ['65001:200'],
                     'route_dist': '65001:200'}
                     API method vrf.create called with args: {'import_rts': 
['65001:250'],
            'route_family':
                     'ipv4fs', 'site_of_origins': None, 'multi_exit_disc': 
None, 'export_rts':
            ['65001:250'],
                     'route_dist': '65001:250'}
                     API method vrf.create called with args: {'import_rts': 
['65001:300'],
            'route_family':
                     'ipv6fs', 'site_of_origins': None, 'multi_exit_disc': 
None, 'export_rts':
            ['65001:300'],
                     'route_dist': '65001:300'}
                     API method vrf.create called with args: {'import_rts': 
['65001:350'],
            'route_family':
                     'l2vpnfs', 'site_of_origins': None, 'multi_exit_disc': 
None, 'export_rts':
            ['65001:350'],
                     'route_dist': '65001:350'}
                     API method network.add called with args: {'prefix': 
'10.10.1.0/24
            <http://10.10.1.0/24> <http://10.10.1.0/24>
                     <http://10.10.1.0/24>'}
                     API method prefix.add_local called with args: {'prefix': 
'10.20.1.0/24
            <http://10.20.1.0/24> <http://10.20.1.0/24>
                     <http://10.20.1.0/24>', 'next_hop': '172.17.0.1', 
'route_dist': '65001:100',
            'route_family':
                     'ipv4'}
                     API method network.add called with args: {'prefix': 
'2001:db8:1::/64'}
                     API method prefix.add_local called with args: {'prefix': 
'2001:db8:2::/64',
            'next_hop':
                     '::ffff:172.17.0.1', 'route_dist': '65001:150', 
'route_family': 'ipv6'}
                     API method evpn_prefix.add_local called with args: 
{'route_type': 'eth_ad',
                     'redundancy_mode': 'single_active', 'ethernet_tag_id': 
4294967295, 'next_hop':
            '0.0.0.0',
                     'route_dist': '65001:200', 'esi': {'port_key': 100, 
'type': 1, 'mac_addr':
            'aa:bb:cc:dd:ee:ff'}}
                     API method evpn_prefix.add_local called with args: 
{'ip_addr': '10.30.1.1',
            'tunnel_type':
                     'vxlan', 'route_type': 'mac_ip_adv', 'ethernet_tag_id': 0, 
'vni': 200, 'next_hop':
                     '172.17.0.1', 'route_dist': '65001:200', 'mac_addr': 
'aa:bb:cc:dd:ee:ff', 'esi': 0}
                     API method evpn_prefix.add_local called with args: 
{'route_type': 'multicast_etag',
                     'route_dist': '65001:200', 'next_hop': '0.0.0.0', 
'ip_addr': '10.40.1.1',
            'ethernet_tag_id': 0}
                     API method evpn_prefix.add_local called with args: 
{'route_type': 'eth_seg',
            'route_dist':
                     '65001:200', 'next_hop': '0.0.0.0', 'ip_addr': 
'172.17.0.1', 'esi':
            {'local_disc': 100,
                     'type': 3, 'mac_addr': 'aa:bb:cc:dd:ee:ff'}}
                     API method evpn_prefix.add_local called with args: 
{'ip_prefix': '10.50.1.0/24
            <http://10.50.1.0/24>
                     <http://10.50.1.0/24> <http://10.50.1.0/24>', 
'route_type': 'ip_prefix',
            'ethernet_tag_id':
                     0, 'next_hop': '0.0.0.0', 'route_dist': '65001:200', 
'gw_ip_addr':
            '172.16.0.1', 'esi': 0}
                     API method flowspec.add called with args: {'rules': 
{'icmp_code': 6,
            'tcp_flags': 'SYN+ACK &
                     !=URGENT', 'fragment': 'LF | ==FF', 'dscp': '22 | 24', 
'packet_len': 1000,
            'icmp_type': 0,
                     'port': '80 | 8000', 'src_port': '>=8500 & <=9000', 
'dst_prefix': '10.60.1.0/24
            <http://10.60.1.0/24>
                     <http://10.60.1.0/24> <http://10.60.1.0/24>', 'dst_port': '>9000 
& <9050',
            'ip_proto': 6,
                     'src_prefix': '172.17.0.0/24 <http://172.17.0.0/24> 
<http://172.17.0.0/24>'
            <http://172.17.0.0/24'>},
                     'flowspec_family': 'ipv4fs', 'actions': {'redirect': 
{'local_administrator': 100,
                     'as_number': 10}, 'traffic_marking': {'dscp': 24}, 
'traffic_rate':
            {'rate_info': 100.0,
                     'as_number': 0}, 'traffic_action': {'action': 3}}}
                     API method flowspec.add_local called with args: {'rules': 
{'icmp_code': 6,
            'tcp_flags':
                     'SYN+ACK & !=URGENT', 'fragment': 'LF | ==FF', 'dscp': '22 
| 24', 'packet_len':
            1000,
                     'icmp_type': 0, 'port': '80 | 8000', 'src_port': '>=8500 & 
<=9000', 'dst_prefix':
                     '10.70.1.0/24 <http://10.70.1.0/24> <http://10.70.1.0/24>
            <http://10.70.1.0/24>', 'dst_port': '>9000 & <9050',
                     'ip_proto': 6, 'src_prefix': '172.18.0.0/24 
<http://172.18.0.0/24>
            <http://172.18.0.0/24>'
                     <http://172.18.0.0/24'>}, 'flowspec_family': 'vpnv4fs', 
'route_dist': '65001:250',
                     'actions': {'redirect': {'local_administrator': 100, 
'as_number': 10},
            'traffic_marking':
                     {'dscp': 24}, 'traffic_rate': {'rate_info': 100.0, 
'as_number': 0},
            'traffic_action':
                     {'action': 3}}}
                     API method flowspec.add called with args: {'rules': 
{'icmp_code': 6,
            'tcp_flags': 'SYN+ACK &
                     !=URGENT', 'fragment': 'LF | ==FF', 'flow_label': 100, 
'dscp': '22 | 24',
            'packet_len':
                     1000, 'icmp_type': 0, 'port': '80 | 8000', 'src_port': '>=8500 
& <=9000',
            'dst_prefix':
                     '2001::1/128/32', 'dst_port': '>9000 & <9050', 
'next_header': 6, 'src_prefix':
                     '3001::2/128'}, 'flowspec_family': 'ipv6fs', 'actions': 
{'redirect':
            {'local_administrator':
                     100, 'as_number': 10}, 'traffic_marking': {'dscp': 24}, 
'traffic_rate':
            {'rate_info': 100.0,
                     'as_number': 0}, 'traffic_action': {'action': 3}}}
                     API method flowspec.add_local called with args: {'rules': 
{'icmp_code': 6,
            'tcp_flags':
                     'SYN+ACK & !=URGENT', 'fragment': 'LF | ==FF', 
'flow_label': 100, 'dscp': '22 |
            24',
                     'packet_len': 1000, 'icmp_type': 0, 'port': '80 | 8000', 
'src_port': '>=8500 &
            <=9000',
                     'dst_prefix': '2001::1/128/32', 'dst_port': '>9000 & 
<9050', 'next_header': 6,
            'src_prefix':
                     '3001::2/128'}, 'flowspec_family': 'vpnv6fs', 
'route_dist': '65001:300', 'actions':
                     {'redirect': {'local_administrator': 100, 'as_number': 
10}, 'traffic_marking':
            {'dscp': 24},
                     'traffic_rate': {'rate_info': 100.0, 'as_number': 0}, 
'traffic_action':
            {'action': 3}}}
                     API method flowspec.add_local called with args: {'rules': 
{'inner_vlan_id':
            '<3000',
                     'dst_mac': 'BE:EF:C0:FF:EE:DD', 'ether_type': 2048, 
'llc_dsap': 66,
            'inner_vlan_cos': '<=5',
                     'vlan_id': '>4000', 'llc_ssap': 66, 'vlan_cos': '>=3', 
'llc_control': 100,
            'snap': 74565,
                     'src_mac': '12:34:56:78:90:AB'}, 'flowspec_family': 
'l2vpnfs', 'route_dist':
            '65001:350',
                     'actions': {'redirect': {'local_administrator': 100, 
'as_number': 10},
            'traffic_rate':
                     {'rate_info': 100.0, 'as_number': 0}, 'traffic_action': 
{'action': 3},
            'traffic_marking':
                     {'dscp': 24}, 'tpid_action': {'tpid_2': 300, 'tpid_1': 
200, 'actions': 49152},
                     'vlan_action': {'cos_1': 3, 'vlan_1': 3000, 'vlan_2': 
4000, 'cos_2': 2,
            'actions_1': 192,
                     'actions_2': 32}}}
                     starting ssh server at localhost:4990
                     Error creating socket: [Errno 97] Address family not 
supported by protocol
                     Will try to reconnect to 172.17.0.2 after 30 secs: True
                     
---------------------------------------------------------------------------

                     Pls guide how to proceed.

                     Thanks
                     Hadem

                     On Wed, Jun 28, 2017 at 10:04 AM, Iwase Yusuke 
<iwase.yusu...@gmail.com
            <mailto:iwase.yusu...@gmail.com>
                     <mailto:iwase.yusu...@gmail.com 
<mailto:iwase.yusu...@gmail.com>>
            <mailto:iwase.yusu...@gmail.com <mailto:iwase.yusu...@gmail.com>
                     <mailto:iwase.yusu...@gmail.com 
<mailto:iwase.yusu...@gmail.com>>>> wrote:

                          Hi Pynbiang,

                          Mininet does "disable IPv6" with some reason, I guess.
                          But on my environment, I can run Mininet with IPv6 
enabled.

                          To revert "disable IPv6" settings;
                          1. Comment inserted line out from "/etc/sysctl.conf" and 
invoke "sysctl
            -p" to take effect.
                             ---
                              # Mininet: disable IPv6
                             -net.ipv6.conf.all.disable_ipv6 = 1
                             -net.ipv6.conf.default.disable_ipv6 = 1
                             -net.ipv6.conf.lo.disable_ipv6 = 1
                             +#net.ipv6.conf.all.disable_ipv6 = 1
                             +#net.ipv6.conf.default.disable_ipv6 = 1
                             +#net.ipv6.conf.lo.disable_ipv6 = 1
                             ---
                          2. Remove "ipv6.disable=1" from 
"GRUB_CMDLINE_LINUX_DEFAULT" in
            "/etc/default/grub"
                              and execute "sudo update-grub" command.
                             ---
                             -GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 text "
                             +GRUB_CMDLINE_LINUX_DEFAULT="text "
                             ---
                          3. Reboot.

                          Then, confirm IPv6 addresses are assigned to 
interfaces on your machine.
                          e.g.)
                          $ ip a
                          1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue 
state UNKNOWN group
            default qlen 1
                               link/loopback 00:00:00:00:00:00 brd 
00:00:00:00:00:00
                               inet 127.0.0.1/8 <http://127.0.0.1/8> 
<http://127.0.0.1/8>
            <http://127.0.0.1/8> scope host lo

                                  valid_lft forever preferred_lft forever
                               inet6 ::1/128 scope host
                                  valid_lft forever preferred_lft forever


                          Thanks,
                          Iwase


                          On 2017年06月28日 02:50, Pynbiang Hadem wrote:

                              HI Fujimoto,

                              Yes, i guess you are right. i have the following 
lines of code in
            */etc/sysctl.conf*
                              /
                              /
                              /# Mininet: disable IPv6/
                              /net.ipv6.conf.all.disable_ipv6 = 1/
                              /net.ipv6.conf.default.disable_ipv6 = 1/
                              /net.ipv6.conf.lo.disable_ipv6 = 1/

                              And the following code in */etc/default/grub*
                              GRUB_DEFAULT=0
                              GRUB_HIDDEN_TIMEOUT=0
                              GRUB_HIDDEN_TIMEOUT_QUIET=true
                              GRUB_TIMEOUT=10
                              GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null 
|| echo Debian`
                              GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 text "
                              GRUB_CMDLINE_LINUX=""

                              GRUB_SERIAL_COMMAND="serial --unit=0 --speed=9600 
--stop=1"

                              Is there anything wrong with my settings?.

                              Thanks
                              Hadem


                              On Mon, Jun 26, 2017 at 6:20 AM, Iwase Yusuke 
<iwase.yusu...@gmail.com
            <mailto:iwase.yusu...@gmail.com>
                     <mailto:iwase.yusu...@gmail.com 
<mailto:iwase.yusu...@gmail.com>>
                              <mailto:iwase.yusu...@gmail.com 
<mailto:iwase.yusu...@gmail.com>
            <mailto:iwase.yusu...@gmail.com <mailto:iwase.yusu...@gmail.com>>>
                     <mailto:iwase.yusu...@gmail.com 
<mailto:iwase.yusu...@gmail.com>
            <mailto:iwase.yusu...@gmail.com <mailto:iwase.yusu...@gmail.com>>

                              <mailto:iwase.yusu...@gmail.com 
<mailto:iwase.yusu...@gmail.com>
            <mailto:iwase.yusu...@gmail.com 
<mailto:iwase.yusu...@gmail.com>>>>> wrote:

                                   Hi Pynbiang,

                                   Excuse me for jumping in.

                                   It's just my guess, is IPv6 disabled on your 
machine?
                                   Mininet does disable IPv6 automatically on 
its installation.

            
https://github.com/mininet/mininet/blob/aa8901268dbb04e11d466732a354b3533e0e138e/util/install.sh#L615-L639
            
<https://github.com/mininet/mininet/blob/aa8901268dbb04e11d466732a354b3533e0e138e/util/install.sh#L615-L639>
<https://github.com/mininet/mininet/blob/aa8901268dbb04e11d466732a354b3533e0e138e/util/install.sh#L615-L639
            
<https://github.com/mininet/mininet/blob/aa8901268dbb04e11d466732a354b3533e0e138e/util/install.sh#L615-L639>>
<https://github.com/mininet/mininet/blob/aa8901268dbb04e11d466732a354b3533e0e138e/util/install.sh#L615-L639
            
<https://github.com/mininet/mininet/blob/aa8901268dbb04e11d466732a354b3533e0e138e/util/install.sh#L615-L639>
<https://github.com/mininet/mininet/blob/aa8901268dbb04e11d466732a354b3533e0e138e/util/install.sh#L615-L639
            
<https://github.com/mininet/mininet/blob/aa8901268dbb04e11d466732a354b3533e0e138e/util/install.sh#L615-L639>>>
<https://github.com/mininet/mininet/blob/aa8901268dbb04e11d466732a354b3533e0e138e/util/install.sh#L615-L639
            
<https://github.com/mininet/mininet/blob/aa8901268dbb04e11d466732a354b3533e0e138e/util/install.sh#L615-L639>
<https://github.com/mininet/mininet/blob/aa8901268dbb04e11d466732a354b3533e0e138e/util/install.sh#L615-L639
            
<https://github.com/mininet/mininet/blob/aa8901268dbb04e11d466732a354b3533e0e138e/util/install.sh#L615-L639>>
<https://github.com/mininet/mininet/blob/aa8901268dbb04e11d466732a354b3533e0e138e/util/install.sh#L615-L639
            
<https://github.com/mininet/mininet/blob/aa8901268dbb04e11d466732a354b3533e0e138e/util/install.sh#L615-L639>
<https://github.com/mininet/mininet/blob/aa8901268dbb04e11d466732a354b3533e0e138e/util/install.sh#L615-L639
            
<https://github.com/mininet/mininet/blob/aa8901268dbb04e11d466732a354b3533e0e138e/util/install.sh#L615-L639>>>>

                                   Could you confirm the IPv6 settings (e.g., 
"/etc/sysctl.conf" and
                     "/etc/default/grub")
                                   on your machine?

                                   Thanks,
                                   Iwase


                                   On 2017年06月24日 17:17, Pynbiang Hadem wrote:

                                       Hi, Fujimoto

                                       Tried with as you suggested.
                                       sudo ryu-manager 
ryu/services/protocols/bgp/application.py
                     --bgp-app-config-file
                                       
ryu/services/protocols/bgp/bgp_sample_conf.py

                                       However, the output is still the same.

                                       what could be the issue?.

                                       Thanks
                                       Hadem

                                       On Fri, Jun 23, 2017 at 5:33 AM, 
Fujimoto Satoshi
                     <satoshi.fujimo...@gmail.com 
<mailto:satoshi.fujimo...@gmail.com>
            <mailto:satoshi.fujimo...@gmail.com 
<mailto:satoshi.fujimo...@gmail.com>>
                              <mailto:satoshi.fujimo...@gmail.com
            <mailto:satoshi.fujimo...@gmail.com> 
<mailto:satoshi.fujimo...@gmail.com
            <mailto:satoshi.fujimo...@gmail.com>>>
                                       <mailto:satoshi.fujimo...@gmail.com
            <mailto:satoshi.fujimo...@gmail.com> 
<mailto:satoshi.fujimo...@gmail.com
            <mailto:satoshi.fujimo...@gmail.com>>
                     <mailto:satoshi.fujimo...@gmail.com 
<mailto:satoshi.fujimo...@gmail.com>
            <mailto:satoshi.fujimo...@gmail.com 
<mailto:satoshi.fujimo...@gmail.com>>>>
                              <mailto:satoshi.fujimo...@gmail.com
            <mailto:satoshi.fujimo...@gmail.com> 
<mailto:satoshi.fujimo...@gmail.com
            <mailto:satoshi.fujimo...@gmail.com>>
                     <mailto:satoshi.fujimo...@gmail.com 
<mailto:satoshi.fujimo...@gmail.com>
            <mailto:satoshi.fujimo...@gmail.com 
<mailto:satoshi.fujimo...@gmail.com>>>

                                       <mailto:satoshi.fujimo...@gmail.com
            <mailto:satoshi.fujimo...@gmail.com> 
<mailto:satoshi.fujimo...@gmail.com
            <mailto:satoshi.fujimo...@gmail.com>>
                     <mailto:satoshi.fujimo...@gmail.com 
<mailto:satoshi.fujimo...@gmail.com>
            <mailto:satoshi.fujimo...@gmail.com 
<mailto:satoshi.fujimo...@gmail.com>>>>>> wrote:

                                            Hi, Pynbiang

                                            Thank you for sending your log 
messages!
                                            In the messages, I've found:

                                                Error creating socket: [Errno 
13] Permission denied

                                            So, "ryu-manager" may not have 
authority to use
            well-known port 179,
                                            which is used for BGP protocol.

                                            Please run your command with 
"sudo", that is:
                                            sudo ryu-manager 
ryu/services/protocols/bgp/application.py
                     --bgp-app-config-file
                                            
ryu/services/protocols/bgp/bgp_sample_conf.py


                                            Thanks,
                                            Fujimoto


                                            On 2017年06月22日 21:50, Pynbiang 
Hadem wrote:

                                                Hi Fujimoto,

                                                *Pls ignore the last mail. I 
have corrected the
            command as below as
                              pointed out by
                                           you in one
                                                of the other Forum blogs:*
                                                ryu-manager 
ryu/services/protocols/bgp/application.py
                     --bgp-app-config-file
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py

                                                *Output:*

                                                lzma module is not available
                                                Registered VCS backend: git
                                                Registered VCS backend: hg
                                                Registered VCS backend: svn
                                                Registered VCS backend: bzr
                                                loading app 
ryu/services/protocols/bgp/application.py
                                                instantiating app
            ryu/services/protocols/bgp/application.py of
                     RyuBGPSpeaker
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:1:
            RuntimeWarning:
                     Parent module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  import os
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:3:
            RuntimeWarning:
                     Parent module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
            RF_VPN_V4
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:4:
            RuntimeWarning:
                     Parent module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
            RF_VPN_V6
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:5:
            RuntimeWarning:
                     Parent module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
            RF_L2_EVPN
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:6:
            RuntimeWarning:
                     Parent module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
            RF_VPNV4_FLOWSPEC
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:7:
            RuntimeWarning:
                     Parent module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
            RF_VPNV6_FLOWSPEC
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:8:
            RuntimeWarning:
                     Parent module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
            RF_L2VPN_FLOWSPEC
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:9:
            RuntimeWarning:
                     Parent module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
            EVPN_MAX_ET
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:10:
            RuntimeWarning:
                     Parent
                              module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
            ESI_TYPE_LACP
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:11:
            RuntimeWarning:
                     Parent
                              module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
                     ESI_TYPE_MAC_BASED
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:12:
            RuntimeWarning:
                     Parent
                              module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
                     EVPN_ETH_AUTO_DISCOVERY
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:13:
            RuntimeWarning:
                     Parent
                              module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
                     EVPN_MAC_IP_ADV_ROUTE
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:14:
            RuntimeWarning:
                     Parent
                              module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
            TUNNEL_TYPE_VXLAN
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:15:
            RuntimeWarning:
                     Parent
                              module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
                     EVPN_MULTICAST_ETAG_ROUTE
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:16:
            RuntimeWarning:
                     Parent
                              module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
            EVPN_ETH_SEGMENT
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:17:
            RuntimeWarning:
                     Parent
                              module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
                     EVPN_IP_PREFIX_ROUTE
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:18:
            RuntimeWarning:
                     Parent
                              module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
                     FLOWSPEC_FAMILY_IPV4
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:19:
            RuntimeWarning:
                     Parent
                              module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
                     FLOWSPEC_FAMILY_IPV6
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:20:
            RuntimeWarning:
                     Parent
                              module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
                     FLOWSPEC_FAMILY_VPNV4
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:21:
            RuntimeWarning:
                     Parent
                              module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
                     FLOWSPEC_FAMILY_VPNV6
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:22:
            RuntimeWarning:
                     Parent
                              module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
                     FLOWSPEC_FAMILY_L2VPN
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:23:
            RuntimeWarning:
                     Parent
                              module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
                     FLOWSPEC_TA_SAMPLE
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:24:
            RuntimeWarning:
                     Parent
                              module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
                     FLOWSPEC_TA_TERMINAL
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:25:
            RuntimeWarning:
                     Parent
                              module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
            FLOWSPEC_VLAN_POP
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:26:
            RuntimeWarning:
                     Parent
                              module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
                     FLOWSPEC_VLAN_PUSH
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:27:
            RuntimeWarning:
                     Parent
                              module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
                     FLOWSPEC_VLAN_SWAP
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:28:
            RuntimeWarning:
                     Parent
                              module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
                     FLOWSPEC_VLAN_RW_INNER
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:29:
            RuntimeWarning:
                     Parent
                              module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
                     FLOWSPEC_VLAN_RW_OUTER
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:30:
            RuntimeWarning:
                     Parent
                              module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
            FLOWSPEC_TPID_TI
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:31:
            RuntimeWarning:
                     Parent
                              module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
            FLOWSPEC_TPID_TO
                                                
ryu/services/protocols/bgp/bgp_sample_conf.py:32:
            RuntimeWarning:
                     Parent
                              module
                                                'bgpspeaker.application' not 
found while handling
            absolute import
                                                  from 
ryu.services.protocols.bgp.bgpspeaker import
                              REDUNDANCY_MODE_SINGLE_ACTIVE
                                                API method core.start called 
with args:
            {'router_id': '172.17.0.1',
                              'label_range':
                                           (100,
                                                100000), 'waiter': 
<ryu.lib.hub.Event object at
            0xb59c38ac>,
                              'bgp_server_port': 179,
                                                'local_as': 65001, 
'allow_local_as_in_count': 0,
                     'refresh_stalepath_time': 0,
                                           'cluster_id':
                                                None, 'local_pref': 100, 
'refresh_max_eor_time': 0}
                                                Error creating socket: [Errno 
13] Permission denied
                                                Error creating socket: [Errno 
97] Address family not
            supported by
                     protocol
                                                hub: uncaught exception: 
Traceback (most recent call
            last):
                                                  File
            "/usr/local/lib/python2.7/dist-packages/ryu/lib/hub.py",
                     line 60,
                              in _launch
                                                    return func(*args, **kwargs)
                                                  File
"/usr/local/lib/python2.7/dist-packages/ryu/services/protocols/bgp/base.py",
                                           line 255,
                                                in start
                                                    self._run(*args, **kwargs)
                                                  File
"/usr/local/lib/python2.7/dist-packages/ryu/services/protocols/bgp/core.py",
                                           line 235,
                                                in _run
                                                    server_thread.wait()
                                                AttributeError: 'NoneType' 
object has no attribute
            'wait'

                                                API method neighbor.create 
called with args:
            {'connect_mode': 'both',
                                           'cap_mbgp_evpn': False,
                                                'remote_as': 65002, 
'cap_mbgp_vpnv6': True,
            'cap_mbgp_l2vpnfs':
                     False,
                                                'cap_four_octet_as_number': 
True, 'cap_mbgp_ipv6': True,
                              'is_next_hop_self': False,
                                                'cap_mbgp_ipv4': True, 
'cap_mbgp_ipv4fs': False,
                              'is_route_reflector_client': False,
                                                'cap_mbgp_ipv6fs': False, 
'is_route_server_client':
            False,
                              'cap_enhanced_refresh':
                                           False,
                                                'peer_next_hop': None, 
'password': None,
            'ip_address': '172.17.0.2',
                                           'cap_mbgp_vpnv4fs':
                                                False, 'cap_mbgp_vpnv4': True, 
'cap_mbgp_vpnv6fs':
            False}
                                                API method neighbor.create 
called with args:
            {'connect_mode': 'both',
                                           'cap_mbgp_evpn': True,
                                                'remote_as': 65001, 
'cap_mbgp_vpnv6': False,
            'cap_mbgp_l2vpnfs':
                     False,
                                                'cap_four_octet_as_number': 
True, 'cap_mbgp_ipv6':
            False,
                              'is_next_hop_self': False,
                                                'cap_mbgp_ipv4': True, 
'cap_mbgp_ipv4fs': False,
                              'is_route_reflector_client': False,
                                                'cap_mbgp_ipv6fs': False, 
'is_route_server_client':
            False,
                              'cap_enhanced_refresh':
                                           False,
                                                'peer_next_hop': None, 
'password': None,
            'ip_address': '172.17.0.3',
                                           'cap_mbgp_vpnv4fs':
                                                False, 'cap_mbgp_vpnv4': False, 
'cap_mbgp_vpnv6fs':
            False}
                                                API method neighbor.create 
called with args:
            {'connect_mode': 'both',
                                           'cap_mbgp_evpn': False,
                                                'remote_as': 65001, 
'cap_mbgp_vpnv6': False,
            'cap_mbgp_l2vpnfs':
                     True,
                                                'cap_four_octet_as_number': 
True, 'cap_mbgp_ipv6':
            False,
                              'is_next_hop_self': False,
                                                'cap_mbgp_ipv4': True, 
'cap_mbgp_ipv4fs': True,
                              'is_route_reflector_client': False,
                                                'cap_mbgp_ipv6fs': True, 
'is_route_server_client':
            False,
                              'cap_enhanced_refresh':
                                           False,
                                                'peer_next_hop': None, 
'password': None,
            'ip_address': '172.17.0.4',
                                           'cap_mbgp_vpnv4fs': True,
                                                'cap_mbgp_vpnv4': False, 
'cap_mbgp_vpnv6fs': True}
                                                API method vrf.create called 
with args:
            {'import_rts': ['65001:100'],
                                           'route_family': 'ipv4',
                                                'site_of_origins': None, 
'multi_exit_disc': None,
            'export_rts':
                     ['65001:100'],
                                           'route_dist':
                                                '65001:100'}
                                                API method vrf.create called 
with args:
            {'import_rts': ['65001:150'],
                                           'route_family': 'ipv6',
                                                'site_of_origins': None, 
'multi_exit_disc': None,
            'export_rts':
                     ['65001:150'],
                                           'route_dist':
                                                '65001:150'}
                                                API method vrf.create called 
with args:
            {'import_rts': ['65001:200'],
                                           'route_family': 'evpn',
                                                'site_of_origins': None, 
'multi_exit_disc': None,
            'export_rts':
                     ['65001:200'],
                                           'route_dist':
                                                '65001:200'}
                                                API method vrf.create called 
with args:
            {'import_rts': ['65001:250'],
                              'route_family':
                                                'ipv4fs', 'site_of_origins': 
None,
            'multi_exit_disc': None,
                     'export_rts':
                                           ['65001:250'],
                                                'route_dist': '65001:250'}
                                                API method vrf.create called 
with args:
            {'import_rts': ['65001:300'],
                              'route_family':
                                                'ipv6fs', 'site_of_origins': 
None,
            'multi_exit_disc': None,
                     'export_rts':
                                           ['65001:300'],
                                                'route_dist': '65001:300'}
                                                API method vrf.create called 
with args:
            {'import_rts': ['65001:350'],
                              'route_family':
                                                'l2vpnfs', 'site_of_origins': 
None,
            'multi_exit_disc': None,
                     'export_rts':
                                           ['65001:350'],
                                                'route_dist': '65001:350'}
                                                API method network.add called 
with args: {'prefix':
            '10.10.1.0/24 <http://10.10.1.0/24>





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to