root@controller2:/# source admin-openrc.sh root@controller2:/# root@controller2:/# neutron agent-list +--------------------------------------+--------------------+----------+-------+----------------+---------------------------+ | id | agent_type | host | alive | admin_state_up | binary | +--------------------------------------+--------------------+----------+-------+----------------+---------------------------+ | 1a469d4c-598c-48e1-93fd-01b90c7352d7 | DHCP agent | network2 | :-) | True | neutron-dhcp-agent | | 4a2587c3-437a-4848-9718-09a678323040 | L3 agent | network2 | :-) | True | neutron-l3-agent | | a5db48ab-c7bf-4fe1-8f8a-eddc82cecce5 | Open vSwitch agent | compute5 | :-) | True | neutron-openvswitch-agent | | d3b8cebb-e6e5-4599-9ffd-2fed3e12f0b4 | Metadata agent | network2 | :-) | True | neutron-metadata-agent | | f2734fde-bd13-45da-a74e-8164d2dc6bda | Open vSwitch agent | network2 | :-) | True | neutron-openvswitch-agent | +--------------------------------------+--------------------+----------+-------+----------------+---------------------------+ root@controller2:/# root@controller2:/# neutron agent-show 1a469d4c-598c-48e1-93fd-01b90c7352d7 +---------------------+----------------------------------------------------------+ | Field | Value | +---------------------+----------------------------------------------------------+ | admin_state_up | True | | agent_type | DHCP agent | | alive | True | | binary | neutron-dhcp-agent | | configurations | { | | | "subnets": 1, | | | "use_namespaces": true, | | | "dhcp_lease_duration": 86400, | | | "dhcp_driver": "neutron.agent.linux.dhcp.Dnsmasq", | | | "networks": 1, | | | "ports": 2 | | | } | | created_at | 2015-06-29 20:51:27 | | description | | | heartbeat_timestamp | 2015-06-29 21:41:27 | | host | network2 | | id | 1a469d4c-598c-48e1-93fd-01b90c7352d7 | | started_at | 2015-06-29 20:51:27 | | topic | dhcp_agent | +---------------------+----------------------------------------------------------+ root@controller2:/# neutron agent-show 4a2587c3-437a-4848-9718-09a678323040 +---------------------+-------------------------------------------------------------------------------+ | Field | Value | +---------------------+-------------------------------------------------------------------------------+ | admin_state_up | True | | agent_type | L3 agent | | alive | True | | binary | neutron-l3-agent | | configurations | { | | | "router_id": "", | | | "agent_mode": "legacy", | | | "gateway_external_network_id": "", | | | "handle_internal_only_routers": true, | | | "use_namespaces": true, | | | "routers": 1, | | | "interfaces": 1, | | | "floating_ips": 0, | | | "interface_driver": "neutron.agent.linux.interface.OVSInterfaceDriver", | | | "external_network_bridge": "br-ex", | | | "ex_gw_ports": 1 | | | } | | created_at | 2015-06-29 20:51:27 | | description | | | heartbeat_timestamp | 2015-06-29 21:41:58 | | host | network2 | | id | 4a2587c3-437a-4848-9718-09a678323040 | | started_at | 2015-06-29 20:51:27 | | topic | l3_agent | +---------------------+-------------------------------------------------------------------------------+ root@controller2:/# neutron agent-show a5db48ab-c7bf-4fe1-8f8a-eddc82cecce5 +---------------------+--------------------------------------------+ | Field | Value | +---------------------+--------------------------------------------+ | admin_state_up | True | | agent_type | Open vSwitch agent | | alive | True | | binary | neutron-openvswitch-agent | | configurations | { | | | "arp_responder_enabled": false, | | | "tunneling_ip": "172.22.15.17", | | | "devices": 0, | | | "l2_population": false, | | | "tunnel_types": [ | | | "gre" | | | ], | | | "enable_distributed_routing": false, | | | "bridge_mappings": {} | | | } | | created_at | 2015-06-29 20:43:46 | | description | | | heartbeat_timestamp | 2015-06-29 21:41:58 | | host | compute5 | | id | a5db48ab-c7bf-4fe1-8f8a-eddc82cecce5 | | started_at | 2015-06-29 20:55:58 | | topic | N/A | +---------------------+--------------------------------------------+ root@controller2:/# neutron agent-show d3b8cebb-e6e5-4599-9ffd-2fed3e12f0b4 +---------------------+-----------------------------------------------------------------+ | Field | Value | +---------------------+-----------------------------------------------------------------+ | admin_state_up | True | | agent_type | Metadata agent | | alive | True | | binary | neutron-metadata-agent | | configurations | { | | | "nova_metadata_ip": "172.22.14.22", | | | "nova_metadata_port": 8775, | | | "metadata_proxy_socket": "/var/lib/neutron/metadata_proxy" | | | } | | created_at | 2015-06-29 20:51:27 | | description | | | heartbeat_timestamp | 2015-06-29 21:41:57 | | host | network2 | | id | d3b8cebb-e6e5-4599-9ffd-2fed3e12f0b4 | | started_at | 2015-06-29 20:51:27 | | topic | N/A | +---------------------+-----------------------------------------------------------------+ root@controller2:/# neutron agent-show f2734fde-bd13-45da-a74e-8164d2dc6bda +---------------------+--------------------------------------------+ | Field | Value | +---------------------+--------------------------------------------+ | admin_state_up | True | | agent_type | Open vSwitch agent | | alive | True | | binary | neutron-openvswitch-agent | | configurations | { | | | "arp_responder_enabled": false, | | | "tunneling_ip": "172.22.15.14", | | | "devices": 2, | | | "l2_population": false, | | | "tunnel_types": [ | | | "gre" | | | ], | | | "enable_distributed_routing": false, | | | "bridge_mappings": { | | | "external": "br-ex" | | | } | | | } | | created_at | 2015-06-29 20:51:27 | | description | | | heartbeat_timestamp | 2015-06-29 21:42:27 | | host | network2 | | id | f2734fde-bd13-45da-a74e-8164d2dc6bda | | started_at | 2015-06-29 20:51:27 | | topic | N/A | +---------------------+--------------------------------------------+ root@controller2:/# root@controller2:/# source admin-openrc.sh root@controller2:/# root@controller2:/# neutron net-list +--------------------------------------+-------------+-----------------------------------------------------+ | id | name | subnets | +--------------------------------------+-------------+-----------------------------------------------------+ | b43da44a-42d5-4b1f-91c2-d06a923deb29 | ext_net1101 | c40fa8e3-cd8e-4566-ade6-5f3eabed121c 157.157.8.0/24 | | 3446e54b-346f-45e5-89a2-1ec4eef251ab | demo-net | 2c79bb00-0ace-4319-8151-81210ee3dfb2 172.22.18.0/24 | +--------------------------------------+-------------+-----------------------------------------------------+ root@controller2:/# root@controller2:/# neutron subnet-list +--------------------------------------+--------------------+----------------+---------------------------------------------------+ | id | name | cidr | allocation_pools | +--------------------------------------+--------------------+----------------+---------------------------------------------------+ | c40fa8e3-cd8e-4566-ade6-5f3eabed121c | ext_net1101-subnet | 157.157.8.0/24 | {"start": "157.157.8.51", "end": "157.157.8.250"} | | 2c79bb00-0ace-4319-8151-81210ee3dfb2 | demo-subnet | 172.22.18.0/24 | {"start": "172.22.18.2", "end": "172.22.18.254"} | +--------------------------------------+--------------------+----------------+---------------------------------------------------+ root@controller2:/# root@controller2:/# neutron net-show b43da44a-42d5-4b1f-91c2-d06a923deb29 +---------------------------+--------------------------------------+ | Field | Value | +---------------------------+--------------------------------------+ | admin_state_up | True | | id | b43da44a-42d5-4b1f-91c2-d06a923deb29 | | name | ext_net1101 | | provider:network_type | vlan | | provider:physical_network | external | | provider:segmentation_id | 1101 | | router:external | True | | shared | False | | status | ACTIVE | | subnets | c40fa8e3-cd8e-4566-ade6-5f3eabed121c | | tenant_id | c96aec0da5e542ad8e3198aaccc498c7 | +---------------------------+--------------------------------------+ root@controller2:/# root@controller2:/# neutron net-show 3446e54b-346f-45e5-89a2-1ec4eef251ab +---------------------------+--------------------------------------+ | Field | Value | +---------------------------+--------------------------------------+ | admin_state_up | True | | id | 3446e54b-346f-45e5-89a2-1ec4eef251ab | | name | demo-net | | provider:network_type | vlan | | provider:physical_network | external | | provider:segmentation_id | 1102 | | router:external | False | | shared | False | | status | ACTIVE | | subnets | 2c79bb00-0ace-4319-8151-81210ee3dfb2 | | tenant_id | f976b7c713c64b028c0e89f3956795ed | +---------------------------+--------------------------------------+ root@controller2:/# root@controller2:/# neutron subnet-sho c40fa8e3-cd8e-4566-ade6-5f3eabed121c Unknown command [u'subnet-sho', u'c40fa8e3-cd8e-4566-ade6-5f3eabed121c'] root@controller2:/# neutron subnet-show c40fa8e3-cd8e-4566-ade6-5f3eabed121c +-------------------+---------------------------------------------------+ | Field | Value | +-------------------+---------------------------------------------------+ | allocation_pools | {"start": "157.157.8.51", "end": "157.157.8.250"} | | cidr | 157.157.8.0/24 | | dns_nameservers | | | enable_dhcp | False | | gateway_ip | 157.157.8.1 | | host_routes | | | id | c40fa8e3-cd8e-4566-ade6-5f3eabed121c | | ip_version | 4 | | ipv6_address_mode | | | ipv6_ra_mode | | | name | ext_net1101-subnet | | network_id | b43da44a-42d5-4b1f-91c2-d06a923deb29 | | tenant_id | c96aec0da5e542ad8e3198aaccc498c7 | +-------------------+---------------------------------------------------+ root@controller2:/# root@controller2:/# neutron subnet-show 2c79bb00-0ace-4319-8151-81210ee3dfb2 +-------------------+--------------------------------------------------+ | Field | Value | +-------------------+--------------------------------------------------+ | allocation_pools | {"start": "172.22.18.2", "end": "172.22.18.254"} | | cidr | 172.22.18.0/24 | | dns_nameservers | | | enable_dhcp | True | | gateway_ip | 172.22.18.1 | | host_routes | | | id | 2c79bb00-0ace-4319-8151-81210ee3dfb2 | | ip_version | 4 | | ipv6_address_mode | | | ipv6_ra_mode | | | name | demo-subnet | | network_id | 3446e54b-346f-45e5-89a2-1ec4eef251ab | | tenant_id | f976b7c713c64b028c0e89f3956795ed | +-------------------+--------------------------------------------------+