How to Install¶
pip install networking-fujitsu
Neutron Configuration¶
Note
Please edit /etc/neutron/plugins/ml2/ml2_conf.ini as follows: Following configurations are common to all FOS switches in fossw_ips.
Add fujitsu_fossw to mechanism_drivers option.
mechanism_drivers = openvswitch,fujitsu_fossw
Both type_drivers and tenant_network_types in [ml2] section should include vlan or vxlan. (This driver supports VLAN and VXLAN of neutron network)
[ml2]
type_drivers = vlan,vxlan
tenant_network_types = vlan,vxlan
The following parameters should specify after [fujitsu_fossw].
- fossw_ips (Mandatory)
- The List of IP addresses of all FOS switches.
fossw_ips = 192.168.0.1,192.168.0.2,...
- username (Mandatory)
- The FOS switches username to use. Please note that the user must have administrator rights to configure FOS switches.
username = admin
- password (Optional)
- The FOS switches password to use.
password = admin
- port (Optional)
- The port number which is used for SSH connection. The default value is 22.
port = 22
- timeout (Optional)
- The timeout of SSH connection. The default value is 30.
timeout = 30
- udp_dest_port (Optional)
- The port number of VXLAN UDP destination on the FOS switches. All VXLANs on the switches use this UDP port as the UDP destination port in the UDP header when encapsulating. The default value is 4789.
udp_dest_port = 4789
- ovsdb_vlanid_range_min (Optional)
- The minimum VLAN ID in the range that is used for binding VNI and physical port. The range of 78 VLAN IDs (starts from this value) will be reserved. The default value is 2 (VLAN ID from 2 to 79 will be reserved).
ovsdb_vlanid_range_min = 2
Note
DO NOT include VLAN IDs specified by ovsdb_vlanid_range_min into network_vlan_ranges in /etc/neutron/plugins/ml2/ml2_conf.ini.
- ovsdb_port (Optional)
- The port number which OVSDB server on the FOS switches listen. The default value is 6640.
ovsdb_port = 6640
FOS Switch Configuration¶
The following configurations are necessary for all FOS switches in case of VXLAN network.
Enable IP routing.
configure ip routing
Enable vxlan service.
vxlan enable
Set VTEP IP address for switch side.
vxlan vtep source-ip 192.167.3.111
Set port number of VXLAN UDP destination, which is specified as udp_dest_port
vxlan udp-dst-port 4789
Set IP address for physical port which is connected to OpenStack controller node. The value of IP address equals to VTEP IP address of switch.
interface 0/10 ip address 192.167.3.111 255.255.255.0
Enable routing of the physical port.
routing
Return to Privileged EXEC mode.
end
Set port number of OVSDB server in the FOS switch, which is specified as ovsdb_port.
ovsdb ovsdb tcp port 6640
Check ovsdb_vlanid_range_min and confirm that the VLAN ID within the range from ovsdb_vlanid_range_min to ovsdb_vlanid_range_min + 77 are not defined.
show vlan
Save configurations.
copy system:running-config nvram:startup-config