Exemple #1
0
    def __init__(self, payload):
        BGPPathAttribute.__init__(self, payload)
        self.type = BGPStatics.UPDATE_ATTRIBUTE_ORIGIN

        self.origin_value = None

        self.__parse()
Exemple #2
0
    def __init__(self, payload):
        BGPPathAttribute.__init__(self, payload)
        self.type = BGPStatics.UPDATE_ATTRIBUTE_COMMUNITIES

        # Path attribute specific variable
        self.communities = []

        self.__parse()
Exemple #3
0
    def __init__(self, payload):
        BGPPathAttribute.__init__(self, payload)
        self.type = BGPStatics.UPDATE_ATTRIBUTE_NEXT_HOP

        # Path attribute specific variable
        self.next_hop = None

        self.__parse()
Exemple #4
0
    def __init__(self, payload, attribute_flags):
        BGPPathAttribute.__init__(self, payload)
        self.type = BGPStatics.UPDATE_ATTRIBUTE_EXTENDED_COMMUNITIES

        # We need the attribute flags for that path attribute
        self.attribute_flags = attribute_flags
        self.extended_communities = []

        self.__parse()
Exemple #5
0
    def __init__(self, payload):
        BGPPathAttribute.__init__(self, payload)
        self.type = BGPStatics.UPDATE_ATTRIBUTE_AS_PATH

        # Path attribute specific variables
        self.asn_byte_length = None
        self.path_segments = []

        self.__parse()
Exemple #6
0
    def __init__(self, payload):
        BGPPathAttribute.__init__(self, payload)
        self.type = BGPStatics.UPDATE_ATTRIBUTE_RESERVED

        self.__parse()
    def __init__(self, payload):
        BGPPathAttribute.__init__(self, payload)
        self.type = BGPStatics.UPDATE_ATTRIBUTE_BGP_ENTROPY_LABEL_CAPABILITY

        self.__parse()
    def __init__(self, payload):
        BGPPathAttribute.__init__(self, payload)
        self.type = BGPStatics.UPDATE_ATTRIBUTE_TUNNEL_ENCAPSULATION

        self.__parse()
Exemple #9
0
    def __init__(self, payload):
        BGPPathAttribute.__init__(self, payload)
        self.type = BGPStatics.UPDATE_ATTRIBUTE_MP_REACH_NLRI

        self.__parse()
Exemple #10
0
    def __init__(self, payload):
        BGPPathAttribute.__init__(self, payload)
        self.type = BGPStatics.UPDATE_ATTRIBUTE_AS4_AGGREGATOR

        self.__parse()
Exemple #11
0
    def __init__(self, payload):
        BGPPathAttribute.__init__(self, payload)
        self.type = BGPStatics.UPDATE_ATTRIBUTE_CLUSTER_LIST

        self.__parse()
Exemple #12
0
    def __init__(self, payload):
        BGPPathAttribute.__init__(self, payload)
        self.type = BGPStatics.UPDATE_ATTRIBUTE_PMSI_TUNNEL

        self.__parse()
Exemple #13
0
    def __init__(self, payload):
        BGPPathAttribute.__init__(self, payload)
        self.type = BGPStatics.UPDATE_ATTRIBUTE_TRAFFIC_ENGINEERING

        self.__parse()
    def __init__(self, payload):
        BGPPathAttribute.__init__(self, payload)
        self.type = BGPStatics.UPDATE_ATTRIBUTE_CONNECTOR_ATTRIBUTE

        self.__parse()
Exemple #15
0
    def __init__(self, payload):
        BGPPathAttribute.__init__(self, payload)
        self.type = BGPStatics.UPDATE_ATTRIBUTE_MULTI_EXIT_DISC

        self.__parse()
Exemple #16
0
    def __init__(self, payload):
        BGPPathAttribute.__init__(self, payload)
        self.type = BGPStatics.UPDATE_ATTRIBUTE_ORIGINATOR_ID

        self.__parse()
    def __init__(self, payload):
        BGPPathAttribute.__init__(self, payload)
        self.type = BGPStatics.UPDATE_ATTRIBUTE_IPV6_ADDRESS_SPECIFIC_EXTENDED_COMMUNITY

        self.__parse()
Exemple #18
0
    def __init__(self, payload):
        BGPPathAttribute.__init__(self, payload)
        self.type = None

        self.__parse()
Exemple #19
0
    def __init__(self, payload):
        BGPPathAttribute.__init__(self, payload)
        self.type = BGPStatics.UPDATE_ATTRIBUTE_AS_PATHLIMIT

        self.__parse()
    def __init__(self, payload):
        BGPPathAttribute.__init__(self, payload)
        self.type = BGPStatics.UPDATE_ATTRIBUTE_PE_DISTINGUISHER_LABLES

        self.__parse()