racktables
6 years agoWS-C2960-24PC-S SNMP support
Alexey Andriyanov [Thu, 20 Dec 2012 16:33:34 +0000 (20:33 +0400)] 
WS-C2960-24PC-S SNMP support

6 years ago802.1Q: better Force10 switches support
Alexey Andriyanov [Thu, 20 Dec 2012 15:40:10 +0000 (19:40 +0400)] 
802.1Q: better Force10 switches support

ftos8TranslatePushQueue: vlans were not deleted
ftos8TranslatePushQueue: redundant commands causing error messages were
removed

6 years ago802.1Q: duplicate rem_vlan ops were generated
Alexey Andriyanov [Thu, 20 Dec 2012 15:38:03 +0000 (19:38 +0400)] 
802.1Q: duplicate rem_vlan ops were generated

generate8021QDeployOps: use of array_unique

6 years agobugfix: %GPASS% dictionary markers were ignored
Alexey Andriyanov [Thu, 20 Dec 2012 12:03:57 +0000 (16:03 +0400)] 
bugfix: %GPASS% dictionary markers were ignored

cookOptgroups: use of execGMarker

6 years ago0.20.3: cut the release RackTables-0.20.3
Alexey Andriyanov [Wed, 19 Dec 2012 16:30:47 +0000 (20:30 +0400)] 
0.20.3: cut the release

6 years agoadded 0.20.3 upgrade batch
Alexey Andriyanov [Wed, 19 Dec 2012 16:28:39 +0000 (20:28 +0400)] 
added 0.20.3 upgrade batch

6 years agobugfix: DB exception on ports linking #699
Alexey Andriyanov [Wed, 19 Dec 2012 13:32:04 +0000 (17:32 +0400)] 
bugfix: DB exception on ports linking #699

linkPorts: unset the DB cursor before calling DB subroutine
commitUnlinkPort: idem

6 years ago0.20.2: cut the release RackTables-0.20.2
Alexey Andriyanov [Wed, 19 Dec 2012 12:24:47 +0000 (16:24 +0400)] 
0.20.2: cut the release

6 years agoadded bcmath package names into README
Alexey Andriyanov [Tue, 18 Dec 2012 17:21:21 +0000 (21:21 +0400)] 
added bcmath package names into README

6 years agobugfix: VLAN label was always displayed
Alexey Andriyanov [Tue, 18 Dec 2012 17:10:26 +0000 (21:10 +0400)] 
bugfix: VLAN label was always displayed

6 years agosome additions to Object Dictionary
lovwyr [Sun, 16 Dec 2012 02:08:12 +0000 (03:08 +0100)] 
some additions to Object Dictionary

6 years agofix renderNetVLAN() to print all VLANs (#697)
Denis Ovsienko [Sat, 15 Dec 2012 15:20:00 +0000 (19:20 +0400)] 
fix renderNetVLAN() to print all VLANs (#697)

6 years agodisplay dict_key in chapter view (#667)
Denis Ovsienko [Sat, 15 Dec 2012 14:41:46 +0000 (18:41 +0400)] 
display dict_key in chapter view (#667)

* renderChapter(): add an extra TR, remove DIV
* renderChapterEditor(): idem

6 years agobugfix:treeFromList got a bug by "cosmetic" 13f1a6
Alexey Andriyanov [Tue, 11 Dec 2012 13:46:35 +0000 (17:46 +0400)] 
bugfix:treeFromList got a bug by "cosmetic" 13f1a6

6 years agobugfix: dont use USER env var in http mode
Alexey Andriyanov [Tue, 11 Dec 2012 12:43:17 +0000 (16:43 +0400)] 
bugfix: dont use USER env var in http mode

6 years agonew hook portConfChanged
Alexey Andriyanov [Mon, 10 Dec 2012 16:38:04 +0000 (20:38 +0400)] 
new hook portConfChanged

upd8021QPort, del8021QPort: call the new hook portConfChanged after
DB modification

6 years agoSNMP: add a NEC network switch
Denis Ovsienko [Sat, 8 Dec 2012 15:13:32 +0000 (19:13 +0400)] 
SNMP: add a NEC network switch

7 years agodictionary: list two NEC switches
Denis Ovsienko [Fri, 7 Dec 2012 18:12:30 +0000 (22:12 +0400)] 
dictionary: list two NEC switches

7 years agolist NX-OS 5.2
Denis Ovsienko [Thu, 6 Dec 2012 17:27:54 +0000 (21:27 +0400)] 
list NX-OS 5.2

7 years agocallScript: $gateway_log global var
Alexey Andriyanov [Wed, 5 Dec 2012 17:42:24 +0000 (21:42 +0400)] 
callScript: $gateway_log global var

7 years agoMerge branch 'master' of github.com:RackTables/racktables
Alexey Andriyanov [Tue, 4 Dec 2012 09:54:08 +0000 (13:54 +0400)] 
Merge branch 'master' of github.com:RackTables/racktables

7 years agoloadIPAddrList: fix comment
Alexey Andriyanov [Tue, 4 Dec 2012 07:37:31 +0000 (11:37 +0400)] 
loadIPAddrList: fix comment

7 years agotreeFromList: cosmetic changes
Alexey Andriyanov [Sat, 1 Dec 2012 18:02:12 +0000 (22:02 +0400)] 
treeFromList: cosmetic changes

7 years agoprintOpFormIntro() moved to interface-lib.php
Alexander Balezin [Fri, 30 Nov 2012 19:26:10 +0000 (23:26 +0400)] 
printOpFormIntro() moved to interface-lib.php
move printOpFormIntro() to appropriate place for using in ajax

Signed-off-by: Alexey Andriyanov <alan@al-an.info>
7 years agocut 'Quidway' word
Alexey Andriyanov [Thu, 29 Nov 2012 18:42:07 +0000 (22:42 +0400)] 
cut 'Quidway' word

cut 'Quidway' word from Huawei switch dictionary items for unification
with newer products

7 years agoCisco Catalyst 3560V2 series models
Alexey Andriyanov [Thu, 29 Nov 2012 14:36:06 +0000 (18:36 +0400)] 
Cisco Catalyst 3560V2 series models

SNMP support for 3560V2-48PS

7 years agobugfix: IPNetsIntersect
Alexey Andriyanov [Mon, 26 Nov 2012 10:02:26 +0000 (14:02 +0400)] 
bugfix: IPNetsIntersect

7 years agofix of invalid binary IP exceptions on certain IPs
Alexey Andriyanov [Fri, 23 Nov 2012 08:26:16 +0000 (12:26 +0400)] 
fix of invalid binary IP exceptions on certain IPs

getObjectIPAllocationList: replace array_merge by +
scanIPSpace: idem
transformRequestData: idem
renderIPNetwork: idem

7 years agoIPNetsIntersect func added
Alexey Andriyanov [Thu, 22 Nov 2012 17:42:45 +0000 (21:42 +0400)] 
IPNetsIntersect func added

7 years agoadd X670 switches to the dictionary
Denis Ovsienko [Thu, 22 Nov 2012 12:59:33 +0000 (16:59 +0400)] 
add X670 switches to the dictionary

7 years ago802.1Q: enable recursive calculation of link vlans
Alexey Andriyanov [Thu, 15 Nov 2012 15:36:21 +0000 (19:36 +0400)] 
802.1Q: enable recursive calculation of link vlans

initiateUplinksReverb: call apply8021qChangeRequest with empty $changes()

7 years ago802.1Q: treat connection errors as recoverable
Alexey Andriyanov [Thu, 15 Nov 2012 15:35:49 +0000 (19:35 +0400)] 
802.1Q: treat connection errors as recoverable

detectVLANSwitchQueue: removed 'failed' queue.
$dqtitle array: idem

7 years agoremoved queueChangesToSwitch function
Alexey Andriyanov [Thu, 15 Nov 2012 15:31:27 +0000 (19:31 +0400)] 
removed queueChangesToSwitch function

queueChangesToSwitch is something similar to replace8021QPorts.

recalc8021QPorts: removed unused parameter $check_only,
queueChangesToSwitch > replace8021QPorts

7 years agonew hook to override telnet/ssh params
Alexey Andriyanov [Tue, 13 Nov 2012 11:41:45 +0000 (15:41 +0400)] 
new hook to override telnet/ssh params

queryTerminal now calls alterTerminalParams hook.
You can register it to modify terminal client script name
and/or its options

7 years agossh client: ability to pass command-line params
Alexey Andriyanov [Tue, 13 Nov 2012 11:40:43 +0000 (15:40 +0400)] 
ssh client: ability to pass command-line params

7 years agoadd missing global declaration for $pdo_bufsize
Denis Ovsienko [Mon, 12 Nov 2012 07:11:24 +0000 (11:11 +0400)] 
add missing global declaration for $pdo_bufsize

7 years agotreat Object.comment as NULL column
Denis Ovsienko [Sun, 11 Nov 2012 18:56:25 +0000 (22:56 +0400)] 
treat Object.comment as NULL column

7 years agoallow setting MYSQL_ATTR_MAX_BUFFER_SIZE (#659)
Denis Ovsienko [Sun, 11 Nov 2012 12:41:08 +0000 (16:41 +0400)] 
allow setting MYSQL_ATTR_MAX_BUFFER_SIZE (#659)

There are several bottlenecks getting in the way of large files properly
uploaded and downloaded, MySQL client buffer size being one of them
(others are MySQL server buffer size and assorted PHP limits).

This change makes it possible to tune the application in this regard
without changing the source code.

* init_config(): add a commented pdo_bufsize option to secret.php
* connectDB(): do custom setup with PDO constructor driver options

7 years agoadd SNMP support for D-Link DGS-1210-24 (#629)
Aaron Dummer [Sat, 10 Nov 2012 21:05:19 +0000 (13:05 -0800)] 
add SNMP support for D-Link DGS-1210-24 (#629)

7 years agoadd SNMP support for Cisco WS-C2948 (#546)
Aaron Dummer [Sat, 10 Nov 2012 20:35:08 +0000 (12:35 -0800)] 
add SNMP support for Cisco WS-C2948 (#546)

7 years agoadd SNMP support for Motorola RFS4000 (#657)
Aaron Dummer [Sat, 10 Nov 2012 19:57:59 +0000 (11:57 -0800)] 
add SNMP support for Motorola RFS4000 (#657)

7 years agolist objects page threw exception if an object's container was nameless
Aaron Dummer [Sat, 10 Nov 2012 19:01:05 +0000 (11:01 -0800)] 
list objects page threw exception if an object's container was nameless
(#661)

7 years agocallScript: ability to call any script
Alexey Andriyanov [Thu, 8 Nov 2012 12:29:10 +0000 (16:29 +0400)] 
callScript: ability to call any script

callScript function was searching for executable in it's gateways
directories. Now if $gwname is absolute path, it calls it directly.

7 years agoSLB config generation bugfix
Alexey Andriyanov [Wed, 7 Nov 2012 12:08:50 +0000 (16:08 +0400)] 
SLB config generation bugfix

generateConfig: RS port names were empty

7 years agobugfix: NX-OS LLDP gateway fix
Alexey Andriyanov [Wed, 7 Nov 2012 09:36:27 +0000 (13:36 +0400)] 
bugfix: NX-OS LLDP gateway fix

NX-OS LLDP-fetching connection was sometimes hanged up prematurely.

queryTerminal: changed NX-OS commands prompt regexp

7 years agominor SLB API change
Alexey Andriyanov [Tue, 6 Nov 2012 18:12:02 +0000 (22:12 +0400)] 
minor SLB API change

SLBTriplet::getTripletsByIP - made public instead of private.
SLBTriplet::generateConfig - prepareParser and prepareParserForRS were
cut off into separate methods

all implicitly public methods now have explicit public scope.

7 years agoenable multi-port offline changes to 802.1Q ports
Denis Ovsienko [Sun, 4 Nov 2012 23:00:02 +0000 (03:00 +0400)] 
enable multi-port offline changes to 802.1Q ports

* renderObject8021QSync(): rewrite to use SELECT instead of TABLE, so that
  the user can add/remove multiple ports with one submit
* renderObject8021QSyncPorts(): update to match the new prototype
* create8021QPortConfig(): dismiss
* destroy8021QPortConfig(): dismiss
* update8021QPortList(): process multiple "enable" and "disable" requests
  at once

7 years agouse ext. INSERT syntax for all sample data
Denis Ovsienko [Sun, 4 Nov 2012 19:19:11 +0000 (23:19 +0400)] 
use ext. INSERT syntax for all sample data

7 years agofix loading of sample SQL data after #577
Denis Ovsienko [Sun, 4 Nov 2012 16:15:59 +0000 (20:15 +0400)] 
fix loading of sample SQL data after #577

7 years agoextend network-domain 802.1Q constraint by VLAN ID
Denis Ovsienko [Sat, 3 Nov 2012 16:18:21 +0000 (20:18 +0400)] 
extend network-domain 802.1Q constraint by VLAN ID

The 802.1Q data model implemented in RackTables so far enforced an
unconditional constraint for any given IPv4/IPv6 network to link to at
most one VLAN from each of the VLAN domains available. The primary
intent of this was preventing the user against entering the data that
does not make sense in most cases. However, valid use cases emerge once
in a while involving more than one VLAN ID from the same domain linked
to a network. Examples of such are described on the mailing list:
http://www.freelists.org/post/racktables-users/Subnets-can-only-belong-to-one-VLAN

This change moves the constraint from the database schema level to the
application level and makes it conditional. The constraint is configured
for the same behaviour as before by default, but from now on can be
relaxed on basis as arbitrary as RackCode allows.

$SQLSchema: refine ORDER BY for multiple VLANs per a domain
install.php: update schema, add new config option
upgrade.php: idem
getAllVLANOptions(): make filtering VLAN-aware, not just domain-aware
renderIPNetwork(): update to highlight reused domains
renderVLANIPLinks(): idem, and update VLAN/domain filtering
resetUIConfig(): update for new option

7 years agoreplace formatVLANName() with multiple functions
Denis Ovsienko [Sat, 3 Nov 2012 09:51:49 +0000 (13:51 +0400)] 
replace formatVLANName() with multiple functions

formatVLANName() multiplexed 5 blocks of code in it through a selector
argument. This change follows the recommendation of section G15 of
Robert Martin's "Clean Code" to replace such selector-based functions
with multiple standalone functions:

* formatVLANAsOption()
* formatVLANAsLabel()
* formatVLANAsPlainText()
* formatVLANAsHyperlink()
* formatVLANAsRichText()

The following functions that formerly used formatVLANName() are updated
respectively:

* renderIPNetwork()
* renderSearchResults()
* dynamic_title_decoder()
* getAccessPortControlCode()
* renderTrunkPortControls()
* renderVLANInfo()
* renderVLANIPLinks()

7 years agoftos8ReadLLDPStatus(): add subtype originated by NX-OS
Denis Ovsienko [Fri, 2 Nov 2012 11:00:27 +0000 (15:00 +0400)] 
ftos8ReadLLDPStatus(): add subtype originated by NX-OS

7 years agoformatEntityList: sorting and re-format IPv4VS
Alexey Andriyanov [Wed, 31 Oct 2012 13:30:52 +0000 (17:30 +0400)] 
formatEntityList: sorting and re-format IPv4VS

all lists generated by formatEntityList are now sorted alphabetically
IPv4VS are re-formatted: names first, IPs - after.

7 years agoios12ShortenIfName: typo 'gu' -> 'gi'
Alexey Andriyanov [Tue, 30 Oct 2012 09:22:03 +0000 (13:22 +0400)] 
ios12ShortenIfName: typo 'gu' -> 'gi'

7 years agoios12ShortenIfName: strip spaces from if-names
Alexey Andriyanov [Tue, 30 Oct 2012 07:17:15 +0000 (11:17 +0400)] 
ios12ShortenIfName: strip spaces from if-names

FTOS10 devices advertise ifnames with spaces between interface type
and number. This fix strips such spaces.

7 years agoqueryTerminal: fix comment error
Alexey Andriyanov [Tue, 30 Oct 2012 07:12:39 +0000 (11:12 +0400)] 
queryTerminal: fix comment error

7 years agoLivePTR erased comments when performing an import (#645)
Aaron Dummer [Sat, 27 Oct 2012 23:47:56 +0000 (16:47 -0700)] 
LivePTR erased comments when performing an import (#645)

7 years agominor formatting tweaks to upgrade.php
Aaron Dummer [Sat, 27 Oct 2012 23:45:30 +0000 (16:45 -0700)] 
minor formatting tweaks to upgrade.php

7 years agoeos4ReadMacList(): fix regexp for VLAN IDs < 1000
Denis Ovsienko [Fri, 26 Oct 2012 10:37:53 +0000 (14:37 +0400)] 
eos4ReadMacList(): fix regexp for VLAN IDs < 1000

7 years agoAdded munin support as of the cacti integration.
Michael Holm [Mon, 22 Oct 2012 10:39:14 +0000 (12:39 +0200)] 
Added munin support as of the cacti integration.

7 years agoSNMP: list DCS-7050S-52
Denis Ovsienko [Tue, 23 Oct 2012 12:30:11 +0000 (16:30 +0400)] 
SNMP: list DCS-7050S-52

7 years agoCleanup in files that is not php
Michael Holm [Mon, 22 Oct 2012 22:01:54 +0000 (00:01 +0200)] 
Cleanup in files that is not php

7 years agoAdded some code cleanup.
Michael Holm [Mon, 22 Oct 2012 21:58:01 +0000 (23:58 +0200)] 
Added some code cleanup.

7 years agoIP PTR import ophandler changed slightly
Alexey Andriyanov [Mon, 22 Oct 2012 16:44:15 +0000 (20:44 +0400)] 
IP PTR import ophandler changed slightly

importPTRData: proper handling of errors, check if IPs belong to network
updateV4Address, updateV6Address: added comment parameter

7 years agosetMessage: be quiet in script_mode
Alexey Andriyanov [Mon, 22 Oct 2012 09:49:42 +0000 (13:49 +0400)] 
setMessage: be quiet in script_mode

7 years agouse $result uniformly for DBO result
Denis Ovsienko [Sat, 20 Oct 2012 11:49:43 +0000 (15:49 +0400)] 
use $result uniformly for DBO result

Update the following functions to use $result instead of $query:

* getRacks()
* getAllUnlinkedFiles()
* getFilesOfEntity()
* getFile()
* getFileCache()
* getFileLinks()
* findFileByName()

7 years agofix indentation in getFileLinks()
Denis Ovsienko [Sat, 20 Oct 2012 11:45:05 +0000 (15:45 +0400)] 
fix indentation in getFileLinks()

7 years agoadd a comment about $breedfunc
Denis Ovsienko [Sat, 20 Oct 2012 11:36:44 +0000 (15:36 +0400)] 
add a comment about $breedfunc

7 years agotreat UserAccount.user_realname as NULL column
Denis Ovsienko [Fri, 19 Oct 2012 03:13:19 +0000 (07:13 +0400)] 
treat UserAccount.user_realname as NULL column

7 years agobugfix: New Subnet is added wrong (#643)
Alexey Andriyanov [Thu, 18 Oct 2012 18:20:01 +0000 (22:20 +0400)] 
bugfix: New Subnet is added wrong (#643)

ip4_bin2int: check for strange case

7 years agointroduce reduceSubarraysToColumn()
Denis Ovsienko [Thu, 18 Oct 2012 13:13:01 +0000 (17:13 +0400)] 
introduce reduceSubarraysToColumn()

The new function implements a common array transformation used by some
functions in database.php. Some functions are updated to use it, alone
or combined with reindexById():

* getLocations()
* getRows()
* getPortIDs()
* getAllUnlinkedFiles()
* getExistingPortTypeOptions()
* getPortTypeUsageStatistics()
* getVLANDomainOptions()
* getVLANSwitches()
* getVLANInfo()
* getVLANIPv4Options()
* getVLANIPv6Options()

7 years agouse reindexById() in 9 more functions
Denis Ovsienko [Thu, 18 Oct 2012 12:50:38 +0000 (16:50 +0400)] 
use reindexById() in 9 more functions

This change replaces a while()-based pattern with a single reindexById()
call in the following functions:

* getAllRows()
* getRacks()
* getIPv6AddressSearchResult()
* loadConfigCache()
* loadUserConfigCache()
* loadEntityTags()
* getChapterList()
* getVLANDomainStats()
* getDomainVLANs()

7 years agoremove single-use var from getObjectParentCompat()
Denis Ovsienko [Thu, 18 Oct 2012 11:45:16 +0000 (15:45 +0400)] 
remove single-use var from getObjectParentCompat()

7 years agouse fetchAll() in getAllIPv4Allocations()
Denis Ovsienko [Wed, 17 Oct 2012 16:04:39 +0000 (20:04 +0400)] 
use fetchAll() in getAllIPv4Allocations()

7 years agoimprove some breed functions
Denis Ovsienko [Wed, 17 Oct 2012 14:35:57 +0000 (18:35 +0400)] 
improve some breed functions

* assertDeviceBreed(): new function to wrap detectDeviceBreed()
* assertBreedFunction(): add details to error message, return function
  name
* queryDevice(): use two functions above, reduce footprint
* translateDeviceCommands(): idem

7 years agodecommission gateways.php
Denis Ovsienko [Wed, 17 Oct 2012 13:54:27 +0000 (17:54 +0400)] 
decommission gateways.php

Move the items below to remote.php, where they likely belong, and remove
gateways.php:

* $breedfunc
* detectDeviceBreed()
* validBreedFunction()
* assertBreedFunction()

7 years agoadd reference to COPYING
Denis Ovsienko [Wed, 17 Oct 2012 13:22:22 +0000 (17:22 +0400)] 
add reference to COPYING

7 years agofix Makefile for .git
Denis Ovsienko [Wed, 17 Oct 2012 10:01:05 +0000 (14:01 +0400)] 
fix Makefile for .git

7 years agoremove old gateways code
Denis Ovsienko [Wed, 17 Oct 2012 09:31:23 +0000 (13:31 +0400)] 
remove old gateways code

This change removes the following code:

* gateways/sendfile/
* gateways/deviceconfig/
* gateways/switchvlans/
* queryGateway()
* getSwitchVLANs()
* setSwitchVLANs()
* gwSendFile()
* gwRecvFile()
* gwSendFileToObject()
* gwRecvFileFromObject()
* gwRetrieveDeviceConfig()
* gwDeployDeviceConfig()
* renderVLANMembership()
* setPortVLAN()
* trigger_livevlans()

The "sendfile" and "deviceconfig" are completely obsoleted by the
current gateways API. The "switchvlans" and associated "Live VLANs"
feature is moved to the racktables-contribs repository, since "802.1Q"
feature is sufficient for most use cases.

7 years agoimplement abstract tags (#577)
Denis Ovsienko [Mon, 15 Oct 2012 17:47:24 +0000 (21:47 +0400)] 
implement abstract tags (#577)

install.php: update TagStorage and TagTree tables
upgrade.php: idem
getTagList(): update for extra column
genericAssertion(): add new "enum/yesno" assertion type
renderTagRowForViewer(): use classes for tag TRs
renderTagRowForEditor(): idem, and add "is_assignable" column
$opspec_list: update for "is_assignable" column

7 years agorenderTagTreeEditor(): set class for orphan tag TRs
Denis Ovsienko [Mon, 15 Oct 2012 17:06:10 +0000 (21:06 +0400)] 
renderTagTreeEditor(): set class for orphan tag TRs

7 years agosplit renderTagCheckbox() into 2 functions
Denis Ovsienko [Mon, 15 Oct 2012 14:41:32 +0000 (18:41 +0400)] 
split renderTagCheckbox() into 2 functions

buildTagCheckboxRows(): new function, recursive processor
printTagCheckboxTable(): new function, HTML generator
renderCellFilterPortlet(): update to use printTagCheckboxTable()
renderEntityTagsPortlet(): idem
renderNewEntityTags(): idem

7 years agobugfix: access -> trunk transition was broken on VRP 5.7
Alexey Andriyanov [Tue, 16 Oct 2012 17:48:22 +0000 (21:48 +0400)] 
bugfix: access -> trunk transition was broken on VRP 5.7

vrp55TranslatePushQueue: remove vlan 1 from newly-created trunk

7 years agovrp55Read8021QConfig: proper handling of VLAN 1
Alexey Andriyanov [Mon, 15 Oct 2012 09:59:20 +0000 (13:59 +0400)] 
vrp55Read8021QConfig: proper handling of VLAN 1

7 years agonew function formatEntityList
Alexey Andriyanov [Thu, 11 Oct 2012 13:31:11 +0000 (17:31 +0400)] 
new function formatEntityList

getNarrowObjectList: use new func
renderNewSLBItemForm: idem
- getIPv4VSOptions: removed in favour of formatEntityList
- getIPv4RSPoolOptions: idem

renderSLBTripletsEdit: new item form renderer can be overrided now

7 years agoslb: ability to specify multiple RS ports
Alexey Andriyanov [Thu, 11 Oct 2012 05:39:40 +0000 (09:39 +0400)] 
slb: ability to specify multiple RS ports

SLBTriplet::generateConfig: multiply RS server generation by RS ports

7 years agofix some bugs in UCS gateway
Jeff Silberman [Wed, 10 Oct 2012 09:51:52 +0000 (13:51 +0400)] 
fix some bugs in UCS gateway

Bug showed up where bad handles were getting called for Logout, and
subsequently throwing exceptions in UCS Python SDK. The changes to
"ucssdk" below fix all of those.

Also in "deviceconfig.php" $replies will only be "1", if a UCS login
fails.

7 years agoslb macro parser API update
Alexey Andriyanov [Mon, 8 Oct 2012 11:37:34 +0000 (15:37 +0400)] 
slb macro parser API update

MacroParser::createParser: triplet is passed as a parameter

this allows user to define his own macros based on the SLB triplet
fields. Example: custom redeclarable macro based on load balancer
object's properties

7 years agofix double-TR in renderTagTree()
Denis Ovsienko [Mon, 8 Oct 2012 09:59:00 +0000 (13:59 +0400)] 
fix double-TR in renderTagTree()

7 years agorefresh renderTagTreeEditor()
Denis Ovsienko [Sat, 6 Oct 2012 15:47:10 +0000 (19:47 +0400)] 
refresh renderTagTreeEditor()

Use printSelect() and reorder the code to make table TDs better visible;
increase TABINDEX steps.

7 years agoSNMP: list NETGEAR GSM7352Sv2 (#571)
Denis Ovsienko [Sat, 6 Oct 2012 09:26:46 +0000 (13:26 +0400)] 
SNMP: list NETGEAR GSM7352Sv2 (#571)

7 years agoSNMP: list PowerConnect 6248 (#516)
Denis Ovsienko [Sat, 6 Oct 2012 08:46:27 +0000 (12:46 +0400)] 
SNMP: list PowerConnect 6248 (#516)

7 years agoproxyCactiRequest(): request rra_id=1 (#466)
Denis Ovsienko [Fri, 5 Oct 2012 13:04:14 +0000 (17:04 +0400)] 
proxyCactiRequest(): request rra_id=1 (#466)

According to the bug report, some Cacti instances require an explicit
rra_id parameter (instead of selecting RRA ID 1 by default). Add the
argument to make them happy.

7 years ago0.20.1: cut the release RackTables-0.20.1
Alexey Andriyanov [Thu, 4 Oct 2012 12:06:14 +0000 (16:06 +0400)] 
0.20.1: cut the release

7 years agobugfix: if cacti server was forgotten if no graphs were exist
Alexey Andriyanov [Thu, 4 Oct 2012 11:56:02 +0000 (15:56 +0400)] 
bugfix: if cacti server was forgotten if no graphs were exist

7 years agobugfix: cacti server count fetching was broken
Alexey Andriyanov [Thu, 4 Oct 2012 11:30:36 +0000 (15:30 +0400)] 
bugfix: cacti server count fetching was broken

7 years agochanged the order of inserts in favour of foreign keys
Alexey Andriyanov [Thu, 4 Oct 2012 11:09:14 +0000 (15:09 +0400)] 
changed the order of inserts in favour of foreign keys

7 years agoresetUIConfig: fix objtype id in IPV4OBJ_LISTSRC
Alexey Andriyanov [Thu, 4 Oct 2012 10:51:17 +0000 (14:51 +0400)] 
resetUIConfig: fix objtype id in IPV4OBJ_LISTSRC

7 years agopartially revert the commit f10279 by Stephen Groat
Alexey Andriyanov [Thu, 4 Oct 2012 10:14:22 +0000 (14:14 +0400)] 
partially revert the commit f10279 by Stephen Groat

some CSS styles do need white-space: pre instead of pre-wrap

7 years agosupport for emulating of logged-in user in script mode
Alexey Andriyanov [Wed, 3 Oct 2012 15:16:30 +0000 (19:16 +0400)] 
support for emulating of logged-in user in script mode

authenticate: if called manually when $script_mdode == TRUE and
remote_username set, fills user-given tags in context.