Code samples for the Cisco Nexus 7000 platform