QuestionQ37

VerifiedNetwork Element Programmability

Refer to the exhibit.

Question Image

The code must create a new tenant named Cisco through the Cobra SDK so that it appears in the APIC dashboard after this script runs. Which code must be inserted into the red box to create the tenant?

Explanation

A Cobra managed object is created beneath its parent managed object. Tenant(topMo, name='Cisco') instantiates the fvTenant object under the Uni root and assigns its required name attribute. Adding that object to the configuration request and committing it creates the tenant in APIC.

Learn more

Community Discussion

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