Advertisement
Guest User

compute1

a guest
Oct 18th, 2015
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.70 KB | None | 0 0
  1. rick@compute01:~$ neutron agent-list ; cat /etc/neutron/plugins/ml2/ml2_conf.ini
  2. +--------------------------------------+--------------------+----------------------------------+-------+----------------+---------------------------+
  3. | id | agent_type | host | alive | admin_state_up | binary |
  4. +--------------------------------------+--------------------+----------------------------------+-------+----------------+---------------------------+
  5. | 389b481e-949d-4fc2-9918-909ea4acc2a7 | Linux bridge agent | compute02.learningneutron.com | :-) | True | neutron-linuxbridge-agent |
  6. | 58889fb0-5e29-4f1e-a558-f3087e2ec8b5 | DHCP agent | controller01.learningneutron.com | :-) | True | neutron-dhcp-agent |
  7. | 5db94b35-ffdd-495a-a612-431367f94277 | L3 agent | controller01.learningneutron.com | :-) | True | neutron-l3-agent |
  8. | 86902ae9-f37c-4382-8329-d1800afdbedf | Linux bridge agent | controller01.learningneutron.com | :-) | True | neutron-linuxbridge-agent |
  9. | 8767e52c-e820-4e10-b6ef-51b56fe0ad57 | Linux bridge agent | compute01.learningneutron.com | :-) | True | neutron-linuxbridge-agent |
  10. | a7c093b4-f8e4-4181-ba62-d791180e79cd | Metadata agent | controller01.learningneutron.com | :-) | True | neutron-metadata-agent |
  11. +--------------------------------------+--------------------+----------------------------------+-------+----------------+---------------------------+
  12. [ml2]
  13. type_drivers = local,flat,vlan,vxlan
  14. mechanism_drivers = linuxbridge,l2population
  15. tenant_network_types = vxlan,vlan
  16. # (ListOpt) List of network type driver entrypoints to be loaded from
  17. # the neutron.ml2.type_drivers namespace.
  18. #
  19. # type_drivers = local,flat,vlan,gre,vxlan
  20. # Example: type_drivers = flat,vlan,gre,vxlan
  21.  
  22. # (ListOpt) Ordered list of network_types to allocate as tenant
  23. # networks. The default value 'local' is useful for single-box testing
  24. # but provides no connectivity between hosts.
  25. #
  26. # tenant_network_types = local
  27. # Example: tenant_network_types = vlan,gre,vxlan
  28.  
  29. # (ListOpt) Ordered list of networking mechanism driver entrypoints
  30. # to be loaded from the neutron.ml2.mechanism_drivers namespace.
  31. # mechanism_drivers =
  32. # Example: mechanism_drivers = openvswitch,mlnx
  33. # Example: mechanism_drivers = arista
  34. # Example: mechanism_drivers = cisco,logger
  35. # Example: mechanism_drivers = openvswitch,brocade
  36. # Example: mechanism_drivers = linuxbridge,brocade
  37.  
  38. # (ListOpt) Ordered list of extension driver entrypoints
  39. # to be loaded from the neutron.ml2.extension_drivers namespace.
  40. # extension_drivers =
  41. # Example: extension_drivers = anewextensiondriver
  42.  
  43. # =========== items for MTU selection and advertisement =============
  44. # (IntOpt) Path MTU. The maximum permissible size of an unfragmented
  45. # packet travelling from and to addresses where encapsulated Neutron
  46. # traffic is sent. Drivers calculate maximum viable MTU for
  47. # validating tenant requests based on this value (typically,
  48. # path_mtu - max encap header size). If <=0, the path MTU is
  49. # indeterminate and no calculation takes place.
  50. # path_mtu = 0
  51.  
  52. # (IntOpt) Segment MTU. The maximum permissible size of an
  53. # unfragmented packet travelling a L2 network segment. If <=0,
  54. # the segment MTU is indeterminate and no calculation takes place.
  55. # segment_mtu = 0
  56.  
  57. # (ListOpt) Physical network MTUs. List of mappings of physical
  58. # network to MTU value. The format of the mapping is
  59. # <physnet>:<mtu val>. This mapping allows specifying a
  60. # physical network MTU value that differs from the default
  61. # segment_mtu value.
  62. # physical_network_mtus =
  63. # Example: physical_network_mtus = physnet1:1550, physnet2:1500
  64. # ======== end of items for MTU selection and advertisement =========
  65.  
  66. [ml2_type_flat]
  67. flat_networks = physnet1
  68. # (ListOpt) List of physical_network names with which flat networks
  69. # can be created. Use * to allow flat networks with arbitrary
  70. # physical_network names.
  71. #
  72. # flat_networks =
  73. # Example:flat_networks = physnet1,physnet2
  74. # Example:flat_networks = *
  75.  
  76. [ml2_type_vlan]
  77. network_vlan_ranges = physnet1:30:33
  78. # (ListOpt) List of <physical_network>[:<vlan_min>:<vlan_max>] tuples
  79. # specifying physical_network names usable for VLAN provider and
  80. # tenant networks, as well as ranges of VLAN tags on each
  81. # physical_network available for allocation as tenant networks.
  82. #
  83. # network_vlan_ranges =
  84. # Example: network_vlan_ranges = physnet1:1000:2999,physnet2
  85.  
  86. [ml2_type_gre]
  87. # (ListOpt) Comma-separated list of <tun_min>:<tun_max> tuples enumerating ranges of GRE tunnel IDs that are available for tenant network allocation
  88. # tunnel_id_ranges =
  89.  
  90. [ml2_type_vxlan]
  91. vni_ranges = 1:1000
  92. # (ListOpt) Comma-separated list of <vni_min>:<vni_max> tuples enumerating
  93. # ranges of VXLAN VNI IDs that are available for tenant network allocation.
  94. #
  95. # vni_ranges =
  96.  
  97. # (StrOpt) Multicast group for the VXLAN interface. When configured, will
  98. # enable sending all broadcast traffic to this multicast group. When left
  99. # unconfigured, will disable multicast VXLAN mode.
  100. #
  101. # vxlan_group =
  102. # Example: vxlan_group = 239.1.1.1
  103.  
  104. [securitygroup]
  105. firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
  106. # Controls if neutron security group is enabled or not.
  107. # It should be false when you use nova security group.
  108. # enable_security_group = True
  109.  
  110. # Use ipset to speed-up the iptables security groups. Enabling ipset support
  111. # requires that ipset is installed on L2 agent node.
  112. # enable_ipset = True
  113.  
  114.  
  115. [linux_bridge]
  116. physical_interface_mappings = physnet1:eth1
  117.  
  118.  
  119. [vxlan]
  120. enable_vxlan = True
  121. l2_population = True
  122. local_ip = 172.18.0.102
  123. rick@compute01:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement