The vmware_nsx.shell.admin.plugins.common.formatters Module¶
-
vmware_nsx.shell.admin.plugins.common.formatters.output_formatter(resource_name, resources_list, attrs)¶ Method to format the output response from NSX/Neutron.
Depending on the –fmt cli option we format the output as JSON or as a table.
-
vmware_nsx.shell.admin.plugins.common.formatters.tabulate_results(data)¶ Method to format the data in a tabular format.
Expects a list of tuple with the first tuple in the list; being treated as column headers.