QuestionQ15

Network Element Programmability

Refer to the exhibit.

Question Image

Which modification enables the code to configure VLAN 10 in Cisco UCS?

  • A Lines 8 and 9 should have a line continuation \ at the end.
  • B Line 13 should include "handle.commit()".
  • C Line 4 should include transport 443 option.
  • D Line 3 should add an import for query_dn.
Explanation

Cisco UCS Python SDK operations such as add_mo() are batched in a transaction. handle.commit() sends the staged FabricVlan managed object to UCS Manager, creating the VLAN configuration.

Learn more

Community Discussion

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