code: def do_list_organizations(self, line):
          '''Get list of organization on DCNM.'''
  
          org_list = self.dcnm_client.list_organizations()
          if not org_list:
              print('No organization found.')
              return
  
          org_table = PrettyTable(['Organization Name'])
          for org in org_list:
              org_table.add_row([org['organizationName']])
  
          print(org_tablef do_list_organizations(self, line):
          '''Get list of organization on DCNM.'''
  
          org_list = self.dcnm_client.list_organizations()
          if not org_list:
              print('No organization found.')
              return
  
          org_table = PrettyTable(['Organization Name'])
          for org in org_list:
              org_table.add_row([org['organizationName']])
  
          print(org_table)
docs: Get list of organization on DCNM.