def bgp_send_open(self): open=Open(version=4, asn=1,bgp_id=None) open.construct()
def bgp_send_open(self): open = Open(version=4, asn=1, bgp_id=None) open.construct()
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
def open_parse(self,message): open = Open(version=4, asn=1,bgp_id=None) parsed_open_message = open.parse(message) return (parsed_open_message)
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
def open_parse(self, message): open = Open(version=4, asn=1, bgp_id=None) parsed_open_message = open.parse(message) return (parsed_open_message)