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

        self.origin_value = None

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

        # Path attribute specific variable
        self.communities = []

        self.__parse()
Esempio n. 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()
Esempio n. 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()
Esempio n. 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()
Esempio n. 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()
Esempio n. 8
0
    def __init__(self, payload):
        BGPPathAttribute.__init__(self, payload)
        self.type = BGPStatics.UPDATE_ATTRIBUTE_TUNNEL_ENCAPSULATION

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

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

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

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

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

        self.__parse()
Esempio n. 14
0
    def __init__(self, payload):
        BGPPathAttribute.__init__(self, payload)
        self.type = BGPStatics.UPDATE_ATTRIBUTE_CONNECTOR_ATTRIBUTE

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

        self.__parse()
Esempio n. 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()
Esempio n. 18
0
    def __init__(self, payload):
        BGPPathAttribute.__init__(self, payload)
        self.type = None

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

        self.__parse()
Esempio n. 20
0
    def __init__(self, payload):
        BGPPathAttribute.__init__(self, payload)
        self.type = BGPStatics.UPDATE_ATTRIBUTE_PE_DISTINGUISHER_LABLES

        self.__parse()