OpenSDN source code
extended-community/types.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Juniper Networks, Inc. All rights reserved.
3  * Copyright Contributors to the OpenSDN project
4  */
5 
6 #ifndef SRC_BGP_EXTENDED_COMMUNITY_TYPES_H_
7 #define SRC_BGP_EXTENDED_COMMUNITY_TYPES_H_
8 
10  enum type {
11  TwoOctetAS = 0x00,
12  IPv4Address = 0x01,
13  FourOctetAS = 0x02,
14  Opaque = 0x03,
15  Evpn = 0x06,
16  Experimental = 0x80,
19  };
20 };
21 
23  enum SubType {
24  RouteTarget = 0x02,
25  RouteOrigin = 0x03,
26  SourceAS = 0x09,
28  SubCluster = 0x85,
29  };
30 };
31 
33  enum SubType {
34  TunnelEncap = 0x0C,
36  LoadBalance = 0xAA, // TBA
37  };
38 };
39 
41  enum SubType {
42  MacMobility = 0x00,
43  EsiMplsLabel = 0x01,
44  EsImport = 0x02,
45  RouterMac = 0x03,
46  ETree = 0x05,
48  };
49 };
50 
52  enum SubType {
53  OriginVn = 0x71,
54  SgId = 0x04,
55  Tag = 0x84,
56  };
57 };
58 
60  enum SubType {
62  };
63 };
64 
65 #endif // SRC_BGP_EXTENDED_COMMUNITY_TYPES_H_
Definition: etree.h:17