python - OpenStack Error(Neutron network service) -


my enviroment

  • centos7
  • openstack(liberty)

problem

neutron port-show net-id

unable find port name 'net-id'

how fix problem?? please help


/etc/neutron/plugins/ml2/linuxbridge_agent.ini

[linux_bridge] physical_interface_mappings = public:ens6f0 [vxlan] enable_vxlan = false [agent] prevent_arp_spoofing = true [securitygroup] firewall_driver = neutron.agent.linux.iptables_firewall.iptablesfirewalldriver enable_security_group = true 

/etc/neutron/plugins/ml2/ml2_conf.ini

[ml2] type_drivers = flat,vlan tenant_network_types = mechanism_drivers = linuxbridge extension_drivers = port_security [ml2_type_flat] flat_networks = public [ml2_type_vlan] [ml2_type_gre] [ml2_type_vxlan] [ml2_type_geneve] [securitygroup] enable_ipset = true 

execute following command net-ids.

neutron port-list

after getting net-ids of different network devices(router, dhcp etc..), execute following command it.

neutron port-show "net-id got previous command"


Comments