Example #1
0
 def __init__(
     self,
     domain,
     proto_id,
     local_node,
     remote_node,
     neigh_addrs=None,
     iface_addrs=None,
     topology_ids=None,
     link_ids=None,
     nexthop=None,
     action=None,
     route_d=None,
     addpath=None,
     packed=None,
 ):
     BGPLS.__init__(self, action, addpath)
     self.domain = domain
     self.proto_id = proto_id
     self.local_node = local_node if local_node else []
     self.remote_node = remote_node if remote_node else []
     self.neigh_addrs = neigh_addrs if neigh_addrs else []
     self.iface_addrs = iface_addrs if iface_addrs else []
     self.link_ids = link_ids if link_ids else []
     self.topology_ids = topology_ids if topology_ids else [] 
     self.nexthop = nexthop
     self.route_d = route_d
     self._packed = packed
Example #2
0
	def __init__ (self, domain, proto_id, node_ids,
				packed=None,nexthop=None,action=None,
				route_d=None,addpath=None):
		BGPLS.__init__(self,action,addpath)
		self.domain = domain
		self.proto_id = proto_id
		self.node_ids = node_ids
		self.nexthop = nexthop
		self._pack = packed
		self.route_d = route_d
Example #3
0
File: node.py Project: qoke/exabgp
	def __init__ (self, domain, proto_id, node_ids,
				packed=None,nexthop=None,action=None,
				route_d=None,addpath=None):
		BGPLS.__init__(self,action,addpath)
		self.domain = domain
		self.proto_id = proto_id
		self.node_ids = node_ids
		self.nexthop = nexthop
		self._pack = packed
		self.route_d = route_d
Example #4
0
	def __init__ (self,domain,proto_id,local_node,
				packed=None,ospf_type=None,prefix=None,
				nexthop=None,route_d=None,action=None, addpath=None):
		BGPLS.__init__(self,action,addpath)
		self.domain = domain
		self.ospf_type = ospf_type
		self.proto_id = proto_id
		self.local_node = local_node
		self.prefix = prefix
		self.nexthop = nexthop
		self._pack = packed
		self.route_d = route_d
Example #5
0
	def __init__ (self,domain,proto_id,local_node,
				packed=None,ospf_type=None,prefix=None,
				nexthop=None,route_d=None,action=None, addpath=None):
		BGPLS.__init__(self,action,addpath)
		self.domain = domain
		self.ospf_type = ospf_type
		self.proto_id = proto_id
		self.local_node = local_node
		self.prefix = prefix
		self.nexthop = nexthop
		self._pack = packed
		self.route_d = route_d
Example #6
0
	def __init__ (self,domain,proto_id,local_node,
				remote_node,neigh_addrs=None,iface_addrs=None,
				packed=None,link_ids=None,nexthop=None,
				action=None, route_d=None, addpath=None):
		BGPLS.__init__(self,action,addpath)
		self.domain = domain
		self.proto_id = proto_id
		self.local_node = local_node
		self.remote_node = remote_node
		self.neigh_addrs = neigh_addrs
		self.iface_addrs = iface_addrs
		self.link_ids = link_ids
		self.nexthop = nexthop
		self.route_d = route_d
		self._pack = packed