working on the interfaces page
[CBFWR.git] / doco / configs.txt
index 47d3e5b..55db8a2 100644 (file)
@@ -8,4 +8,41 @@ there are 3 areas in shared memory reserved for configuration.
 web config writes directly to 3 and messages cbrwrd about stuff.
 
 config layout is like this:
+[status] = conf|noconf|nodir|changelevel
+[hostname] = hostname
+[domainname] = domainname
+[login][username] = sha1password
+[zone][<zonename>][name]=1
+[interface][<interfacename>][desciption] = desc
+                            [name] = name
+                            [address4] = address
+                            [address6] = address
+                            [zone] = zone
+                            [mtu] = mtu
+                            [speed] = speed
+                            [duplex] = duplex
 
+
+                            
+[interface][lag][<lagname>][<x>] = interface
+                [description] = desc
+                
+[interface][bridge][<bridgename>][<x>] = interface
+                      [description]
+                      
+[route4][default|<network>][address] = gateway
+                           [device] = device
+                           [description]
+
+[route6][default|<network>][address] = gateway
+                           [device] = device
+                           [description]
+                           
+[dns][server][<x>][address] = address
+
+[ntp][server][<x>][address] = adddress
+
+[hardware][netdev][<itnerface>][name] = realname
+                               [driver] = driver
+                               [mtu] = mtu
+                               [hwaddress] = mac address
\ No newline at end of file