]> andersk Git - moira.git/commitdiff
Split "Resnet" subnet status out into Dorm and ILG statuses; this was
authorzacheiss <zacheiss>
Wed, 20 Mar 2002 04:01:00 +0000 (04:01 +0000)
committerzacheiss <zacheiss>
Wed, 20 Mar 2002 04:01:00 +0000 (04:01 +0000)
requested for billing purposes.

clients/moira/cluster.c
include/moira_site.h

index 244aa939b085e136fa13a07d3edd1048f6287aad..b7fa7b02caf3d5d3859dc3edcfab571a04c10880 100644 (file)
@@ -89,9 +89,10 @@ static char *subnet_states[] = {
   "Private, 10 Mbps (2)",
   "Private, 100 Mbps (3)",
   "Private, Other (4)",
-  "Resnet (5)",
+  "Resnet, Dorm (5)",
   "Infrastructure (6)",
-  "Private, 1000 Mbps (7)"
+  "Private, 1000 Mbps (7)",
+  "Resnet, FSILG (8)"
 };
 
 static char *MacState(int state)
@@ -110,7 +111,7 @@ static char *SubnetState(int state)
 {
   static char buf[BUFSIZ];
 
-  if (state < 0 || state > 7)
+  if (state < 0 || state > 8)
     {
       sprintf(buf, "Unknown (%d)", state);
       return buf;
index f368313a0fed37ee237cbedd8e986cec471e93df..dc11772825e888d02514cdab7e8a9957c4e0b995 100644 (file)
 #define SNET_STATUS_PRIVATE_10MBPS   2
 #define SNET_STATUS_PRIVATE_100MBPS  3
 #define SNET_STATUS_PRIVATE_OTHER    4
-#define SNET_STATUS_RESNET           5
+#define SNET_STATUS_RESNET_DORM      5
 #define SNET_STATUS_INFRASTRUCTURE   6
 #define SNET_STATUS_PRIVATE_1000MBPS 7
+#define SNET_STATUS_RESNET_FSILG     8
 
 /* User Information queries, v3 */
 
This page took 0.069468 seconds and 5 git commands to generate.