Neutron Database采用的是分布式架构,由3台服务器组成一个cluster.Neutron Server通过Plugin,然后发送给Neutron Database的VIP, HAProxy收到消息后,转发给database的实地址.
1.Neutron server 接收 api 请求。
2.plugin转换消息,发送给database
3.database 保存 neutron 网络状态。
4.HAProxy实现数据的主备保护
1.Neutron数据库table列表
| Tables_in_neutron | |
+-----------------------------------------+ |
| allowedaddresspairs |允许的地址对 |
| arista_provisioned_vms |arista提供者虚机 |
| brocadeports |博科端口 |
| cisco_ml2_apic_names |思科ML2 APIC名称 |
| cisco_ml2_n1kv_policy_profiles |思科ML2 n1kv策略配置文件 |
| cisco_ml2_n1kv_port_bindings |思科ML2 n1kv端口配置文件 |
| cisco_ml2_n1kv_vxlan_allocations |思科ML2 n1kv vxlan分配 |
| cisco_n1kv_network_bindings |思科n1kv网络绑定 |
| cisco_n1kv_profile_bindings |思科n1kv配置文件绑定 |
| cisco_n1kv_vmnetworks |思科n1kv虚机网络 |
| cisco_n1kv_vxlan_allocations |思科n1kv vxlan 分配 |
| cisco_network_profiles |思科网络配置文件 |
| cisco_policy_profiles |思科端口配置文件 |
| cisco_provider_networks |思科提供者网络 |
| cisco_qos_policies |思科qos 策略 |
| cisco_router_mappings |思科路由映射 |
| default_security_group |默认安全组 |
| externalnetworks |外部网络 |
| extradhcpopts |额外dhcp端口 |
| firewall_policies |防火墙策略 |
| firewall_router_associations |防火墙路由关联 |
| firewall_rules |防火墙规则 |
| firewalls |防火墙 |
| floatingips |浮动ip |
| ha_router_agent_port_bindings |ha路由代理端口绑定 |
| ha_router_networks |ha路由网络 |
| ikepolicies |ike 策略 |
| ipallocationpools |ip 分配资源池 |
| ipallocations |ip 分配 |
| ipsecpolicies |IPsec策略 |
| lbaas_healthmonitors |负载均衡的健康监测 |
| lbaas_loadbalanceragentbindings |负载均衡即服务的负载均衡的代理绑定 |
| lbaas_members |负载均衡即服务的成员 |
| lbaas_pools |负载均衡即服务的资源池 |
| lsn_port |大型网络端口 |
| members |成员 |
| meteringlabels |计量标签 |
| ml2_brocadeports |ML2博科端口 |
| ml2_gre_allocations |ML2 的gre分配 |
| ml2_nexus_vxlan_allocations |ML2 的nexu vxlan 的分配 |
| ml2_port_bindings |ML2端口绑定 |
| ml2_vxlan_endpoints |ML2 vxlan端点 |
| network_bindings |网络绑定 |
| network_states |网络状态 |
| networkconnections |网络连接 |
| networkdhcpagentbindings |网络与dhcp代理的绑定 |
| networkgatewaydevices |网络网关设备 |
| networkgateways |网络网关 |
| networkqosmappings |网络qos映射 |
| networks |网络 |
| networksecuritybindings |网络安全组绑定 |
| neutron_nsx_port_mappings |neutron 与nsx 端口映射 |
| neutron_nsx_router_mappings |neutron 与nsx 路由映射 |
| neutron_nsx_security_group_mappings |neutron 与nsx 安全组映射 |
| nexthops |下一跳 |
| nfv_routers |nfv路由 |
| nsxv_edge_vip_mappings |NSX边缘 与虚拟ip映射 |
| nsxv_edge_vnic_bindings |NSX边缘与虚拟网卡映射 |
| nsxv_firewall_rule_bindings |NSX防火墙规则绑定 |
| nsxv_router_bindings |nsxv路由绑定 |
| nsxv_rule_mappings |nsxv规则映射 |
| nsxv_security_group_section_mappings |nsxv安全组会话映射 |
| nuage_net_partitions | nuage网络分区 |
| nuage_provider_net_bindings | nuage提供者网络绑定 |
| ofcnetworkmappings |OFC网络映射 |
| ofcportmappings |OFC端口映射 |
| ofcroutermappings |OFC路由映射 |
| ofctenantmappings |OFC租户映射 |
| ovs_network_bindings |ovs 与网络绑定 |
| ovs_tunnel_allocations |ovs隧道分配 |
| ovs_tunnel_endpoints |ovs隧道端点 |
| ovs_vlan_allocations |ovs的vlan分配 |
| poolmonitorassociations |资源池监控器关联 |
| pools |资源池 |
| poolstatisticss |资源池统计 |
| portinfos |端口的相关信息 |
| portqosmappings |端口的qos映射 |
| ports |端口 |
| portsecuritybindings |端口安全绑定 |
| protqosmappings |端口qos映射 |
| qos_policies |qos策略 |
| qoses |qos |
| routerl3agentbindings |路由L3代理绑定 |
| routerports |路由端口 |
| routerproviders |路由提供者 |
| routerrules |路由规则 |
| routers |路由 |
| securitygroupportbindings |安全组端口绑定 |
| securitygrouprules |安全组规则 |
| securitygroups |安全组 |
| ste |串口服务器 |
| subnetpools |子网资源池 |
| subnetroutes |子网路由 |
| subnets |子网 |
| tz_network_bindings |tz网络绑定 |
| vips |虚拟ip |
| vpnservices |vpn服务 |
+-----------------------------------------+ |
三、某解决方案中neutron数据库的关键table:
1、.默认安全组
MariaDB [neutron]> desc default_security_group;
2、外部网络
MariaDB [neutron]> desc externalnetworks;
3、防火墙策略
MariaDB [neutron]> desc firewall_policies ;
4、防火墙路由关联
MariaDB [neutron]> desc firewall_router_associations
5、 防火墙规则
MariaDB [neutron]> desc firewall_rules
6、防火墙
MariaDB [neutron]> desc firewalls
7、浮动ip
MariaDB [neutron]> desc floatingips
8、Ipsec站点连接
MariaDB [neutron]> desc ipsec_site_connections
9、负载均衡健康监控
MariaDB [neutron]> desc lbaas_healthmonitors
10、负载均衡监听器
MariaDB [neutron]> desc lbaas_listeners
11、负载均衡即服务
MariaDB [neutron]> desc lbaas_loadbalancers
12、负载均衡成员
MariaDB [neutron]> desc lbaas_members
13、负载均衡资源池
MariaDB [neutron]> desc lbaas_pools
14、网络
MariaDB [neutron]> desc lbaas_pools
15、NFV路由
MariaDB [neutron]> desc nfv_routers
16、 nuage网络分区路由映射
MariaDB [neutron]> desc nuage_net_partition_router_mapping
17、nuage 网络分区
MariaDB [neutron]> desc nuage_net_partitions
18、nuage提供商网络绑定
MariaDB [neutron]> desc nuage_provider_net_bindings
19、nuage子网L2域映射
MariaDB [neutron]> desc nuage_subnet_l2dom_mapping
20、QOS
MariaDB [neutron]> desc qoses
21、Quota
MariaDB [neutron]> desc quotas
22、路由
MariaDB [neutron]> desc routers
23、安全组规则
MariaDB [neutron]> desc securitygrouprules
24、安全组
MariaDB [neutron]> desc securitygroups
25、子网
MariaDB [neutron]> desc subnets
26、虚拟IP
MariaDB [neutron]> desc vips
本文出自 “12028998” 博客,请务必保留此出处http://12038998.blog.51cto.com/12028998/1856681
原文地址:http://12038998.blog.51cto.com/12028998/1856681