VTN renderer using NIC
This section will demonstrate how VTN works using intents on an NIC project to ALLOW
or BLOCK
packets of the traffic according to the specified flow conditions.
Getting ready
Have your Mininet topology configured and the last NIC version compiled on your machine.
How to do it...
Perform the following steps:
- Start your Mininet topology with a minimum of three hosts. For this example, we will create a topology with three switches and three hosts and create an
ALLOW
rule using the VTN renderer and then, update these intents toBLOCK
all traffic between both. - Execute the Mininet topology:
--[cut]-- $ mininet@admin:~$ sudo mn -controller=remote ,ip=<controller_ip> --topo tree,2 --[cut]--
- Start
karaf
:
--[cut]-- ./karaf clean --[cut]--
- Install the NIC features:
--[cut]-- karaf> feature: install odl-nic-core-mdsal odl-nic-renderer-vtn --[cut]--
- Create the intents using the REST API:
--[cut]-- ./provision_h1_and_h2.sh <your_controller_ip> ./provision_h2_and_h3.sh <your_controller_Ip...