Esempio n. 1
0
	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))
Esempio n. 2
0
	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))