Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

ANTFARM/General/Antfarm Commands

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Create the database (Postgres only): createdb <environment name> Resetting the tables in the database: antfarm -e <environment name> db—reset Migrating the tables in the database: antfarm -e <environment name> db—migrate If you have a file (<filename>) that has a list of known networks (a file that contains the networks, one per line, followed by a "/" and the xx or xxx.xxx.xxx.xxx netmask): antfarm load-network <filename> if you are using the default antfarm environment antfarm -e <environment name> load-network <filename> if you defined your own environment If you have a file (<filename>) that has a list of one or more hosts, one per line: antfarm load-host <filename> if you are using the default antfarm environment antfarm -e <environment name> load-host <filename> To visualize the network (static view): antfarm viz display-networks (if you are using the default antfarm environment) antfarm -e <environment name> viz display-networks (if you are using a defined environment) To visualize the network (active view): With the active view, the nodes "float" around on the page. antfarm viz display-networks—active (if you are using the default antfarm environment) antfarm -e <environment name> viz display-networks—active (if you are using a defined environment)