Commit graph

93 commits

Author SHA1 Message Date
Jo-Philipp Wich
686de0fbec move dhcpv6 support into luci-proto-6x4, rename luci-proto-6x4 to luci-proto-ipv6 2013-01-22 10:44:28 +00:00
Jo-Philipp Wich
a4f3f52d1c New IPv6 integration 2013-01-22 10:44:16 +00:00
Jo-Philipp Wich
4fec63df9e libs/core: remove now obsolete uint() wrapper in network model 2013-01-13 21:03:28 +00:00
Jo-Philipp Wich
bb276a7c7b libs/core: use luci.template.parser.hash() instead of lmo.hash() 2012-11-25 19:18:10 +00:00
Jo-Philipp Wich
06c8c28bab libs/core: introduce get_status_by_address() in luci.model.network 2012-11-21 20:13:53 +00:00
Jo-Philipp Wich
8772db1675 libs/core: explicitely load luci.i18n in network model 2012-09-15 14:02:27 +00:00
Jo-Philipp Wich
647a0d33c3 libs/core: adapt luci.model.network for wifi-iface instances which are members of multiple networks 2012-09-15 13:10:27 +00:00
Jo-Philipp Wich
5164d55091 libs/core: remove route enabled check in network model after netifd update in OpenWrt trunk 2012-09-13 08:50:59 +00:00
Jo-Philipp Wich
044b011051 libs/core: also add gre0 to default interface ignore pattern 2012-08-17 11:39:04 +00:00
Jo-Philipp Wich
c098c59fd1 libs/core: only consider enabled routes when finding wan interface 2012-06-29 11:59:38 +00:00
Jo-Philipp Wich
0f3175ad42 libs/core: implement get_wandev(), get_wan6dev(), get_wannet() and get_wan6net() in luci.model.network 2012-06-26 22:19:27 +00:00
Jo-Philipp Wich
61883f2c3f libs/core: fix network is_empty() check for wifi-ifaces which are part of multiple networks 2012-06-26 21:49:24 +00:00
Jo-Philipp Wich
699391a559 libs/core: allow ifaces to be part of multiple networks in luci.model.network 2012-06-26 21:49:07 +00:00
Jo-Philipp Wich
5bcf9d07fd libs/core: fix various problems in the network model 2012-06-17 11:18:58 +00:00
Jo-Philipp Wich
22ce33a5a6 libs/core: fix ubus corner cases in network model 2012-05-31 17:24:13 +00:00
Jo-Philipp Wich
eb7a72f251 libs/core: use ubus to fetch interface and device status information, depend on libubus-lua 2012-05-31 10:05:31 +00:00
Jo-Philipp Wich
574eff4e8e libs/core: rework luci.model.uci.apply() to return the commandline as table, suitable for passing to nixio.exec() 2011-12-20 19:02:14 +00:00
Jo-Philipp Wich
df3ee4c199 libs/core: fix undefined tostring() in network model 2011-12-05 19:36:50 +00:00
Jo-Philipp Wich
fd130ead81 libs/core: expose txpower offset values in network model 2011-12-05 18:34:22 +00:00
Jo-Philipp Wich
cfe48c17d3 libs/core: fix removal of wifi networks without interface attached (OpenWrt #10400) 2011-11-12 11:27:10 +00:00
Jo-Philipp Wich
84cbbf3968 libs/core: fix status reporting of standalone wifi iface in network model 2011-10-28 22:36:15 +00:00
Jo-Philipp Wich
1ffe61277e move protocol support into a new protocols/ subdir 2011-10-11 02:07:15 +00:00
Jo-Philipp Wich
2c316a6aab libs/core: more fixes for network model 2011-10-11 01:14:11 +00:00
Jo-Philipp Wich
be9f5d6872 libs/core: mark relay protocol as floating 2011-10-10 18:50:42 +00:00
Jo-Philipp Wich
96846f1518 libs/core: remove uneeded error import 2011-10-09 22:04:00 +00:00
Jo-Philipp Wich
c7a95b6683 libs/core: add more heuristics to infer device name from switch name 2011-10-09 22:02:46 +00:00
Jo-Philipp Wich
ce024e350a libs/core: add luci.model.network.get_protocol(protoname[, networkname]) 2011-10-09 21:16:59 +00:00
Jo-Philipp Wich
be71f1c93a libs/core: fix bug in contains_interface() implementation of PPPoE protocol 2011-10-09 19:25:43 +00:00
Jo-Philipp Wich
1771b0c551 libs/core: rework class structure of network model, add per protocol is_installed() and opkg_package() utility functions to query availability 2011-10-04 13:32:18 +00:00
Jo-Philipp Wich
35137845dd libs/core: clean up network model, make it modular and move protocol deviations into submodules, fix recognition of pptp and properly implement relayd protocol awareness 2011-10-03 13:57:11 +00:00
Jo-Philipp Wich
a6dcb3f6a3 libs/core: more fixes in network model 2011-09-25 11:58:24 +00:00
Jo-Philipp Wich
47f011b947 libs/core: non-bridge handling fix in network model 2011-09-24 03:31:00 +00:00
Jo-Philipp Wich
9b18001b9f libs/core: add "tunnel" interface type to network model, various optimizations 2011-09-24 00:57:59 +00:00
Jo-Philipp Wich
e2a1ffb59d libs/core: various interface handling fixes in network model 2011-09-22 01:39:35 +00:00
Jo-Philipp Wich
0285631f5b libs/core: also enumerate not-yet-spawned vlan interfaces in network model, differentiate switch and vlan interfaces 2011-09-14 09:36:55 +00:00
Jo-Philipp Wich
1a221ddfb9 libs/core: fix multiple errors in zone delete handling of firewall model 2011-07-11 12:14:55 +00:00
Jo-Philipp Wich
8e5590037d libs/core: add luci.model.network.wifinet.id() 2011-03-13 17:22:52 +00:00
Jo-Philipp Wich
986d8b00a2 libs/core: add txpower() and country() to luci.model.network.wifinet 2011-03-13 17:09:26 +00:00
Jo-Philipp Wich
3b4450a58b libs/core: allow resolving of virtual interfaces via get_interface(), should fix wan status display with 6to4, 6in4 tunnels or pppoe connections 2011-03-11 23:11:34 +00:00
Jo-Philipp Wich
efcc1bfbf1 libs/core: make general network model aware of the relay pseudo bridge protocol 2011-02-26 01:34:58 +00:00
Jo-Philipp Wich
72fac8f90f libs/core: ensure that luci.model.network.network._ip() always returns a table if a list was requested 2011-02-20 14:42:35 +00:00
Jo-Philipp Wich
094e2c8c81 libs/core: use is6linklocal() 2011-02-12 19:10:17 +00:00
Jo-Philipp Wich
ce68705702 libs/core: add new convenience functions to luci.model.network 2011-02-11 04:50:56 +00:00
Jo-Philipp Wich
b818354c94 libs/core: fix lookups bridge interface -> network in luci.model.network 2011-02-06 04:12:41 +00:00
Jo-Philipp Wich
510a023d77 libs/core: reuse existing, empty networks in add_network() 2011-01-20 23:24:02 +00:00
Jo-Philipp Wich
8ee6d915ee libs/core: fix some issues in network model 2010-12-24 21:39:44 +00:00
Jo-Philipp Wich
0f9f2a42a4 libs/core: bring get_first() boolean casting in line with get_bool() 2010-12-24 21:39:26 +00:00
Manuel Munz
99881d9cb6 libs/core: Create get_first() in uci model 2010-12-12 15:01:39 +00:00
Jo-Philipp Wich
5dd3b57bbb libs/core: always use internal network ids for admin links to wifi networks (#172) 2010-12-05 03:57:29 +00:00
Jo-Philipp Wich
ea294f0b64 libs/core: ignore sit0 in network model 2010-12-05 03:21:52 +00:00