SHARE
TWEET

controller

a guest Oct 18th, 2015 27 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rick@controller01:~$ neutron agent-list
  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. rick@controller01:~$ cat /etc/neutron/plugins/ml2/ml2_conf.ini
  13. [ml2]
  14. type_drivers = local,flat,vlan,vxlan
  15. mechanism_drivers = linuxbridge,l2population
  16. tenant_network_types = vxlan,vlan
  17. # (ListOpt) List of network type driver entrypoints to be loaded from
  18. # the neutron.ml2.type_drivers namespace.
  19. #
  20. # type_drivers = local,flat,vlan,gre,vxlan
  21. # Example: type_drivers = flat,vlan,gre,vxlan
  22.  
  23. # (ListOpt) Ordered list of network_types to allocate as tenant
  24. # networks. The default value 'local' is useful for single-box testing
  25. # but provides no connectivity between hosts.
  26. #
  27. # tenant_network_types = local
  28. # Example: tenant_network_types = vlan,gre,vxlan
  29.  
  30. # (ListOpt) Ordered list of networking mechanism driver entrypoints
  31. # to be loaded from the neutron.ml2.mechanism_drivers namespace.
  32. # mechanism_drivers =
  33. # Example: mechanism_drivers = openvswitch,mlnx
  34. # Example: mechanism_drivers = arista
  35. # Example: mechanism_drivers = cisco,logger
  36. # Example: mechanism_drivers = openvswitch,brocade
  37. # Example: mechanism_drivers = linuxbridge,brocade
  38.  
  39. # (ListOpt) Ordered list of extension driver entrypoints
  40. # to be loaded from the neutron.ml2.extension_drivers namespace.
  41. # extension_drivers =
  42. # Example: extension_drivers = anewextensiondriver
  43.  
  44. # =========== items for MTU selection and advertisement =============
  45. # (IntOpt) Path MTU.  The maximum permissible size of an unfragmented
  46. # packet travelling from and to addresses where encapsulated Neutron
  47. # traffic is sent.  Drivers calculate maximum viable MTU for
  48. # validating tenant requests based on this value (typically,
  49. # path_mtu - max encap header size).  If <=0, the path MTU is
  50. # indeterminate and no calculation takes place.
  51. # path_mtu = 0
  52.  
  53. # (IntOpt) Segment MTU.  The maximum permissible size of an
  54. # unfragmented packet travelling a L2 network segment.  If <=0,
  55. # the segment MTU is indeterminate and no calculation takes place.
  56. # segment_mtu = 0
  57.  
  58. # (ListOpt) Physical network MTUs.  List of mappings of physical
  59. # network to MTU value.  The format of the mapping is
  60. # <physnet>:<mtu val>.  This mapping allows specifying a
  61. # physical network MTU value that differs from the default
  62. # segment_mtu value.
  63. # physical_network_mtus =
  64. # Example: physical_network_mtus = physnet1:1550, physnet2:1500
  65. # ======== end of items for MTU selection and advertisement =========
  66.  
  67. [ml2_type_flat]
  68. flat_networks = physnet1
  69. # (ListOpt) List of physical_network names with which flat networks
  70. # can be created. Use * to allow flat networks with arbitrary
  71. # physical_network names.
  72. #
  73. # flat_networks =
  74. # Example:flat_networks = physnet1,physnet2
  75. # Example:flat_networks = *
  76.  
  77. [ml2_type_vlan]
  78. network_vlan_ranges = physnet1:30:33
  79. # (ListOpt) List of <physical_network>[:<vlan_min>:<vlan_max>] tuples
  80. # specifying physical_network names usable for VLAN provider and
  81. # tenant networks, as well as ranges of VLAN tags on each
  82. # physical_network available for allocation as tenant networks.
  83. #
  84. # network_vlan_ranges =
  85. # Example: network_vlan_ranges = physnet1:1000:2999,physnet2
  86.  
  87. [ml2_type_gre]
  88. # (ListOpt) Comma-separated list of <tun_min>:<tun_max> tuples enumerating ranges of GRE tunnel IDs that are available for tenant network allocation
  89. # tunnel_id_ranges =
  90.  
  91. [ml2_type_vxlan]
  92. vni_ranges = 1:1000
  93. # (ListOpt) Comma-separated list of <vni_min>:<vni_max> tuples enumerating
  94. # ranges of VXLAN VNI IDs that are available for tenant network allocation.
  95. #
  96. # vni_ranges =
  97.  
  98. # (StrOpt) Multicast group for the VXLAN interface. When configured, will
  99. # enable sending all broadcast traffic to this multicast group. When left
  100. # unconfigured, will disable multicast VXLAN mode.
  101. #
  102. # vxlan_group =
  103. # Example: vxlan_group = 239.1.1.1
  104.  
  105. [securitygroup]
  106. firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
  107. # Controls if neutron security group is enabled or not.
  108. # It should be false when you use nova security group.
  109. # enable_security_group = True
  110.  
  111. # Use ipset to speed-up the iptables security groups. Enabling ipset support
  112. # requires that ipset is installed on L2 agent node.
  113. # enable_ipset = True
  114.  
  115.  
  116. [linux_bridge]
  117. physical_interface_mappings = physnet1:eth1
  118.  
  119.  
  120. [vxlan]
  121. enable_vxlan = True
  122. l2_population = True
  123. local_ip = 172.16.1.211
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top