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

8 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

8 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)

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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.

8 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

8 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

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

8 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.

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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)

8 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)

8 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

8 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)

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

8 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

8 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

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

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

8 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.

8 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.

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

8 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)

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

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

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

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

8 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

8 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

8 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

8 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

8 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

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

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

8 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)

8 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

8 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)

8 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

8 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

8 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

8 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.

8 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

8 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

8 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

8 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')

8 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

8 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()

8 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)

8 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

8 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

8 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

8 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

8 years agor4798 detectDeviceBreed(): recognize JunOS 10 on a router
Denis Ovsienko [Mon, 19 Sep 2011 09:38:08 +0000 (09:38 +0000)] 
r4798 detectDeviceBreed(): recognize JunOS 10 on a router

8 years agor4797 removed %RESET% feature from SLBTriplet class
Alexey Andriyanov [Sat, 17 Sep 2011 15:15:52 +0000 (15:15 +0000)] 
r4797 removed %RESET% feature from SLBTriplet class
SLBTriplet::expand: the order of variable overriding changed (VS wins RSP in VS section)

8 years agor4796 ios12SpotConfigText(): "end" is also used for IOS macros
Denis Ovsienko [Fri, 16 Sep 2011 17:58:50 +0000 (17:58 +0000)] 
r4796 ios12SpotConfigText(): "end" is also used for IOS macros

8 years agor4795 spotText(): add missing newline
Denis Ovsienko [Fri, 16 Sep 2011 17:49:32 +0000 (17:49 +0000)] 
r4795 spotText(): add missing newline

8 years agor4794 fix function name
Denis Ovsienko [Fri, 16 Sep 2011 17:42:29 +0000 (17:42 +0000)] 
r4794 fix function name

8 years agor4793 Implement supplementary functions for "getallconf":
Denis Ovsienko [Fri, 16 Sep 2011 17:37:34 +0000 (17:37 +0000)] 
r4793 Implement supplementary functions for "getallconf":


8 years agor4792 ios12TranslatePushQueue(): introduce "getallconf" pseudo-command
Denis Ovsienko [Fri, 16 Sep 2011 16:52:26 +0000 (16:52 +0000)] 
r4792 ios12TranslatePushQueue(): introduce "getallconf" pseudo-command
fdry5TranslatePushQueue(): idem
vrp53TranslatePushQueue(): idem
vrp55TranslatePushQueue(): idem
xos12TranslatePushQueue(): idem
jun10TranslatePushQueue(): idem
ftos8TranslatePushQueue(): idem

8 years agor4791 By Boris:
Denis Ovsienko [Fri, 16 Sep 2011 09:37:22 +0000 (09:37 +0000)] 
r4791 By Boris:

querySNMPData(): fix case blocks
renderSNMPPortFinder(): add extra portlet
RTSNMPDevice::__construct(): dispatch to proper class
RTSNMPv1, RTSNMPv2: add v2, fix naming for v1

8 years agor4790 updateStickerForCell: check if attribute is linked to object to prevent DB...
Alexey Andriyanov [Wed, 14 Sep 2011 06:31:39 +0000 (06:31 +0000)] 
r4790 updateStickerForCell: check if attribute is linked to object to prevent DB exception

8 years agor4789 authorize8021QChangeRequests: respect $script_mode variable
Alexey Andriyanov [Tue, 13 Sep 2011 13:01:51 +0000 (13:01 +0000)] 
r4789 authorize8021QChangeRequests: respect $script_mode variable
apply8021qChangeRequest: removed undefined variable notice

8 years agor4788 new autotag {$unused} for ipv4vs and ipv4rspool
Alexey Andriyanov [Fri, 9 Sep 2011 17:20:51 +0000 (17:20 +0000)] 
r4788 new autotag {$unused} for ipv4vs and ipv4rspool
generateEntityAutoTags was changed

8 years agor4787 bugfix: invalid ophandler for saving default SLB configs
Alexey Andriyanov [Fri, 9 Sep 2011 10:37:13 +0000 (10:37 +0000)] 
r4787 bugfix: invalid ophandler for saving default SLB configs

8 years agor4786 bugfix: generated SLB configration syntax was incorrect
Alexey Andriyanov [Fri, 9 Sep 2011 08:54:01 +0000 (08:54 +0000)] 
r4786 bugfix: generated SLB configration syntax was incorrect

SLBTriplet::generateConfig - fixed typo in template

8 years agor4785 bugfix: no comments in SLB template
Alexey Andriyanov [Fri, 9 Sep 2011 07:55:37 +0000 (07:55 +0000)] 
r4785 bugfix: no comments in SLB template

SLBTriplet::generateConfig: config macros renamed

8 years agor4784 IPv4SLB feature has been rewritten.
Alexey Andriyanov [Thu, 8 Sep 2011 14:06:18 +0000 (14:06 +0000)] 
r4784 IPv4SLB feature has been rewritten.
New feature: custom macro definitions in VS and RS configs.

2 new files: slb.php and slb-interface.php. All feature-related code moved there.

ophandlers: use sic instead of _REQUEST to eliminate html entities. These functions were affected:
  addRealServer, addVService, updateSLBDefConfig, updateRealServer, updateVService, addLoadBalancer, addRSPool.

-updateRSInService: removed

hidden pages 'rservers' and 'lbs' were replaced by tabs in IPv4SLB page.

renderObject: triplets rendering code replaced by a call to renderSLBTriplets
renderIPAddress: idem, made using of new renderEntitySummary
-renderIPv4SLB: huge summary chart was removed

-renderRSPoolLBForm: removed for the sake of renderSLBEditTab
-renderVServiceLBForm: idem
-renderObjectSLB: idem

-renderRSPoolRSInServiceForm: in-service tab was removed

renderCellList: ability to display pre-filtered cell list, not all
renderCell: made using of renderSLBEntityCell for slb-related realms
-renderLBCell: removed for the sake of renderSLBEntityCell

functions moved from interface.php into slb-interface.php:
renderSLBDefConfig, renderIPv4SLB, renderLVSConfig, renderVirtualService, renderRSPoolServerForm,
renderNewSLBItemForm, renderSLBTriplets, renderRSPool, renderVSList, renderVSListEditForm,
renderRSPoolList, editRSPools, renderRealServerList, renderLBList, renderEditRSPool, renderEditVService,

object schema changes:
 * field 'poolcount' in the realm 'ipv4vs' renamed to 'refcnt'
 * aplifyCell is no more filling 'ipv4rspools' field in the 'object' entities
 * aplifyCell is no more filling fields in the 'ipv4rspool' and 'ipv4vs' entities

-getSLBSummary: huge summary chart was removed
-getSLBConfig: removed function
-commitSetInService: removed function
-getRSPoolsForObject: removed function

functions moved from database.php into slb.php:
 addRStoRSPool, addLBtoRSPool, commitDeleteVS, commitUpdateRS, commitUpdateVS, commitCreateRSPool,
 commitDeleteRSPool, getRSList, getLBList, commitUpdateSLBDefConf, getSLBDefaults

-lf_wrap: removed function
-apply_macros: idem
buildLVSConfig: moved into slb.php, now it is a wrapper around SLBTriplet::generateConfig
getIPv4VSOptions: moved into slb.php
getIPv4RSPoolOptions: idem

-trigger_poolrscount: removed unused trigger.

new classes: SLBTriplet, MacroParser.
new functions:
 renderSLBEntityCell, renderSLBEditTab, renderSLBTripletsEdit, buildEntityLVSConfig

8 years agor4783 SNMP: list WS-C3550-12G (#465)
Denis Ovsienko [Thu, 8 Sep 2011 11:02:30 +0000 (11:02 +0000)] 
r4783 SNMP: list WS-C3550-12G (#465)

8 years agor4782 doSwitchSNMPmining(): fetch Nexus serial number, list N5K-C5548P
Denis Ovsienko [Thu, 8 Sep 2011 10:43:01 +0000 (10:43 +0000)] 
r4782 doSwitchSNMPmining(): fetch Nexus serial number, list N5K-C5548P

8 years agor4781 declare trunk "0.19.9"
Denis Ovsienko [Mon, 5 Sep 2011 12:44:30 +0000 (12:44 +0000)] 
r4781 declare trunk "0.19.9"

8 years agor4780 renderObject: restore original behavior of filtering by object type when tag...
Alexey Andriyanov [Sun, 4 Sep 2011 20:47:27 +0000 (20:47 +0000)] 
r4780 renderObject: restore original behavior of filtering by object type when tag is clicked

8 years agor4779 entity summary portlets rendering code was simplified and reused a bit
Alexey Andriyanov [Sun, 4 Sep 2011 20:40:40 +0000 (20:40 +0000)] 
r4779 entity summary portlets rendering code was simplified and reused a bit

renderRackInfoPortlet: do not render table cells directly, use $summary array and renderEntitySummary call
renderObject: idem
renderIPv4Network: idem
renderIPv6Network: idem
renderUser: idem
renderFile: idem
renderVST: idem
printTagTRs: moved into interface-lib.php
renderEntitySummary: new function to format summary info into HTML table

8 years agor4776 bugfix: LivePorts MAC address lister was broken with Huawei S5300 V100R006
Alexey Andriyanov [Fri, 2 Sep 2011 09:31:57 +0000 (09:31 +0000)] 
r4776 bugfix: LivePorts MAC address lister was broken with Huawei S5300 V100R006
vrp55ReadMacList: regexp was fixed

8 years agor4771 bugfix: disabled highlighting text editor in Google Chrome and Safari (closes...
Alexey Andriyanov [Wed, 31 Aug 2011 11:48:20 +0000 (11:48 +0000)] 
r4771 bugfix: disabled highlighting text editor in Google Chrome and Safari (closes #455, #462)

codepress.js: do not actually run if browser looks like Chrome
renderRackCodeEditor: instead of calling codepress methods use self-made method wrappers (in case the object is not a CodePress instance)
renderTextEditor: idem

8 years agor4770 attribute connector-less types to 0.19.9
Denis Ovsienko [Wed, 31 Aug 2011 08:15:51 +0000 (08:15 +0000)] 
r4770 attribute connector-less types to 0.19.9

8 years agor4769 attribute "IPv6 subnet-router" to 0.19.9
Denis Ovsienko [Wed, 31 Aug 2011 07:54:19 +0000 (07:54 +0000)] 
r4769 attribute "IPv6 subnet-router" to 0.19.9

8 years agor4768 copy 0.19.8/0.19.9 bits into trunk
Denis Ovsienko [Tue, 30 Aug 2011 21:11:01 +0000 (21:11 +0000)] 
r4768 copy 0.19.8/0.19.9 bits into trunk

8 years agor4762 get doPDUSNMPmining() called properly
Denis Ovsienko [Sun, 28 Aug 2011 13:54:24 +0000 (13:54 +0000)] 
r4762 get doPDUSNMPmining() called properly

8 years agor4761 doSwitchSNMPmining(): boil down successful output to just one message
Denis Ovsienko [Sun, 28 Aug 2011 13:30:37 +0000 (13:30 +0000)] 
r4761 doSwitchSNMPmining(): boil down successful output to just one message
renderSNMPPortFinder(): less text, more tables
querySNMPData(): rewrite with switch-block

8 years agor4760 getAutoPorts(): recognize optional 4th argument in spec (by foobar1111)
Denis Ovsienko [Sun, 28 Aug 2011 11:36:30 +0000 (11:36 +0000)] 
r4760 getAutoPorts(): recognize optional 4th argument in spec (by foobar1111)

8 years agor4759 reloadDictionary(): address broken for() and execution time
Denis Ovsienko [Sun, 28 Aug 2011 10:40:30 +0000 (10:40 +0000)] 
r4759 reloadDictionary(): address broken for() and execution time

8 years agor4756 welcome back
Denis Ovsienko [Sun, 28 Aug 2011 08:57:05 +0000 (08:57 +0000)] 
r4756 welcome back

8 years agor4754 ssh gateway: tunable IP protocol version
Alexey Andriyanov [Tue, 23 Aug 2011 10:22:24 +0000 (10:22 +0000)] 
r4754 ssh gateway: tunable IP protocol version

8 years agor4752 Copy Cacti feature to maintenance and attribute it to 0.19.8 in trunk.
Denis Ovsienko [Mon, 22 Aug 2011 17:24:08 +0000 (17:24 +0000)] 
r4752 Copy Cacti feature to maintenance and attribute it to 0.19.8 in trunk.

8 years agor4751 hole autotags in IPv4 nets
Alexey Andriyanov [Sun, 21 Aug 2011 20:17:54 +0000 (20:17 +0000)] 
r4751 hole autotags in IPv4 nets

listCells: removed unnesessary array referencing, added new autotags producing call
spotEntity: added new autotags producing call along with fetching nested networks
produceIPv4HoleTags: new function calculating hole autotags
isIPv4NetNested: new function
setIPv4HoleTags: new function, helper for produceIPv4HoleTags
getBinaryZeroes: new function, helper for setIPv4HoleTags