简体   繁体   English

OpenStack错误(Neutron网络服务)

[英]OpenStack Error(Neutron network service)

My Enviroment 我的环境

  • CentOS7 CentOS7的
  • OpenStack(Liberty) OpenStack(自由)

Problem 问题

neutron port-show net-ID 中子端口显示网号

Unable to find port with name 'net-ID' 找不到名称为“ net-ID”的端口

How do I fix this problem?? 我该如何解决这个问题? Please help 请帮忙


/etc/neutron/plugins/ml2/linuxbridge_agent.ini /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 /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 the following command to get the net-ids. 执行以下命令以获取网络ID。

neutron port-list 中子端口表

After getting the net-ids of different network devices(router, DHCP etc..), execute the following command with it. 获取不同网络设备(路由器,DHCP等)的网络ID之后,执行以下命令。

neutron port-show "net-id you got from previous command" 中子端口显示“您从先前命令获得的net-id”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM