def peer_asn(self, tokeniser): try: self.content['asn-peer'] = asn(tokeniser) except ValueError, e: raise RaisedSession(tokeniser, 'could not parse peer asn, %s' % str(e))
def local_asn(self, tokeniser): try: self.content['asn-local'] = asn(tokeniser) except ValueError, e: raise RaisedSession(tokeniser, 'could not parse local asn, %s' % str(e))
def peer_asn(self, tokeniser): try: self.content['peer'] = asn(tokeniser) except ValueError, exc: raise RaisedASN(tokeniser, 'could not parse peer asn, %s' % str(exc))
def local_asn(self, tokeniser): try: self.content['local'] = asn(tokeniser) except ValueError, exc: raise RaisedASN(tokeniser, 'could not parse local asn, %s' % str(exc))
def peer_asn (self,tokeniser): try: self.content['asn-peer'] = asn(tokeniser) except ValueError,e: raise RaisedSession(tokeniser,'could not parse peer asn, %s' % str(e))
def local_asn (self,tokeniser): try: self.content['asn-local'] = asn(tokeniser) except ValueError,e: raise RaisedSession(tokeniser,'could not parse local asn, %s' % str(e))