The element name from the line above shows that you need to use the module “vnicLanConnPolicy” to create the policy. Searching the docs will lead you to the class “ucsmsdk.mometa.vnic.VnicLanConnPolicy.VnicLanConnPolicy”