]> andersk Git - moira.git/blobdiff - clients/moira/menus.c
Enlarge magic constant. Fix this a better way at some point.
[moira.git] / clients / moira / menus.c
index 8e62152e85a9a700281aefb91cb162e611a55a01..22fc7e074ebcfe12cee869894b130db15818c31f 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: "},
@@ -665,6 +667,7 @@ Menu user_menu = {
       {"id", "Show user information by ID number"},
       {"ID number", "ID number: "}
     } },
+    SIMPLEFUNC("sponsor", "Lookup users by sponsor", UserBySponsor),
     {UpdateUser, NULLMENU, 2, {
       {"modify", "Change all user fields"},
       {"login", "Login name: "}
@@ -850,7 +853,7 @@ Menu container_menu = {
   NULLFUNC,
   NULLFUNC,
   "Container Menu",
-  7,
+  8,
   {
     { ShowContainerInfo, NULLMENU, 2, {
       {"show", "Get container information"},
@@ -872,6 +875,7 @@ 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.033896 seconds and 4 git commands to generate.