KAnusha

Untitled

Oct 31st, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.95 KB | None | 0 0
  1. odl@externalodl:~$ sudo netstat -nap | grep -i java
  2. tcp6 0 0 :::6633 :::* LISTEN 21595/java
  3. tcp6 0 0 :::1099 :::* LISTEN 21595/java
  4. tcp6 0 0 :::43660 :::* LISTEN 21595/java
  5. tcp6 0 0 :::8080 :::* LISTEN 21595/java
  6. tcp6 0 0 :::6640 :::* LISTEN 21595/java
  7. tcp6 0 0 :::6644 :::* LISTEN 21595/java
  8. tcp6 0 0 :::8181 :::* LISTEN 21595/java
  9. tcp6 0 0 127.0.0.1:2550 :::* LISTEN 21595/java
  10. tcp6 0 0 :::8185 :::* LISTEN 21595/java
  11. tcp6 0 0 :::44444 :::* LISTEN 21595/java
  12. tcp6 0 0 :::6653 :::* LISTEN 21595/java
  13. tcp6 0 0 :::8101 :::* LISTEN 21595/java
  14. tcp6 0 0 127.0.0.1:33574 :::* LISTEN 21595/java
  15. tcp6 0 0 192.168.122.58:6640 192.168.122.9:54694 ESTABLISHED 21595/java
  16. tcp6 0 0 127.0.0.1:8101 127.0.0.1:33118 ESTABLISHED 21595/java
  17. tcp6 0 0 192.168.122.58:6653 192.168.122.9:36654 ESTABLISHED 21595/java
  18. tcp6 0 0 127.0.0.1:33118 127.0.0.1:8101 ESTABLISHED 21935/java
  19. unix 3 [ ] STREAM CONNECTED 45735 21595/java
  20. unix 3 [ ] STREAM CONNECTED 45809 21935/java
  21. unix 3 [ ] STREAM CONNECTED 45810 21935/java
  22. unix 3 [ ] STREAM CONNECTED 45734 21595/java
  23. unix 2 [ ] STREAM CONNECTED 43318 21595/java
  24. unix 2 [ ] STREAM CONNECTED 43321 21595/java
  25. unix 2 [ ] STREAM CONNECTED 43330 21935/java
  26. unix 3 [ ] STREAM CONNECTED 44591 21595/java
  27. unix 3 [ ] STREAM CONNECTED 44257 21595/java
  28. unix 3 [ ] STREAM CONNECTED 44258 21595/java
  29. unix 3 [ ] STREAM CONNECTED 44590 21595/java
  30.  
  31.  
  32.  
  33. ==== Openstack node ovs-vsctl show output ====
  34.  
  35. test@test1:~$ sudo ovs-vsctl show
  36. 05d8af6d-a7b7-4b1d-864b-44dbd6ef4fda
  37. Manager "tcp:192.168.122.58:6640"
  38. is_connected: true
  39. Bridge br-int
  40. Controller "tcp:192.168.122.58:6653"
  41. is_connected: true
  42. fail_mode: secure
  43. Port "tapfd6acd52-72"
  44. Interface "tapfd6acd52-72"
  45. type: internal
  46. Port br-int
  47. Interface br-int
  48. type: internal
  49. ovs_version: "2.5.90"
  50.  
  51. ========= /etc/neutron/plugins/ml2/ml2_conf.ini ===========
  52. [DEFAULT]
  53.  
  54. #
  55. # From oslo.log
  56. #
  57.  
  58. # If set to true, the logging level will be set to DEBUG instead of the default
  59. # INFO level. (boolean value)
  60. # Note: This option can be changed without restarting.
  61. #debug = false
  62.  
  63. # DEPRECATED: If set to false, the logging level will be set to WARNING instead
  64. # of the default INFO level. (boolean value)
  65. # This option is deprecated for removal.
  66. # Its value may be silently ignored in the future.
  67. #verbose = true
  68.  
  69. # The name of a logging configuration file. This file is appended to any
  70. # existing logging configuration files. For details about logging configuration
  71. # files, see the Python logging module documentation. Note that when logging
  72. # configuration files are used then all logging configuration is set in the
  73. # configuration file and other logging configuration options are ignored (for
  74. # example, logging_context_format_string). (string value)
  75. # Note: This option can be changed without restarting.
  76. # Deprecated group/name - [DEFAULT]/log_config
  77. #log_config_append = <None>
  78.  
  79. # Defines the format string for %%(asctime)s in log records. Default:
  80. # %(default)s . This option is ignored if log_config_append is set. (string
  81. # value)
  82. #log_date_format = %Y-%m-%d %H:%M:%S
  83.  
  84. # (Optional) Name of log file to send logging output to. If no default is set,
  85. # logging will go to stderr as defined by use_stderr. This option is ignored if
  86. # log_config_append is set. (string value)
  87. # Deprecated group/name - [DEFAULT]/logfile
  88. #log_file = <None>
  89.  
  90. # (Optional) The base directory used for relative log_file paths. This option
  91. # is ignored if log_config_append is set. (string value)
  92. # Deprecated group/name - [DEFAULT]/logdir
  93. #log_dir = <None>
  94.  
  95. # Uses logging handler designed to watch file system. When log file is moved or
  96. # removed this handler will open a new log file with specified path
  97. # instantaneously. It makes sense only if log_file option is specified and
  98. # Linux platform is used. This option is ignored if log_config_append is set.
  99. # (boolean value)
  100. #watch_log_file = false
  101.  
  102. # Use syslog for logging. Existing syslog format is DEPRECATED and will be
  103. # changed later to honor RFC5424. This option is ignored if log_config_append
  104. # is set. (boolean value)
  105. #use_syslog = false
  106.  
  107. # Syslog facility to receive log lines. This option is ignored if
  108. # log_config_append is set. (string value)
  109. #syslog_log_facility = LOG_USER
  110.  
  111. # Log output to standard error. This option is ignored if log_config_append is
  112. # set. (boolean value)
  113. #use_stderr = false
  114.  
  115. # Format string to use for log messages with context. (string value)
  116. #logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
  117.  
  118. # Format string to use for log messages when context is undefined. (string
  119. # value)
  120. #logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
  121.  
  122. # Additional data to append to log message when logging level for the message
  123. # is DEBUG. (string value)
  124. #logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
  125.  
  126. # Prefix each line of exception output with this format. (string value)
  127. #logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
  128.  
  129. # Defines the format string for %(user_identity)s that is used in
  130. # logging_context_format_string. (string value)
  131. #logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s
  132.  
  133. # List of package logging levels in logger=LEVEL pairs. This option is ignored
  134. # if log_config_append is set. (list value)
  135. #default_log_levels = amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,requests.packages.urllib3.util.retry=WARN,urllib3.util.retry=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN,taskflow=WARN,keystoneauth=WARN,oslo.cache=INFO,dogpile.core.dogpile=INFO
  136.  
  137. # Enables or disables publication of error events. (boolean value)
  138. #publish_errors = false
  139.  
  140. # The format for an instance that is passed with the log message. (string
  141. # value)
  142. #instance_format = "[instance: %(uuid)s] "
  143.  
  144. # The format for an instance UUID that is passed with the log message. (string
  145. # value)
  146. #instance_uuid_format = "[instance: %(uuid)s] "
  147.  
  148. # Interval, number of seconds, of log rate limiting. (integer value)
  149. #rate_limit_interval = 0
  150.  
  151. # Maximum number of logged messages per rate_limit_interval. (integer value)
  152. #rate_limit_burst = 0
  153.  
  154. # Log level name used by rate limiting: CRITICAL, ERROR, INFO, WARNING, DEBUG
  155. # or empty string. Logs with level greater or equal to rate_limit_except_level
  156. # are not filtered. An empty string means that all levels are filtered. (string
  157. # value)
  158. #rate_limit_except_level = CRITICAL
  159.  
  160. # Enables or disables fatal status of deprecations. (boolean value)
  161. #fatal_deprecations = false
  162.  
  163.  
  164. [ml2]
  165. tenant_network_types = vxlan
  166. extension_drivers = port_security,qos
  167. mechanism_drivers = opendaylight_v2
  168. #mechanism_drivers = openvswitch,linuxbridge
  169.  
  170. #
  171. # From neutron.ml2
  172. #
  173.  
  174. # List of network type driver entrypoints to be loaded from the
  175. # neutron.ml2.type_drivers namespace. (list value)
  176. type_drivers = local,flat,vlan,gre,vxlan,geneve
  177.  
  178. # Ordered list of network_types to allocate as tenant networks. The default
  179. # value 'local' is useful for single-box testing but provides no connectivity
  180. # between hosts. (list value)
  181. #tenant_network_types = local
  182.  
  183. # An ordered list of networking mechanism driver entrypoints to be loaded from
  184. # the neutron.ml2.mechanism_drivers namespace. (list value)
  185. #mechanism_drivers =
  186.  
  187. # An ordered list of extension driver entrypoints to be loaded from the
  188. # neutron.ml2.extension_drivers namespace. For example: extension_drivers =
  189. # port_security,qos (list value)
  190. #extension_drivers =
  191.  
  192. # Maximum size of an IP packet (MTU) that can traverse the underlying physical
  193. # network infrastructure without fragmentation when using an overlay/tunnel
  194. # protocol. This option allows specifying a physical network MTU value that
  195. # differs from the default global_physnet_mtu value. (integer value)
  196. #path_mtu = 0
  197.  
  198. # A list of mappings of physical networks to MTU values. The format of the
  199. # mapping is <physnet>:<mtu val>. This mapping allows specifying a physical
  200. # network MTU value that differs from the default global_physnet_mtu value.
  201. # (list value)
  202. #physical_network_mtus =
  203.  
  204. # Default network type for external networks when no provider attributes are
  205. # specified. By default it is None, which means that if provider attributes are
  206. # not specified while creating external networks then they will have the same
  207. # type as tenant networks. Allowed values for external_network_type config
  208. # option depend on the network type values configured in type_drivers config
  209. # option. (string value)
  210. #external_network_type = <None>
  211.  
  212. # IP version of all overlay (tunnel) network endpoints. Use a value of 4 for
  213. # IPv4 or 6 for IPv6. (integer value)
  214. #overlay_ip_version = 4
  215.  
  216.  
  217. [ml2_type_flat]
  218. flat_networks = public,
  219.  
  220. #
  221. # From neutron.ml2
  222. #
  223.  
  224. # List of physical_network names with which flat networks can be created. Use
  225. # default '*' to allow flat networks with arbitrary physical_network names. Use
  226. # an empty list to disable flat networks. (list value)
  227. #flat_networks = *
  228.  
  229.  
  230. [ml2_type_geneve]
  231. vni_ranges = 1:1000
  232.  
  233. #
  234. # From neutron.ml2
  235. #
  236.  
  237. # Comma-separated list of <vni_min>:<vni_max> tuples enumerating ranges of
  238. # Geneve VNI IDs that are available for tenant network allocation (list value)
  239. #vni_ranges =
  240.  
  241. # Geneve encapsulation header size is dynamic, this value is used to calculate
  242. # the maximum MTU for the driver. This is the sum of the sizes of the outer ETH
  243. # + IP + UDP + GENEVE header sizes. The default size for this field is 50,
  244. # which is the size of the Geneve header without any additional option headers.
  245. # (integer value)
  246. #max_header_size = 30
  247.  
  248.  
  249. [ml2_type_gre]
  250. tunnel_id_ranges = 1:1000
  251.  
  252. #
  253. # From neutron.ml2
  254. #
  255.  
  256. # Comma-separated list of <tun_min>:<tun_max> tuples enumerating ranges of GRE
  257. # tunnel IDs that are available for tenant network allocation (list value)
  258. #tunnel_id_ranges =
  259.  
  260.  
  261. [ml2_type_vlan]
  262. network_vlan_ranges = public
  263.  
  264. #
  265. # From neutron.ml2
  266. #
  267.  
  268. # List of <physical_network>:<vlan_min>:<vlan_max> or <physical_network>
  269. # specifying physical_network names usable for VLAN provider and tenant
  270. # networks, as well as ranges of VLAN tags on each available for allocation to
  271. # tenant networks. (list value)
  272. #network_vlan_ranges =
  273.  
  274.  
  275. [ml2_type_vxlan]
  276. vni_ranges = 1:1000
  277.  
  278. #
  279. # From neutron.ml2
  280. #
  281.  
  282. # Comma-separated list of <vni_min>:<vni_max> tuples enumerating ranges of
  283. # VXLAN VNI IDs that are available for tenant network allocation (list value)
  284. #vni_ranges =
  285.  
  286. # Multicast group for VXLAN. When configured, will enable sending all broadcast
  287. # traffic to this multicast group. When left unconfigured, will disable
  288. # multicast VXLAN mode. (string value)
  289. #vxlan_group = <None>
  290.  
  291.  
  292. [securitygroup]
  293. firewall_driver = iptables_hybrid
  294.  
  295. #
  296. # From neutron.ml2
  297. #
  298.  
  299. # Driver for security groups firewall in the L2 agent (string value)
  300. #firewall_driver = <None>
  301.  
  302. # Controls whether the neutron security group API is enabled in the server. It
  303. # should be false when using no security groups or using the nova security
  304. # group API. (boolean value)
  305. #enable_security_group = true
  306.  
  307. # Use ipset to speed-up the iptables based security groups. Enabling ipset
  308. # support requires that ipset is installed on L2 agent node. (boolean value)
  309. #enable_ipset = true
  310.  
  311. [agent]
  312. extensions = qos
  313. tunnel_types = vxlan
  314. root_helper_daemon = sudo /usr/local/bin/neutron-rootwrap-daemon /etc/neutron/rootwrap.conf
  315. root_helper = sudo /usr/local/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
  316.  
  317. [ovs]
  318. datapath_type = system
  319. bridge_mappings = public:br-ex
  320. tunnel_bridge = br-tun
  321. local_ip = 192.168.122.9
  322.  
  323. [ml2_odl]
  324. port_binding_controller = pseudo-agentdb-binding
  325. password = admin
  326. username = admin
  327. url = http://192.168.122.58:8080/controller/nb/v2/neutron
Add Comment
Please, Sign In to add comment