dnac_pnp.dnac_info_handler module

Information handler functions

show_pnp_device_info(dnac_configs=None, device_serial=None, show_all=False, export_path=None)

This function shows details about device(s)

Parameters
  • dnac_configs – (dict) DNA Center username/password configurations

  • device_serial – (str) Device serial number

  • show_all – (boolean) List all or show details of one

  • export_path – (str) Export file path

Returns

(stdOut) On screen output

show_site_info(dnac_configs=None, show_all=True)

This function shows a list of all available sites from DNA center

Parameters
  • dnac_configs – (dict) DNA Center username/password configurations

  • show_all – (boolean) List all or show details of one

Returns

(stdOut) On screen output

show_template_info(dnac_configs=None, template_name=None, show_all=False)

This function shows details about template(s)

Parameters
  • dnac_configs – (dict) DNA Center username/password configurations

  • template_name – (str) Name of the template

  • show_all – (boolean) List all or show details of one

Returns

(stdOut) On screen output