예제 #1
0
파일: capability.py 프로젝트: Shmuma/exabgp
    def enter(self, tokeniser):
        Section.enter(self, tokeniser)

        self.content[Capability.CODE(Capability.CODE.FOUR_BYTES_ASN)] = True
        self.content[Capability.CODE(Capability.CODE.AIGP)] = False
        self.content[Capability.CODE(Capability.CODE.ADD_PATH)] = 0
        self.content[Capability.CODE(Capability.CODE.OPERATIONAL)] = False
        self.content[Capability.CODE(Capability.CODE.ROUTE_REFRESH)] = False
        self.content[Capability.CODE(Capability.CODE.MULTISESSION)] = False
        self.content[Capability.CODE(Capability.CODE.GRACEFUL_RESTART)] = 0
예제 #2
0
    def enter(self, tokeniser):
        Section.enter(self, tokeniser)

        self.content[Capability.CODE(Capability.CODE.FOUR_BYTES_ASN)] = True
        self.content[Capability.CODE(Capability.CODE.AIGP)] = False
        self.content[Capability.CODE(Capability.CODE.ADD_PATH)] = 0
        self.content[Capability.CODE(Capability.CODE.OPERATIONAL)] = False
        self.content[Capability.CODE(Capability.CODE.ROUTE_REFRESH)] = False
        self.content[Capability.CODE(Capability.CODE.MULTISESSION)] = False
        self.content[Capability.CODE(Capability.CODE.GRACEFUL_RESTART)] = 0
예제 #3
0
 def enter(self, tokeniser):
     Section.enter(self, tokeniser)
예제 #4
0
파일: neighbor.py 프로젝트: Shmuma/exabgp
	def enter (self, tokeniser):
		Section.enter(self,tokeniser)
예제 #5
0
 def enter_show(self, tokeniser):
     Section.enter_anonymous(self, tokeniser)
예제 #6
0
파일: __init__.py 프로젝트: Shmuma/exabgp
	def enter_show (self, tokeniser):
		Section.enter_anonymous(self,tokeniser)
예제 #7
0
	def enter (self, tokeniser):
		Section.enter(self,tokeniser)
		self.content['encoder'] = 'text'