def do_list_organizations(self, line):
org_list = self.dcnm_client.list_organizations()<EOL>if not org_list:<EOL><INDENT>print('<STR_LIT>')<EOL>return<EOL><DEDENT>org_table = PrettyTable(['<STR_LIT>'])<EOL>for org in org_list:<EOL><INDENT>org_table.add_row([org['<STR_LIT>']])<EOL><DEDENT>print(org_table)<EOL>
Get list of organization on DCNM.