racktables
7 years agor4910 APCPowerSwitch::getPorts () - change snmpwalk call to snmpwalkoid, fixes #504
Aaron Dummer [Mon, 16 Jan 2012 15:51:07 +0000 (15:51 +0000)] 
r4910 APCPowerSwitch::getPorts () - change snmpwalk call to snmpwalkoid, fixes #504

7 years agor4909 make APC classes adhere to RT coding style in preparation for work on #504
Aaron Dummer [Mon, 16 Jan 2012 15:37:04 +0000 (15:37 +0000)] 
r4909 make APC classes adhere to RT coding style in preparation for work on #504

7 years agor4908 IPv4 holes feature was refactored.
Alexey Andriyanov [Mon, 16 Jan 2012 15:01:22 +0000 (15:01 +0000)] 
r4908 IPv4 holes feature was refactored.
New ipv4net auto-tag '$aggregate'.

listCells, spotEntity: atags calculation must be done after filling all the data in cells.
generateEntityAutoTags: new auto-tag $aggregate, $holes_ tags are now generated here, too.
produceIPv4HoleTags: renamed to fillIPv4NetsCorrelation. It does not set tags any more.
setIPv4HoleTags: renamed to fillIPv4SpareList. It does not set tags any more, and does not return value.
getBinaryZeroes: removed function called only once
isIPv4NetNested: idem

7 years agor4907 API: new field in 'ipv4net' entities: 'spare_ranges'. It lists all network...
Alexey Andriyanov [Mon, 16 Jan 2012 14:03:19 +0000 (14:03 +0000)] 
r4907 API: new field in 'ipv4net' entities: 'spare_ranges'. It lists all network subranges which are not allocated

spotEntity: new key 'spare_ranges' in ipv4net entities
listCells: idem
setIPv4HoleTags: fills the spare_ranges array
produceIPv4HoleTags: return value added

7 years agor4906 bugfix: hole autotags ip v4 nets were not working appopriately
Alexey Andriyanov [Mon, 16 Jan 2012 09:29:48 +0000 (09:29 +0000)] 
r4906 bugfix: hole autotags ip v4 nets were not working appopriately

produceIPv4HoleTags was fixed

7 years agor4905 - LivePTR now ignores auto-reserved network & broadcast addresses (#425)
Aaron Dummer [Mon, 16 Jan 2012 06:07:14 +0000 (06:07 +0000)] 
r4905 - LivePTR now ignores auto-reserved network & broadcast addresses (#425)
- also fixed a bug in trunk (addresses were not being reserved when adding networks)

7 years agor4904 add SNMP support for ProCurve J9086A/J9087A (#501)
Aaron Dummer [Sat, 14 Jan 2012 17:59:10 +0000 (17:59 +0000)] 
r4904 add SNMP support for ProCurve J9086A/J9087A (#501)

7 years agor4903 add SNMP support for ProCurve 2650 (#503)
Aaron Dummer [Sat, 14 Jan 2012 17:35:09 +0000 (17:35 +0000)] 
r4903 add SNMP support for ProCurve 2650 (#503)

7 years agor4902 renderRow: vertically position racks to the bottom of the row instead of the...
Aaron Dummer [Fri, 13 Jan 2012 04:03:25 +0000 (04:03 +0000)] 
r4902 renderRow: vertically position racks to the bottom of the row instead of the center (#469)

7 years agor4901 change the VIRTUAL_OBJ_LISTSRC Config setting to be a CSV list instead of a...
Aaron Dummer [Thu, 12 Jan 2012 16:17:24 +0000 (16:17 +0000)] 
r4901 change the VIRTUAL_OBJ_LISTSRC Config setting to be a CSV list instead of a RackCode string

7 years agor4900 bugfix: it was impossible to rename non-linked port
Alexey Andriyanov [Thu, 12 Jan 2012 10:17:05 +0000 (10:17 +0000)] 
r4900 bugfix: it was impossible to rename non-linked port

editPortForObject: 'cable' parameter is not mandatory

editPortForObject

7 years agor4899 add missing values for AttributeValue.object_tid in demo data
Denis Ovsienko [Wed, 11 Jan 2012 21:30:40 +0000 (21:30 +0000)] 
r4899 add missing values for AttributeValue.object_tid in demo data

7 years agor4897 Fix #500 in trunk
Jonathan Thurman [Wed, 11 Jan 2012 03:26:33 +0000 (03:26 +0000)] 
r4897 Fix #500 in trunk

7 years agor4895 bugfix: commit #4893 caused inability to set attributes in CLI scripts
Alexey Andriyanov [Sat, 7 Jan 2012 06:51:16 +0000 (06:51 +0000)] 
r4895 bugfix: commit #4893 caused inability to set attributes in CLI scripts

commitUpdateAttrValue: getBypassValue call switched to $object_id var

7 years agor4894 finish OIF ID cleanup started in 0.19.9
Denis Ovsienko [Wed, 4 Jan 2012 23:45:47 +0000 (23:45 +0000)] 
r4894 finish OIF ID cleanup started in 0.19.9

7 years agor4893 Address the foreign key issue with AttributeValue table (no bug ID,
Denis Ovsienko [Tue, 3 Jan 2012 17:37:37 +0000 (17:37 +0000)] 
r4893 Address the foreign key issue with AttributeValue table (no bug ID,
issue discussed on the mailing list). MySQL documentation explains:

"The handling of foreign key references to nonunique keys or keys that
contain NULL values is not well defined for operations such as UPDATE
or DELETE CASCADE. You are advised to use foreign keys that reference
only UNIQUE and NOT NULL keys."

In particular, AttributeValue.attr_id referencing AttributeMap.attr_id
was wrong in this regard (rev 4674, release 0.19.7). Referencing the
unique (type_id, attr_id) tuple is the right solution, although this
requires a copy of object type ID in the AttributeValue table. This
commit implements the required changes.

7 years agor4892 create RackObject view using explicit list of columns to avoid possible side...
Denis Ovsienko [Tue, 3 Jan 2012 13:21:07 +0000 (13:21 +0000)] 
r4892 create RackObject view using explicit list of columns to avoid possible side effects

7 years agor4891 bugfix: huge perfomance problem caused by commit #4874 was fixed
Alexey Andriyanov [Mon, 2 Jan 2012 18:22:00 +0000 (18:22 +0000)] 
r4891 bugfix: huge perfomance problem caused by commit #4874 was fixed

changed functions: spotEntity, listCells
new key added to EntityLink table

7 years agor4890 list WS-C2950T-24 (ticket #493)
Denis Ovsienko [Sun, 1 Jan 2012 17:59:42 +0000 (17:59 +0000)] 
r4890 list WS-C2950T-24 (ticket #493)

7 years agor4889 list WS-C3508G-XL (ticket #492)
Denis Ovsienko [Sun, 1 Jan 2012 17:41:27 +0000 (17:41 +0000)] 
r4889 list WS-C3508G-XL (ticket #492)

7 years agor4888 string_insert_hrefs(): links which include username/password weren't parsed...
Aaron Dummer [Sun, 1 Jan 2012 06:39:44 +0000 (06:39 +0000)] 
r4888 string_insert_hrefs(): links which include username/password weren't parsed correctly (#400)

7 years agor4887 COPYING: updated copyright (happy new year)
Aaron Dummer [Sun, 1 Jan 2012 02:56:28 +0000 (02:56 +0000)] 
r4887 COPYING: updated copyright (happy new year)

7 years agor4886 change display name of unnamed objects to "[$objtype]" (#487)
Aaron Dummer [Sun, 1 Jan 2012 02:51:40 +0000 (02:51 +0000)] 
r4886 change display name of unnamed objects to "[$objtype]" (#487)

7 years agor4885 SNMP support for Fortinet Fortigate 310B (#374)
Aaron Dummer [Sun, 1 Jan 2012 02:28:07 +0000 (02:28 +0000)] 
r4885 SNMP support for Fortinet Fortigate 310B (#374)

7 years agor4884 add dictionary entries for WS-C2960-48TC-L, VMware ESXi 5.0
Aaron Dummer [Sun, 1 Jan 2012 02:06:10 +0000 (02:06 +0000)] 
r4884 add dictionary entries for WS-C2960-48TC-L, VMware ESXi 5.0

7 years agor4883 allow duplicate 'router' IP assignments without warning to accommodate VRRP...
Aaron Dummer [Sun, 1 Jan 2012 01:54:16 +0000 (01:54 +0000)] 
r4883 allow duplicate 'router' IP assignments without warning to accommodate VRRP (#419, by Tyler J. Wagner)

7 years agor4881 SNMP support for WS-C2960-48TC-L (#499)
Aaron Dummer [Sun, 1 Jan 2012 01:28:22 +0000 (01:28 +0000)] 
r4881 SNMP support for WS-C2960-48TC-L (#499)

7 years agor4879 vertically position racks to the bottom of the row instead of the center (...
Aaron Dummer [Sun, 1 Jan 2012 01:18:27 +0000 (01:18 +0000)] 
r4879 vertically position racks to the bottom of the row instead of the center (#469)

7 years agor4877 ability to change cable ID without deleting & re-adding the link (#457)
Aaron Dummer [Sat, 31 Dec 2011 05:21:52 +0000 (05:21 +0000)] 
r4877 ability to change cable ID without deleting & re-adding the link (#457)

7 years agor4875 added an 'Uncheck all' button to the rackspace allocation page (#490)
Aaron Dummer [Sat, 31 Dec 2011 02:18:53 +0000 (02:18 +0000)] 
r4875 added an 'Uncheck all' button to the rackspace allocation page (#490)

7 years agor4874 when an object is contained within another, display the parent's rackspace...
Aaron Dummer [Sat, 31 Dec 2011 01:12:33 +0000 (01:12 +0000)] 
r4874 when an object is contained within another, display the parent's rackspace allocation info when viewing the child (#432)
added the 'Slot number' attribute to object types which may be mounted in a blade chassis (#474)

7 years agor4871 list of virtual object types is now maintained as a Config setting (#488)
Aaron Dummer [Fri, 30 Dec 2011 23:59:35 +0000 (23:59 +0000)] 
r4871 list of virtual object types is now maintained as a Config setting (#488)

7 years agor4870 added reference to #498 even though trunk wasn't affected by it
Aaron Dummer [Fri, 30 Dec 2011 05:26:35 +0000 (05:26 +0000)] 
r4870 added reference to #498 even though trunk wasn't affected by it

7 years agor4868 fix IPv4RS sample data
Aaron Dummer [Fri, 30 Dec 2011 04:34:44 +0000 (04:34 +0000)] 
r4868 fix IPv4RS sample data

7 years agor4867 API: added hooks to override text in IP allocations names and port labels.
Alexey Andriyanov [Wed, 21 Dec 2011 16:24:28 +0000 (16:24 +0000)] 
r4867 API: added hooks to override text in IP allocations names and port labels.

renderObjectPortRow: new hook function
renderObject: moved some code to renderObjectPortRow
getRenderedAlloc: new result field 'td_name_suffix'
renderObject: call to getRenderedAlloc became a hook call
renderIPTabForObject: idem
renderIPTabForObject: made using of 'td_name_suffix' key of renderedAlloc

7 years agor4866 list WS-C2960S-24PS-L (ticket #491)
Denis Ovsienko [Wed, 14 Dec 2011 17:50:36 +0000 (17:50 +0000)] 
r4866 list WS-C2960S-24PS-L (ticket #491)

7 years agor4865 makeHrefProcess: now it does not necesary to pass bypass parameter values in...
Alexey Andriyanov [Tue, 13 Dec 2011 15:30:31 +0000 (15:30 +0000)] 
r4865 makeHrefProcess: now it does not necesary to pass bypass parameter values in $params

7 years agor4864 renderIPNewNetForm: bugfix: addslashes was called 2 times
Alexey Andriyanov [Fri, 9 Dec 2011 12:48:23 +0000 (12:48 +0000)] 
r4864 renderIPNewNetForm: bugfix: addslashes was called 2 times

7 years agor4863 release notes about new delete operations locations
Alexey Andriyanov [Fri, 9 Dec 2011 12:37:05 +0000 (12:37 +0000)] 
r4863 release notes about new delete operations locations

7 years agor4862 update: ability to delete IP prefixes from within its properties tab
Alexey Andriyanov [Fri, 9 Dec 2011 12:32:15 +0000 (12:32 +0000)] 
r4862 update: ability to delete IP prefixes from within its properties tab
update: adding and deleting forms of IP prefixes are separated

delIPv4Prefix: made using of isIPNetworkEmpty
delIPv6Prefix: idem
navigation.php: new tab ipv[46]space-manage, ops (add|del)IPv[46]Prefix renamed to add|del
renderIPv4SpaceEditor: splitted into renderIPv4SpaceEditor and renderIPNewNetForm
renderIPv6SpaceEditor: idem
renderEditVlan: made using new function getOpLink
getOpLink: new interface-lib function to render an operation html-link with icon
isIPNetworkEmpty: new function to check if network does not contain meaningful allocations

7 years agor4861 bugfix: generic exception formatting was throwing PHP warnings
Alexey Andriyanov [Wed, 7 Dec 2011 08:17:54 +0000 (08:17 +0000)] 
r4861 bugfix: generic exception formatting was throwing PHP warnings

7 years agor4860 markupIPAddrList: mark SLB real servers' IPs as busy
Alexey Andriyanov [Mon, 5 Dec 2011 15:36:29 +0000 (15:36 +0000)] 
r4860 markupIPAddrList: mark SLB real servers' IPs as busy

7 years agor4859 bugfix: fetchIPv6AddressNetworkRow: return value was broken
Alexey Andriyanov [Wed, 30 Nov 2011 10:26:42 +0000 (10:26 +0000)] 
r4859 bugfix: fetchIPv6AddressNetworkRow: return value was broken

7 years agor4858 API change:
Alexey Andriyanov [Wed, 30 Nov 2011 09:14:25 +0000 (09:14 +0000)] 
r4858 API change:
getIPv4AddressNetworkId and getIPv6AddressNetworkId are now wrappers around fetchIPv4AddressNetworkRow and fetchIPv6AddressNetworkRow, respectively.
This allows e.g. to quickly find mask of the smallest spanning IP network

7 years agor4857 SLBTriplet::generateConfig: ability to put comments in front of RS
Alexey Andriyanov [Tue, 29 Nov 2011 12:29:45 +0000 (12:29 +0000)] 
r4857 SLBTriplet::generateConfig: ability to put comments in front of RS
export of RS comment field as RS_COMMENT macro

7 years agor4856 SLBTriplet::generateConfig: fixed generation of RS-header in fwmark- services.
Alexey Andriyanov [Tue, 22 Nov 2011 10:24:42 +0000 (10:24 +0000)] 
r4856 SLBTriplet::generateConfig: fixed generation of RS-header in fwmark- services.

7 years agor4855 addVService: do not throw exception if vport is not specified in fwmark VS
Alexey Andriyanov [Tue, 22 Nov 2011 10:02:05 +0000 (10:02 +0000)] 
r4855 addVService: do not throw exception if vport is not specified in fwmark VS

7 years agor4854 proxyStaticURI: PHP notice was fixed
Alexey Andriyanov [Sat, 12 Nov 2011 09:59:33 +0000 (09:59 +0000)] 
r4854 proxyStaticURI: PHP notice was fixed

7 years agor4853 bugfix: proxyStaticURI
Alexey Andriyanov [Thu, 10 Nov 2011 11:24:15 +0000 (11:24 +0000)] 
r4853 bugfix: proxyStaticURI

7 years agor4852 ability to customize File page in plugins.
Alexey Andriyanov [Thu, 10 Nov 2011 10:37:11 +0000 (10:37 +0000)] 
r4852 ability to customize File page in plugins.

renderFile was splitted between renderFile, renderFileSummary, renderFileLinks, renderFilePreview.
new hooks technique was used to call new rendering functions.

7 years agor4851 callHook: ability to call abstract hooks, which are not implemented by default
Alexey Andriyanov [Thu, 10 Nov 2011 10:34:32 +0000 (10:34 +0000)] 
r4851 callHook: ability to call abstract hooks, which are not implemented by default

7 years agor4850 update: API: you can selectively override the default static content by specify...
Alexey Andriyanov [Thu, 10 Nov 2011 10:28:59 +0000 (10:28 +0000)] 
r4850 update: API: you can selectively override the default static content by specifying the $local_staticdir global var

proxyStaticURI: consider both $local_staticdir, $racktables_staticdir

7 years agor4849 bugfix: Could not delete objects' log entries
Alexey Andriyanov [Wed, 9 Nov 2011 11:28:42 +0000 (11:28 +0000)] 
r4849 bugfix: Could not delete objects' log entries
tableHandler control array: typo in request parameter's name

7 years agor4847 renderObject, renderRackObject: bug with displaying of parent and child contain...
Alexey Andriyanov [Thu, 3 Nov 2011 10:49:54 +0000 (10:49 +0000)] 
r4847 renderObject, renderRackObject: bug with displaying of parent and child container racks was fixed

7 years agor4846 initial fwmark support in SLB
Alexey Andriyanov [Wed, 2 Nov 2011 17:25:41 +0000 (17:25 +0000)] 
r4846 initial fwmark support in SLB

$SQLSchema: dname calculation for ipv4vs changed
generateEntityAutoTags: new autotags $type_* for ipv4vs
genericAssertion: use vs_proto global array
renderVSListEditForm: idem
renderEditVService: idem
SLBTriplet::generateConfig: new built-in macros VS_HEADER, MACRO

7 years agor4845 checkPIC: attempt to speed up the SNMP sync procedure
Alexey Andriyanov [Mon, 31 Oct 2011 15:55:34 +0000 (15:55 +0000)] 
r4845 checkPIC: attempt to speed up the SNMP sync procedure

7 years agor4844 added SNMP support for Cisco WS-C2960-24TC-S, WS-C2960G-24TS-S, WS-C2960G-48TC...
Alexey Andriyanov [Mon, 31 Oct 2011 15:53:35 +0000 (15:53 +0000)] 
r4844 added SNMP support for Cisco WS-C2960-24TC-S, WS-C2960G-24TS-S, WS-C2960G-48TC-L, Huawei S5352C-EI, S5328C-EI

7 years agor4843 fix port naming for stackable Netgear switches
Denis Ovsienko [Thu, 27 Oct 2011 11:53:04 +0000 (11:53 +0000)] 
r4843 fix port naming for stackable Netgear switches

7 years agor4842 list WS-C3548-XL (ticket #485)
Denis Ovsienko [Wed, 26 Oct 2011 17:12:19 +0000 (17:12 +0000)] 
r4842 list WS-C3548-XL (ticket #485)

7 years agor4841 list WS-C2924-XL (ticket #486)
Denis Ovsienko [Wed, 26 Oct 2011 12:35:53 +0000 (12:35 +0000)] 
r4841 list WS-C2924-XL (ticket #486)

7 years agor4839 need to grab the download size if we have to authenticate
Jonathan Thurman [Wed, 26 Oct 2011 03:00:43 +0000 (03:00 +0000)] 
r4839 need to grab the download size if we have to authenticate

7 years agor4838 Cacti integration improvements (part of #466)
Jonathan Thurman [Wed, 26 Oct 2011 02:54:29 +0000 (02:54 +0000)] 
r4838 Cacti integration improvements (part of #466)

7 years agor4837 list WS-C2360-48TD
Denis Ovsienko [Fri, 21 Oct 2011 11:36:49 +0000 (11:36 +0000)] 
r4837 list WS-C2360-48TD

7 years agor4836 Add some Netgear-related fixes after a run on the real hardware.
Denis Ovsienko [Thu, 20 Oct 2011 21:19:24 +0000 (21:19 +0000)] 
r4836 Add some Netgear-related fixes after a run on the real hardware.

doSwitchSNMPmining(): allow colon(s) in ifDescr, adjust OID matching

7 years agor4835 bugfix: IP address reservation release on allocation works again
Alexey Andriyanov [Wed, 19 Oct 2011 14:29:57 +0000 (14:29 +0000)] 
r4835 bugfix: IP address reservation release on allocation works again

changed: bindIpToObject, bindIPv6ToObject

7 years agor4833 more pre-release changes
Denis Ovsienko [Mon, 17 Oct 2011 12:40:30 +0000 (12:40 +0000)] 
r4833 more pre-release changes

7 years agor4832 pre-release changes
Denis Ovsienko [Mon, 17 Oct 2011 12:29:01 +0000 (12:29 +0000)] 
r4832 pre-release changes

7 years agor4831 This update is not Nexus-specific any more.
Denis Ovsienko [Mon, 17 Oct 2011 12:06:49 +0000 (12:06 +0000)] 
r4831 This update is not Nexus-specific any more.

7 years agor4830 Add extra input for the (optional) MySQL port number and use it in DSN,
Denis Ovsienko [Sun, 16 Oct 2011 16:36:33 +0000 (16:36 +0000)] 
r4830 Add extra input for the (optional) MySQL port number and use it in DSN,
if it is not 3306.

7 years agor4829 add necessary PortCompat record
Denis Ovsienko [Sun, 16 Oct 2011 14:31:40 +0000 (14:31 +0000)] 
r4829 add necessary PortCompat record

7 years agor4828 list HP GbE2c (ticket #470)
Denis Ovsienko [Sun, 16 Oct 2011 14:06:43 +0000 (14:06 +0000)] 
r4828 list HP GbE2c (ticket #470)

7 years agor4827 list J9148A (ticket #482)
Denis Ovsienko [Fri, 14 Oct 2011 10:33:51 +0000 (10:33 +0000)] 
r4827 list J9148A (ticket #482)

7 years agor4826 list GSM7224v2 (ticket #481)
Denis Ovsienko [Fri, 14 Oct 2011 00:12:48 +0000 (00:12 +0000)] 
r4826 list GSM7224v2 (ticket #481)

7 years agor4825 list FSM7328S (ticket #478)
Denis Ovsienko [Thu, 13 Oct 2011 23:53:44 +0000 (23:53 +0000)] 
r4825 list FSM7328S (ticket #478)

7 years agor4824 list GSM7212 (ticket #477)
Denis Ovsienko [Thu, 13 Oct 2011 23:37:09 +0000 (23:37 +0000)] 
r4824 list GSM7212 (ticket #477)

7 years agor4823 bugfix: rspool clone feature lacked of copying tags
Alexey Andriyanov [Tue, 11 Oct 2011 08:37:49 +0000 (08:37 +0000)] 
r4823 bugfix: rspool clone feature lacked of copying tags

7 years agor4822 new interface feature: cloning of RS pools
Alexey Andriyanov [Tue, 11 Oct 2011 08:18:17 +0000 (08:18 +0000)] 
r4822 new interface feature: cloning of RS pools
cloneRSPool: new ophandler
renderEditRSPool: clone button added
commitCreateRSPool: now returns the ID of newly created pool

7 years agor4821 bugfix: trunk SLB data structures are different from maintenance
Alexey Andriyanov [Tue, 11 Oct 2011 07:43:25 +0000 (07:43 +0000)] 
r4821 bugfix: trunk SLB data structures are different from maintenance
code duplication removed in renderIPv4SpaceEditor

7 years agor4820 bugfix: VLANS named with quotes were breaking vlan selectboxes
Alexey Andriyanov [Tue, 11 Oct 2011 07:35:59 +0000 (07:35 +0000)] 
r4820 bugfix: VLANS named with quotes were breaking vlan selectboxes

getOptionTree: added quote caharacter escaping code

7 years agor4819 delIPv4Prefix(): remove autorecords silently
Denis Ovsienko [Sun, 9 Oct 2011 13:37:22 +0000 (13:37 +0000)] 
r4819 delIPv4Prefix(): remove autorecords silently
renderIPv4SpaceEditor(): still count autorecords, but decide without them

7 years agor4818 list GSM7224R (ticket #476)
Denis Ovsienko [Sat, 8 Oct 2011 19:02:55 +0000 (19:02 +0000)] 
r4818 list GSM7224R (ticket #476)

7 years agor4817 list GSM7328Sv2 (ticket #475)
Denis Ovsienko [Sat, 8 Oct 2011 18:51:56 +0000 (18:51 +0000)] 
r4817 list GSM7328Sv2 (ticket #475)

7 years agor4816 list HP J9148A (ticket #472)
Denis Ovsienko [Sat, 8 Oct 2011 18:21:51 +0000 (18:21 +0000)] 
r4816 list HP J9148A (ticket #472)

7 years agor4815 commitAddFile(): perform one-time input MIME type mapping
Denis Ovsienko [Sat, 8 Oct 2011 17:53:40 +0000 (17:53 +0000)] 
r4815 commitAddFile(): perform one-time input MIME type mapping

7 years agor4814 removed unused exception class RTBuildLVSConfigError
Alexey Andriyanov [Tue, 4 Oct 2011 15:08:56 +0000 (15:08 +0000)] 
r4814 removed unused exception class RTBuildLVSConfigError
renderLVSConfig was simplified (catch block removed)

7 years agor4813 bugfix: when long action takes place, RackTables allows user to work simultaneo...
Alexey Andriyanov [Tue, 4 Oct 2011 15:06:24 +0000 (15:06 +0000)] 
r4813 bugfix: when long action takes place, RackTables allows user to work simultaneously in different tabs

init.php: unconditional session_start was removed
buildRedirectURL: the function was moved to functions.php and merged with redirectUser.
updVSTRule: added session_start in order to use PHP sessions engine
renderVSTRulesEditor: idem
getCellFilter: idem
showMessageOrError: display merged list of messaged (from session and from log_messages array)
redirectIfNecessary: remember last tab code moved here from index.php
redirectUser: func prototype changed, also backs up global $log_messages into _SESSION.
showOneLiner: use global $log_messages instead of _SESSION.
getMessagesCount: idem

7 years agor4812 -getSLBRelatedIPs: not needed any more
Alexey Andriyanov [Tue, 4 Oct 2011 07:06:58 +0000 (07:06 +0000)] 
r4812 -getSLBRelatedIPs: not needed any more
markupIPAddrList: mark VS- and RSPool-related IPs as trbusy
constructIPv4Address: no more 'rslist' and 'lblist' structures, but 'vslist' and 'rsplist' arrays added
scanIPv4Space: idem
updateV4Address: removed the misleading default value of first argument ($ip = 0)
renderIPv4Network: use new address markup arrays instead of getSLBRelatedIPs
renderIPAddress: display related VS and RSPools in separate portlet
--Ihis line, and those below, will be ignored--

M    trunk/wwwroot/inc/interface.php
M    trunk/wwwroot/inc/database.php
M    trunk/wwwroot/inc/functions.php
M    trunk/wwwroot/inc/slb.php

7 years agor4811 the displaying of SLB info in IPv4Network changed. Now the VS names are display...
Alexey Andriyanov [Mon, 3 Oct 2011 11:03:38 +0000 (11:03 +0000)] 
r4811 the displaying of SLB info in IPv4Network changed. Now the VS names are displayed instead of triplets.

renderIPv4Network: use new getSLBRelatedIPs
+getSLBRelatedIPs: new DB function to find VS and RSPools in IP range

7 years agor4810 SLBTriplet::generateConfig: the order of text blocks concatenation was changed...
Alexey Andriyanov [Mon, 3 Oct 2011 11:00:36 +0000 (11:00 +0000)] 
r4810 SLBTriplet::generateConfig: the order of text blocks concatenation was changed to be equal to the order of defines overriding.

7 years agor4809 ability to extend format list for bulk real server add
Alexey Andriyanov [Fri, 30 Sep 2011 10:23:27 +0000 (10:23 +0000)] 
r4809 ability to extend format list for bulk real server add

renderRSPoolServerForm: made using new hook getBulkRealsFormats
getBulkRealsFormats: new hook returning formats array
addRStoRSPool: now returns added row count

7 years agor4808 queryTerminal: use netcat if device breed is unknown
Alexey Andriyanov [Fri, 30 Sep 2011 09:13:57 +0000 (09:13 +0000)] 
r4808 queryTerminal: use netcat if device breed is unknown

7 years agor4807 new API for redefining internal RackTables functions.
Alexey Andriyanov [Fri, 30 Sep 2011 06:53:55 +0000 (06:53 +0000)] 
r4807 new API for redefining internal RackTables functions.
Ability to redefine RealServers table in RSPool page

new $hook global array
callHook: new API function which the developers should use to give users ability to override the operation
renderRSPool: use prepareRealServersTable hook instead of getRSDisplayColumns function
getRSDisplayColumns was renamed into prepareRealServersTable. The result format also changed

7 years agor4806 * New field 'comment' for RealServer items
Alexey Andriyanov [Wed, 28 Sep 2011 11:20:56 +0000 (11:20 +0000)] 
r4806 * New field 'comment' for RealServer items
* Forms for adding new RS and manage existing RS were merged together
* If all of the RS in RSPool have a field empty, the corresponding col is not displayed in RS table
* new RS form parameter 'remoteip' renamed to 'rsip'

addRealServer: handling of 'comment' field
updateRealServer: idem
addRStoRSPool: idem
commitUpdateRS: idem
getRSListInPool: idem
renderRSPool: made using getRSDisplayColumns
+getRSDisplayColumns: If all of the RS in RSPool have a field empty, the corresponding col is not displayed in RS table
renderRSPoolServerForm: Forms for adding new RS and manage existing RS were merged together
update.php, install.php: DB schema changed (new RS field 'comment')

7 years agor4805 bugfix: ability to specify 'telnet' protocol for ios12 devices without specifyi...
Alexey Andriyanov [Wed, 28 Sep 2011 09:34:54 +0000 (09:34 +0000)] 
r4805 bugfix: ability to specify 'telnet' protocol for ios12 devices without specifying prompt

queryTerminal was changed

7 years agor4804 code style clearance in IPv6Address::getArpa()
Alexey Andriyanov [Tue, 27 Sep 2011 19:40:46 +0000 (19:40 +0000)] 
r4804 code style clearance in IPv6Address::getArpa()

7 years agor4803 new method in IPv6Address: getArpa (by Boris Lytochkin)
Alexey Andriyanov [Tue, 27 Sep 2011 19:28:36 +0000 (19:28 +0000)] 
r4803 new method in IPv6Address: getArpa (by Boris Lytochkin)

7 years agor4802 SLBTriplet::getTriplets(): justify exception class
Denis Ovsienko [Fri, 23 Sep 2011 16:55:04 +0000 (16:55 +0000)] 
r4802 SLBTriplet::getTriplets(): justify exception class

7 years agor4801 getRunning8021QConfig(): empty "portconfig" is not an error, but empty "portdat...
Denis Ovsienko [Fri, 23 Sep 2011 09:26:04 +0000 (09:26 +0000)] 
r4801 getRunning8021QConfig(): empty "portconfig" is not an error, but empty "portdata" is

7 years agor4800 bugfix: removed link to non-existent JS file
Alexey Andriyanov [Thu, 22 Sep 2011 20:30:46 +0000 (20:30 +0000)] 
r4800 bugfix: removed link to non-existent JS file
renderSLBTriplets changed

7 years agor4799 detectDeviceBreed(): JunOS11R is much like version 10
Denis Ovsienko [Mon, 19 Sep 2011 09:52:13 +0000 (09:52 +0000)] 
r4799 detectDeviceBreed(): JunOS11R is much like version 10