예제 #1
0
 def bgp_send_open(self):
     open=Open(version=4, asn=1,bgp_id=None)
     open.construct()
예제 #2
0
 def bgp_send_open(self):
     open = Open(version=4, asn=1, bgp_id=None)
     open.construct()
예제 #3
0
 def send_open(self,my_capability):
     open=Open(version=4, asn=1,hold_time=180,bgp_id='172.16.2.1')
     open_msg= open.construct(my_capability)
     return open_msg
예제 #4
0
 def open_parse(self,message):
     open = Open(version=4, asn=1,bgp_id=None)
     parsed_open_message = open.parse(message)
     return (parsed_open_message)
예제 #5
0
 def send_open(self, my_capability):
     open = Open(version=4, asn=1, hold_time=180, bgp_id='172.16.2.1')
     open_msg = open.construct(my_capability)
     return open_msg
예제 #6
0
 def open_parse(self, message):
     open = Open(version=4, asn=1, bgp_id=None)
     parsed_open_message = open.parse(message)
     return (parsed_open_message)