Follow these steps to create a service policy by using the Contrail Command UI.
The Network Policies page is displayed.
The Network Policy tab of the Create Network Policy page is displayed.
Select pass from the Action list.
Select ANY from the Protocol list.
Select Network from the Source Type list.
Select the test-left-VN from the Source list.
In the Source Port field, leave the default option, Any, as is.
Select < > from the Direction list.
Select Network from the Destination Type list.
Select the test-right-VNfrom the Destination list.
In the Destination Ports field, leave the default option, Any, as is.
The Network Policies page is displayed. All policies that you created are displayed in the Network Policies page.