]> andersk Git - moira.git/blobdiff - clients/moira/menus.c
Add support for get_host_by_account_number query.
[moira.git] / clients / moira / menus.c
index 03c5df209c0a9b8a265444f54db8f2cd2985f4cd..32cfad2501ac5bd789ac5aca1909340d57bed354 100644 (file)
@@ -510,7 +510,7 @@ Menu machine_menu = {
   NULLFUNC,
   NULLFUNC,
   "Machine Menu",
-  8,
+  9,
   {
     { ShowMachineInfo, NULLMENU, 2, {
       {"show", "Get machine information"},
@@ -524,6 +524,8 @@ Menu machine_menu = {
       {"network", "Network (or leave empty to match any): "}
     } },
     SIMPLEFUNC("owner", "Lookup machines by owner", MachineByOwner),
+    SIMPLEFUNC("acctnumber", "Lookup machines by account number",
+              MachineByAcctNumber),
     { AddMachine, NULLMENU, 2, {
       {"add", "Add a new machine"},
       {"network", "Network assignment: "},
@@ -850,7 +852,7 @@ Menu container_menu = {
   NULLFUNC,
   NULLFUNC,
   "Container Menu",
-  8,
+  7,
   {
     { ShowContainerInfo, NULLMENU, 2, {
       {"show", "Get container information"},
@@ -872,7 +874,6 @@ Menu container_menu = {
       {"subcont", "Get subcontainers of container"},
       {"name", "Container's Name: "}
     } },
-    SIMPLEFUNC("toplevel", "Get all top level containers", GetTopLevelCont),
     SUBMENU("mappings", "Machine to Container Mappings Menu", &cmappings_menu),
     SIMPLEFUNC("verbose", "Toggle Verbosity of Delete", ToggleVerboseMode)
   }
This page took 0.085206 seconds and 4 git commands to generate.