QuestionQ24

Network Element Programmability

Which Python statement creates a VRF in an ACI tenant by using the Cobra SDK?

  • A Vrf(fvTenant(uniMo, 'CustA'), 'CustA_VRF')
  • B Ctx(Tenant(uniMo, 'CustA'), 'CustA_VRF')
  • C Vrf(Tenant(uniMo, 'CustA'), 'CustA_VRF')
  • D Ctx(fvTenant(uniMo, 'CustA'), 'CustA_VRF')
Explanation

ACI represents a VRF as the fvCtx managed object beneath an fvTenant. In Cobra, these map to Ctx and Tenant, respectively, so a Ctx instantiated with a tenant parent creates the VRF object.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!