OpenSDN source code
contrail_ports.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
3  * Copyright Contributors to the OpenSDN project
4  */
5 
6 #ifndef BASE_CONTRAIL_PORTS_H_
7 #define BASE_CONTRAIL_PORTS_H_
8 
9 #include <stdint.h>
10 #include <sandesh/common/vns_constants.h>
11 
13 public:
14  // HTTP (Introspect) ports
15  static const uint16_t HttpPortConfigNodemgr();
16  static const uint16_t HttpPortControlNodemgr();
17  static const uint16_t HttpPortVRouterNodemgr();
18  static const uint16_t HttpPortDatabaseNodemgr();
19  static const uint16_t HttpPortAnalyticsNodemgr();
20 
21  static const uint16_t HttpPortControl();
22  static const uint16_t HttpPortApiServer();
23  static const uint16_t HttpPortAgent();
24  static const uint16_t HttpPortSchemaTransformer();
25  static const uint16_t HttpPortSvcMonitor();
26  static const uint16_t HttpPortCollector();
27  static const uint16_t HttpPortOpserver();
28  static const uint16_t HttpPortQueryEngine();
29  static const uint16_t HttpPortDns();
30  static const uint16_t HttpPortKubeManager();
31 
32  // Supervisor control ports
33  static const uint16_t AnalyticsSupervisor();
34  static const uint16_t ControlSupervisor();
35  static const uint16_t ConfigSupervisor();
36  static const uint16_t VRouterSupervisor();
37  static const uint16_t DatabaseSupervisor();
38  static const uint16_t WebuiSupervisor();
39 
40  // Daemon ports
41  static const uint16_t DnsServerPort();
42  static const uint16_t ControlBgp();
43  static const uint16_t ControlXmpp();
44  static const uint16_t DiscoveryServerPort();
45  static const uint16_t RedisQueryPort();
46  static const uint16_t RedisUvePort();
47  static const uint16_t KeystonePort();
48  static const uint16_t RedisWebuiPort();
49  static const uint16_t WebConsole();
50  static const uint16_t OpServer();
51  static const uint16_t ApiServer();
52  static const uint16_t CollectorPort();
53  static const uint16_t CollectorProtobufPort();
54  static const uint16_t CollectorStructuredSyslogPort();
55  static const uint16_t DnsXmpp();
56  static const uint16_t DnsRndc();
57  static const uint16_t ApiServerOpen();
58  static const uint16_t AnalyzerUdpPort();
59  static const uint16_t PortIpcVrouterAgentPort();
60  static const uint16_t MetadataProxyVrouterAgentPort();
61  static const uint16_t VrouterAgentMirrorClientUdpPort();
62  static const uint16_t VrouterAgentDnsClientUdpPort();
63  static const uint16_t ContrailDnsClientUdpPort();
64 
65 private:
67 
68  static vnsConstants& VnsPorts();
69 };
70 
71 #endif // BASE_CONTRAIL_PORTS_H_
static const uint16_t ApiServer()
static const uint16_t HttpPortDatabaseNodemgr()
static const uint16_t HttpPortDns()
static const uint16_t HttpPortAnalyticsNodemgr()
static const uint16_t HttpPortOpserver()
static const uint16_t KeystonePort()
static const uint16_t CollectorProtobufPort()
static const uint16_t VrouterAgentDnsClientUdpPort()
static const uint16_t RedisUvePort()
static const uint16_t ControlBgp()
static const uint16_t HttpPortSchemaTransformer()
static const uint16_t AnalyzerUdpPort()
static const uint16_t ControlSupervisor()
static const uint16_t ContrailDnsClientUdpPort()
static const uint16_t DnsXmpp()
static const uint16_t HttpPortVRouterNodemgr()
static const uint16_t HttpPortControl()
static const uint16_t CollectorStructuredSyslogPort()
static const uint16_t HttpPortAgent()
static const uint16_t DiscoveryServerPort()
static const uint16_t RedisWebuiPort()
static const uint16_t VRouterSupervisor()
static const uint16_t DnsRndc()
static const uint16_t HttpPortQueryEngine()
static const uint16_t WebuiSupervisor()
static const uint16_t HttpPortControlNodemgr()
static const uint16_t ApiServerOpen()
static const uint16_t HttpPortCollector()
static const uint16_t WebConsole()
static const uint16_t HttpPortSvcMonitor()
static const uint16_t MetadataProxyVrouterAgentPort()
static vnsConstants & VnsPorts()
static const uint16_t AnalyticsSupervisor()
static const uint16_t VrouterAgentMirrorClientUdpPort()
static const uint16_t HttpPortApiServer()
static const uint16_t RedisQueryPort()
static const uint16_t CollectorPort()
static const uint16_t ControlXmpp()
static const uint16_t PortIpcVrouterAgentPort()
static const uint16_t DnsServerPort()
static const uint16_t OpServer()
static const uint16_t HttpPortConfigNodemgr()
static const uint16_t DatabaseSupervisor()
static const uint16_t ConfigSupervisor()
static const uint16_t HttpPortKubeManager()