cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
469
Views
5
Helpful
0
Replies

Writing your own policy for DCNM

k.shcherbatykh
Level 1
Level 1

Hi All,


I need some advise on a DCNM policy.

I am setting up a Dcnm controlled VXLAN fabric.

Inside the factory, route-leaking between different L3VNIs is actively used.
Now, when placing L3VNI on a leaf switch, the required configuration lines are added via "Free form config".
Everything works fine.
Configuration example:

 

vrf context bl-110-vrf
vni 50110
rd auto
address-family ipv4 unicast
route-target both auto
route-target both auto evpn
route-target import 10:1
route-target import 10:1 evpn
route-target export 20:1
route-target export 20:1 evpn


The problem is that the route-target export / import settings should be the same on all VRF instances on different switches.
I would like to add my policy to DCNM, which will distribute uniform settings within one VRF.
How to write the generation of configuration lines in policy is clear. The cli template language is described in sufficient detail.

The question is how to add policy in such a way that DCNM itself binds the policy instance to the VRFs.
The desired behavior should be similar to the default policy "Default_VRF_Universal".

Is it possible to do this within DCNM?
Are there some examples of writing your own policy for DCNM?

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: