code: def post(method, hmc, uri, uri_parms, body, logon_required,
               wait_for_completion):
          
          assert wait_for_completion is True  # async not supported yet
          vswitch_oid = uri_parms[0]
          vswitch_uri = '/api/virtual-switches/' + vswitch_oid
          try:
              vswitch = hmc.lookup_by_uri(vswitch_uri)
          except KeyError:
              raise InvalidResourceError(method, uri)
          cpc = vswitch.manager.parent
          assert cpc.dpm_enabled
  
          connected_vnic_uris = vswitch.properties['connected-vnic-uris']
          return {'connected-vnic-uris': connected_vnic_uris}
docs: Operation: Get Connected VNICs of a Virtual Switch
          (requires DPM mode).