384 Commits

Author SHA1 Message Date
Mikhail Efremov
4bbb11627b "Startup this interface at boot" checkbox added
Based on patch from Lenar Shakirov (snejok@).
See ALT bug #14953.
2016-03-22 17:31:11 +03:00
Mikhail Efremov
4d81dbd3ab Show interface info depending on its type
Use different output format for different interface types.
2016-03-22 16:04:41 +03:00
Mikhail Efremov
bde53153a6 Add alterator-net-bridge support 2016-03-21 21:01:07 +03:00
Mikhail Efremov
2a99dfe7fc Drop useless comment
Not so bad now.
2016-03-18 20:26:11 +03:00
Mikhail Efremov
716a0540fc Replace read_iface_slaves -> read_iface_host_var
It is replaced in the alterator-net-functions.
2016-03-18 20:26:11 +03:00
Mikhail Efremov
985acb796d Use functions from new alterator-net-functions
Drop our own functions and use functions from alterator-net-functions.
2016-03-18 17:23:54 +03:00
Mikhail Efremov
44110ce4d8 Drop debug output 2016-03-16 17:38:21 +03:00
Mikhail Efremov
855f49fd85 Drop 'interface as bridge' support
This is remnants for old support of virtual machines.
It make no sense nowaday. Bridges support should be added as separate
module later.
2016-03-16 17:38:21 +03:00
Mikhail Efremov
d457b0c170 Simplify commit_cache() a bit 2016-03-16 17:38:21 +03:00
Mikhail Efremov
02347c165f Use sort -V to sort VLAN interfaces
This makes sort output more human-readable in case of VLANs.
2016-03-15 17:47:28 +03:00
Mikhail Efremov
b1211930e6 Remove VLAN page
It was splitted in the separate alterator module
alterator-net-vlan.
2016-03-11 20:55:37 +03:00
Mikhail Efremov
4e250ccc08 4.20.2-alt1
- Fix VLAN name check.
2015-01-16 19:33:09 +03:00
Mikhail Efremov
887b961d50 Fix VLAN name check.
Apparently VLAN name's lenght can be more then 1 symbol :).
2015-01-15 21:45:34 +03:00
Mikhail Efremov
adb1c3c559 4.20.1-alt1
- Fix bond checking.
2014-12-29 21:28:53 +03:00
Mikhail Efremov
e95bb2859c Fix bond checking.
Etcnet can only use 'static' configuration for bond interface.
And check it in the write_iface() before configuration of any
interfaces will be changed.
2014-12-29 21:21:41 +03:00
Mikhail Efremov
90a185ccde 4.20.0-alt1
- Fix list_bond_cached().
- Fix read_iface_slaves_cached().
- Fix is_bond().
- Check that bond has slaves before commit.
- Make alterator-net-wifi optional.
- Slightly improve html UI.
- Check VLAN interface name.
- Check default gateway.
- Fix ifaces_have_host regexp.
- Fix DNS addresses check.
- Fix avail_controlled list getting.
- Allow create bridge for eth interfaces only.
- Add alterator-net-bond support.
2014-12-26 18:09:07 +03:00
Mikhail Efremov
3cd4f775c0 Fix list_bond_cached().
Filter out bond ifaces which marked as removed in the cache.
2014-12-26 17:06:45 +03:00
Mikhail Efremov
7001955cbe Fix read_iface_slaves_cached().
Read slaves from cached options only (if exists).
2014-12-26 16:59:33 +03:00
Mikhail Efremov
b57384325d Fix is_bond(). 2014-12-26 16:46:03 +03:00
Mikhail Efremov
6a0b8aea5e Check that bond has slaves before commit. 2014-12-25 20:56:28 +03:00
Mikhail Efremov
beb23adb23 Make alterator-net-wifi optional. 2014-12-25 18:25:51 +03:00
Mikhail Efremov
2778325d21 Slightly improve html UI. 2014-12-25 18:05:27 +03:00
Mikhail Efremov
c6944765e8 Check VLAN interface name. 2014-12-25 18:03:58 +03:00
Mikhail Efremov
a41fb33433 Check default gateway. 2014-12-25 18:03:48 +03:00
Mikhail Efremov
1f85767b3a Fix ifaces_have_host regexp. 2014-12-25 17:09:38 +03:00
Mikhail Efremov
609b157af8 Fix DNS addresses check. 2014-12-25 17:07:46 +03:00
Mikhail Efremov
213d61618b Fix avail_controlled list getting.
Always send interface name to the backend for this.
2014-12-25 16:57:22 +03:00
Mikhail Efremov
34d9d74231 Allow create bridge for eth interfaces only. 2014-12-25 16:50:16 +03:00
Mikhail Efremov
ab77cee422 Add alterator-net-bond support. 2014-12-24 21:47:53 +03:00
Mikhail Efremov
73634c04c9 4.19.3-alt1
- Fix another button name.
2014-11-26 17:08:44 +03:00
Mikhail Efremov
1e131ca31d Fix another button name.
Buttons names in the Qt interface and im the html interface
must be the same.
2014-11-26 17:04:40 +03:00
Mikhail Efremov
b1c7c8a7a7 4.19.2-alt1
- Fix button name.
2014-11-26 15:20:17 +03:00
Mikhail Efremov
a12e683b40 Fix button name.
"New" -> "Add VLAN".
2014-11-26 15:17:54 +03:00
Mikhail Efremov
4960371cc7 4.19.1-alt1
- Hide IP version selector in the Qt interface too.
2014-11-25 17:11:07 +03:00
Mikhail Efremov
4dff2230a7 Hide IP version selector in the Qt interface too.
For html interface this was implemented in the commit
8d147924f7db93aa10ef6664f783e485f3b24cff.
So do the same in the Qt interface too.
2014-11-25 17:06:55 +03:00
Mikhail Efremov
3bd4f171b0 4.19.0-alt1
- Don't allow to change hostname if ALT domain is exists.
- Use IPv4 as default.
- Fix vlan Qt interface.
- Show "Vlan" button for ethernet interfaces only.
- Don't show "Vlan " button for vlan interfaces.
- Fix "Wireless' button visibility.
- Update Qt interface for vlan.
- Hide IP version selection if IPv4 only case (by Andriy Stepanov).
- Cleanup spaces.
- Refactor web UI for VLAN configuration (by Andrey Cherepanov).
2014-11-24 20:59:42 +03:00
Mikhail Efremov
333b0a4f67 Don't allow to change hostname if ALT domain is exists. 2014-11-24 20:52:26 +03:00
Mikhail Efremov
8b1099425c Use IPv4 as default.
Assime IPv4 if not specified.
2014-11-24 19:51:43 +03:00
Mikhail Efremov
bdd63a6328 Fix vlan Qt interface.
Get "list" value once. Seems like it causes some problems
otherwise (empty string can be returned).
2014-11-24 19:44:18 +03:00
Mikhail Efremov
6f16be49b0 Show "Vlan" button for ethernet interfaces only. 2014-11-24 17:20:43 +03:00
Mikhail Efremov
ec3a2fa903 Don't show "Vlan " button for vlan interfaces. 2014-11-24 17:01:35 +03:00
Mikhail Efremov
748dabada6 Fix "Wireless' button visibility. 2014-11-24 16:52:15 +03:00
Mikhail Efremov
35960685e6 Update Qt interface for vlan.
According with changes in the html-interface.
2014-11-24 16:38:01 +03:00
Andriy Stepanov
8d147924f7 Hide IP version selection if IPv4 only case 2014-11-20 20:21:03 +03:00
Mikhail Efremov
8f189fc50f Cleanup spaces. 2014-11-20 20:16:42 +03:00
Andrey Cherepanov
008b39ec0a Refactor web UI for VLAN configuration 2014-11-20 20:03:42 +03:00
Andriy Stepanov
b4969b80b2 4.18.0-alt1
- Add VLAN for X/qt
2014-10-06 17:29:41 +04:00
Andriy Stepanov
05dc221336 VLAN for qt/x11 2014-10-06 17:27:50 +04:00
Andriy Stepanov
ded9da8455 4.17.0-alt1
- Add vlan support for Ajax version
2014-09-29 14:13:52 +04:00
Mikhail Efremov
72db2f6ece 4.16.1-alt1
- Don't show IPv6 in the list if IPv6 is disabled.
- Replace valid_ipv4() with valid_ipv4addr().
2014-08-12 21:36:22 +04:00