Create Network Policy
A network policy is a set of access control rules that can be attached to virtual networks. A network policy determines what traffic that is allowed or denied on the network.
Follow these steps to create a network policy by using the Contrail Command UI.
(Optional) Attach a network policy to a virtual network.
Navigate to Overlay>Virtual Networks.
The All networks page is displayed.
To select the virtual network you want to add the policy to, select the check box next to the name of the virtual network. Then click the Edit icon at the end of the row.
The Edit Virtual Network page is displayed.
Select the network policy from the Network Policies list and click Save.
The policy is now added and the All networks page is displayed.