This identifies packets that enter the network, but do not match an existing flow. The application determines whether the source and destination are on the same virtual network; if so, the application signals the controller to continue the flow creation. This filter is in fact a simple layer 2 (MAC)-based network virtualization, which enables users to create multiple logical layer 2 networks in a single layer 2 domain.
Important points:
- Enabling the VNK requires starting the Floodlight controller with quantum.properties instead of floodlight.default.properties.
- Enabling the VNF using curl can be achieved using the following command:
curl -X PUT -d '{ "network": { "gateway": "20.0.0.1",
"name": "DemoNetwork" } }'
http://localhost:8080/networkService/v1.1/tenants
/default/networks/DemoNetwork1
- For the virtual network:
- Name: DemoNetwork
- ID: DemoNetwork1
- Gateway: 20.0.0.1
- Tenant: default
- Adding a host to the preceding named network DemoNetwork is done using the following command:
curl -X PUT -d '{"attachment": {"id": "DemoNetwork",
"mac":"00:00:00:00:00:A2"}}'
http://localhost:8080/networkService/v1.1/tenants/default/
networks/DemoNetwork1/ports/port10/attachment
- The host settings are:
- MAC address: 00:00:00:00:00:A2
- Port: port10