greif@sleipnir ~/svn/bgp_cli/trunk/src $ PYTHONPATH=tcpmd5/ python bgp_cli.py 
BGP_CLI v0.1.6 by Daniel Mende - dmende@ernw.de
BGP_CLI> self.parameters = [bgp_capability_mp(1, 128), bgp_capability_mp(1, 1), bgp_capability(bgp_capability.CAPABILITS_ROUTE_REFRESH_1), bgp_capability(bgp_capability.CAPABILITS_ROUTE_REFRESH_2)]
BGP_CLI> session 2 8 True
Session created
BGP_CLI> connect 192.168.1.3
Connected
Keepalive thread started
BGP_CLI> self.msg = bgp_update([], [bgp_path_attr_origin(2), bgp_path_attr_as_path([]), bgp_path_attr_multi_exit_disc(0), bgp_path_attr_local_pref(100), bgp_path_attr_extended_communities([bgp_extended_community("two-octed", 0x00, 0x02, 65534, 1), bgp_extended_community("ospf-domain", 0x00, 0x05, "0.0.0.100", 2, 0), bgp_extended_community("ospf-domain", 0x80, 0x00, "0.0.0.0", 2, 0), bgp_extended_community("ipv4", 0x80, 0x01, "192.168.254.2", 0)]), bgp_path_attr_mp_reach_nlri("ipv4-mpls", "0:0:192.168.1.77", [], [bgp_mp_rfc3107_nlri(120, "34", "2:1:10.0.0.1")])], [])
BGP_CLI> update
Update sended
BGP_CLI> Connection interupted
Keepalive thread terminated

BGP_CLI> 
BGP_CLI> 
BGP_CLI> 
Bye...
greif@sleipnir ~/svn/bgp_cli/trunk/src $ 
