This topic describes one of multiple configuration methods available with this SDN connector type. See the More Links section on the right sidebar for other methods.
- Go to Security Fabric > External Connectors.
- Click Create New, then select OpenStack (Horizon).
- Configure the fields as follows:
- Name: Name the connector as desired.
IP: Enter the OpenStack management component's IP address. Generally you can find it in the OpenStack identity.
- User name: Enter the specified node's administrator name.
- Password: Enter the administrator password.
- Click OK. The SDN connector is now configured.
The next step is to create an address that will be used as an address group or single address that acts as the source/destination for firewall policies. The address is based on IP addresses and contains VM instances' IP addresses.
No matter what changes occur to the instances, the SDN connector populates and updates the changes automatically based on the specified filtering condition so that administrators do not need to reconfigure the address content manually. Appropriate firewall policies using the address are applied to instances that are members of the address.
- Go to Policy & Objects > Address. Click Create New, then select Address.
- Configure the address as follows:
- Name: Name the address as desired.
- Type: Select Dynamic.
- Sub Type: Select Fabric Connector Address.
- SDN Connector: Select openstack.
Filter: The SDN connector automatically populates and updates only IP addresses belonging to the specified filter that matches the condition. OpenStack Horizon connectors support the following filters:
id=<instance id>: This matches a VM instance ID.
- name=<instance name>: This matches a VM instance name.
flavor=<instance flavor name>: This matches an instance flavor name.
keypair=<key pair name>: This matches a key pair name.
network=<net name>: This matches a network name.
project=<project name>: This matches a project name.
availabilityzone=<zone name>: This matches an availability zone name.
servergroup=<group name>: This matches a server group name.
securitygroup=<security group name>: This matches a security group name.
metadata.<key>=<value>: This matches metadata with its key and value pair.
You can set filtering conditions using multiple entries with AND ("&") or OR ("|"). When both AND and OR are specified, AND is interpreted first, then OR.
For example, you could enter
flavor=m1.nano&project=admin. In this case, IP addresses of instances that match both the flavor name and project name are populated. Wildcards (asterisks) are not allowed in values.
In this example, let's use project=admin, assuming the project name is admin.
- Click OK after completing all required fields.
- Ensure that the address was created.
- After a few minutes, the new address takes effect. Hover your cursor on the address to see a list of IP addresses and instances with the project name "admin".