code: def get_networks(self, contents):
          
          schema = NetworksSchema()
          resp = self.service.post(self.base,
                                   params={'process': 'networks'}, json={'contents': contents})
          return self.service.decode(schema, resp)
docs: Process config contents with cdrouter-cli -print-networks-json.
  
          :param contents: Config contents as string.
          :return: :class:`configs.Networks <configs.Networks>` object
          :rtype: configs.Networks