9 years agor4630 align version blocks in trunk and maintenance
Denis Ovsienko [Wed, 29 Jun 2011 11:03:03 +0000 (11:03 +0000)] 
r4630 align version blocks in trunk and maintenance

9 years agor4629 delist connector-specific OIF variants
Denis Ovsienko [Wed, 29 Jun 2011 09:27:56 +0000 (09:27 +0000)] 
r4629 delist connector-specific OIF variants

9 years agor4625 make AttributeValue.string_value 255 bytes long (#441)
Denis Ovsienko [Tue, 28 Jun 2011 22:03:47 +0000 (22:03 +0000)] 
r4625 make AttributeValue.string_value 255 bytes long (#441)

9 years agor4622 bugfix: css style of selected checkboxes (green background) was not working...
Alexey Andriyanov [Tue, 28 Jun 2011 09:15:08 +0000 (09:15 +0000)] 
r4622 bugfix: css style of selected checkboxes (green background) was not working after #4501

renderCellFilterPortlet: changed used css style to tagbox.selected
renderTrunkPortControls: idem

9 years agor4620 port linker update: natural port sorting, same-named ports are now displayed...
Alexey Andriyanov [Mon, 27 Jun 2011 15:55:49 +0000 (15:55 +0000)] 
r4620 port linker update: natural port sorting, same-named ports are now displayed with their porttypes.

modified function: findSparePorts

9 years agor4619 deleteObject(): use the right message code
Denis Ovsienko [Mon, 27 Jun 2011 11:48:29 +0000 (11:48 +0000)] 
r4619 deleteObject(): use the right message code

9 years agor4618 gateways/telnet: telnet client is refactored
Alexey Andriyanov [Mon, 27 Jun 2011 11:10:16 +0000 (11:10 +0000)] 
r4618 gateways/telnet: telnet client is refactored

9 years agor4617 minor changes in port linker
Alexey Andriyanov [Mon, 27 Jun 2011 07:38:38 +0000 (07:38 +0000)] 
r4617 minor changes in port linker

getProximateRacks: do not fetch racks from DB if proximate == 0
renderPopupPortSelector: checkbox 'Same rack' renamed to 'Nearest racks'
PROXIMITY_RANGE: this config var now stores its value per-user

9 years agor4616 telnet gateway: increase waiting timeout even more, to 15 seconds
Alexey Andriyanov [Thu, 23 Jun 2011 16:41:58 +0000 (16:41 +0000)] 
r4616 telnet gateway: increase waiting timeout even more, to 15 seconds

9 years agor4615 telnet gateway: increase default output wait timeout from 5 to 10 seconds
Alexey Andriyanov [Thu, 23 Jun 2011 16:38:30 +0000 (16:38 +0000)] 
r4615 telnet gateway: increase default output wait timeout from 5 to 10 seconds
(some Cisco switches do not have time to build running configuration)

9 years agor4614 bugfix: telnet gateway propmt delay was not working when device was sending...
Alexey Andriyanov [Thu, 23 Jun 2011 13:12:24 +0000 (13:12 +0000)] 
r4614 bugfix: telnet gateway propmt delay was not working when device was sending telnet control characters

9 years agor4613 renderTagRowForViewer(): provide usage statistics in tag tooltip text
Denis Ovsienko [Wed, 22 Jun 2011 17:15:13 +0000 (17:15 +0000)] 
r4613 renderTagRowForViewer(): provide usage statistics in tag tooltip text

9 years agor4612 bugfix: port sorting was not working correctly with clashed port indexes
Alexey Andriyanov [Wed, 22 Jun 2011 14:29:24 +0000 (14:29 +0000)] 
r4612 bugfix: port sorting was not working correctly with clashed port indexes

sortPortList: intersections are now stored in global $portsort_intersections
compareDecomposedPortNames: new intersections logic

9 years agor4611 add Force10 switch models
Denis Ovsienko [Wed, 22 Jun 2011 13:55:28 +0000 (13:55 +0000)] 
r4611 add Force10 switch models

9 years agor4610 bugfix: telnet client: if prompt regexp is not set, ignore prompt timeout
Alexey Andriyanov [Wed, 22 Jun 2011 12:09:24 +0000 (12:09 +0000)] 
r4610 bugfix: telnet client: if prompt regexp is not set, ignore prompt timeout

9 years agor4609 queryTerminal:
Alexey Andriyanov [Wed, 22 Jun 2011 10:57:25 +0000 (10:57 +0000)] 
r4609 queryTerminal:
more accurate prompt regexps for Huawei switches
additional 1ms delay for prompt waiting in interactive telnet client

9 years agor4608 renderVLANIPLinks(): also try getOptionTree()
Denis Ovsienko [Tue, 21 Jun 2011 18:07:28 +0000 (18:07 +0000)] 
r4608 renderVLANIPLinks(): also try getOptionTree()

9 years agor4607 getOptionTree(): add quoting to prevent "10-200" be treated as "-190"
Denis Ovsienko [Tue, 21 Jun 2011 18:06:15 +0000 (18:06 +0000)] 
r4607 getOptionTree(): add quoting to prevent "10-200" be treated as "-190"

9 years agor4606 renderIPv4SpaceEditor(): try getOptionTree() to get tabindex back
Denis Ovsienko [Tue, 21 Jun 2011 17:41:06 +0000 (17:41 +0000)] 
r4606 renderIPv4SpaceEditor(): try getOptionTree() to get tabindex back
renderIPv6SpaceEditor(): ditto

9 years agor4605 getOptionTree(): rewrite to format data the right way
Denis Ovsienko [Tue, 21 Jun 2011 17:32:18 +0000 (17:32 +0000)] 
r4605 getOptionTree(): rewrite to format data the right way

9 years agor4604 add TABINDEX attribute support
Denis Ovsienko [Tue, 21 Jun 2011 17:30:43 +0000 (17:30 +0000)] 
r4604 add TABINDEX attribute support

9 years agor4601 bugfix: findSparePorts: SQL syntax error
Alexey Andriyanov [Tue, 21 Jun 2011 13:18:52 +0000 (13:18 +0000)] 
r4601 bugfix: findSparePorts: SQL syntax error

9 years agor4600 getOptionTree(): initial implementation
Denis Ovsienko [Tue, 21 Jun 2011 12:00:13 +0000 (12:00 +0000)] 
r4600 getOptionTree(): initial implementation
select.vertical: helper CSS class

9 years agor4599 new feature int telnet client: prompt-waiting delay
Alexey Andriyanov [Tue, 21 Jun 2011 10:54:49 +0000 (10:54 +0000)] 
r4599 new feature int telnet client: prompt-waiting delay

gateways/telnet: new command-line parameter: --prompt-delay=x.xx
queryTerminal: use 0.01sec as prompt delay when communicating to Huawei devices via telnet

9 years agor4598 bugfix: vrp53PickInterfaceSubcommand now understands eth-trunk members
Alexey Andriyanov [Tue, 21 Jun 2011 09:51:57 +0000 (09:51 +0000)] 
r4598 bugfix: vrp53PickInterfaceSubcommand now understands eth-trunk members

9 years agor4597 reverting r4596 (OID 9.1.516 is common for all C3750 switches)
Alexey Andriyanov [Tue, 21 Jun 2011 05:10:22 +0000 (05:10 +0000)] 
r4597 reverting r4596 (OID 9.1.516 is common for all C3750 switches)

9 years agor4596 snmp support for Cisco 3750G-24T
Alexey Andriyanov [Mon, 20 Jun 2011 16:44:31 +0000 (16:44 +0000)] 
r4596 snmp support for Cisco 3750G-24T

9 years agor4595 findSparePorts: removed debug echo
Alexey Andriyanov [Mon, 20 Jun 2011 16:43:36 +0000 (16:43 +0000)] 
r4595 findSparePorts: removed debug echo

9 years agor4594 bugfix: popup port linker was not always finding ports by type
Alexey Andriyanov [Mon, 20 Jun 2011 16:42:06 +0000 (16:42 +0000)] 
r4594 bugfix: popup port linker was not always finding ports by type

findSparePorts: refactored SQL query
renderPopupPortSelector: do not make search without any search params
renderPortsForObject: do not set "in rack" checkbox by default

9 years agor4593 linkPorts(): suppress empty string value for cable ID
Denis Ovsienko [Mon, 20 Jun 2011 10:43:14 +0000 (10:43 +0000)] 
r4593 linkPorts(): suppress empty string value for cable ID
upgrade.php: convert older empty values

9 years agor4592 queryLDAPServer(): generalize defaults, add cache timeouts
Denis Ovsienko [Mon, 20 Jun 2011 10:07:29 +0000 (10:07 +0000)] 
r4592 queryLDAPServer(): generalize defaults, add cache timeouts

9 years agor4591 getSearchResultByField(): rename arguments for clarity, clean up
Denis Ovsienko [Mon, 20 Jun 2011 09:57:43 +0000 (09:57 +0000)] 
r4591 getSearchResultByField(): rename arguments for clarity, clean up

9 years agor4590 searchCableIDs(): new function, a feed to getObjectSearchResults()
Denis Ovsienko [Sun, 19 Jun 2011 22:15:25 +0000 (22:15 +0000)] 
r4590 searchCableIDs(): new function, a feed to getObjectSearchResults()
renderSearchResults(): update for the new origin

9 years agor4589 merge of #4519
Alexey Andriyanov [Sun, 19 Jun 2011 17:27:16 +0000 (17:27 +0000)] 
r4589 merge of #4519

new feature: inverting tags on cell filter pages by clicking the checkboxes with Ctrl key

renderTagCheckbox: changed prototype, takes also inverted taglist, renders inverted differently
renderEntityTags: new syntax of calling JS compact tagtree code
renderCellFilterPortlet: support of negated taglist
shrinkSubtree: got rid of undefined notice
getCellFilter: fetches also negated tag list from REQUEST

racktables.js: moved tag tree function into new js/tag-cb.js library

9 years agor4588 merge of #4450, #4451, #4455 from trunk
Alexey Andriyanov [Sun, 19 Jun 2011 17:19:35 +0000 (17:19 +0000)] 
r4588 merge of #4450, #4451, #4455 from trunk


9 years agor4584 bugfix: allow installing of RT with empty DB password
Alexey Andriyanov [Sun, 19 Jun 2011 16:11:43 +0000 (16:11 +0000)] 
r4584 bugfix: allow installing of RT with empty DB password

init_config(): allow empty DB password

9 years agor4583 update 0.19.5 and trunk sections according to the maintenance branch state
Denis Ovsienko [Sun, 19 Jun 2011 15:52:08 +0000 (15:52 +0000)] 
r4583 update 0.19.5 and trunk sections according to the maintenance branch state

9 years agor4580 add missing bits to changeset 4552 and attribute it to 0.19.5 release
Denis Ovsienko [Sun, 19 Jun 2011 14:32:38 +0000 (14:32 +0000)] 
r4580 add missing bits to changeset 4552 and attribute it to 0.19.5 release

9 years agor4579 getAllVLANOptions(): implement filtering, drop default value, clean up
Denis Ovsienko [Sun, 19 Jun 2011 13:06:57 +0000 (13:06 +0000)] 
r4579 getAllVLANOptions(): implement filtering, drop default value, clean up
renderVLANIPLinks(): use getAllVLANOptions() instead of own code

9 years agor4578 vrp55Read8021QConfig: treat hybrid ports as 'none', do not throw an exception
Alexey Andriyanov [Thu, 16 Jun 2011 11:59:30 +0000 (11:59 +0000)] 
r4578 vrp55Read8021QConfig: treat hybrid ports as 'none', do not throw an exception

9 years agor4577 getRunning8021QConfig: throw an exception if interfaces array is empty.
Alexey Andriyanov [Thu, 16 Jun 2011 11:56:00 +0000 (11:56 +0000)] 
r4577 getRunning8021QConfig: throw an exception if interfaces array is empty.
That's because there are cases when wrong telnet password is not causing an exception (Huawei's VLAN 1 is hardcoded and always returned)

9 years agor4576 queryTerminal: eliminate tailing newline in exception error message
Alexey Andriyanov [Thu, 16 Jun 2011 11:38:55 +0000 (11:38 +0000)] 
r4576 queryTerminal: eliminate tailing newline in exception error message

9 years agor4575 running port configs are fetched for all ports, not only for switched ports
Alexey Andriyanov [Thu, 16 Jun 2011 11:37:11 +0000 (11:37 +0000)] 
r4575 running port configs are fetched for all ports, not only for switched ports

getRunning8021QConfig: the format of returning structure is changed: port config is now stored int ['portconfig'][$name] array, not in ['portdata'][$name]['config'].
formatPortConfigHints: switch to new data structure format
ios12ShortenIfName: made used from deviceconfig.php instead of regexps, so more case-insensitive logic added
deviceconfig.php: store every interface line in ['portconfig'] arrays

9 years agor4571 bugfix: object portlist was not always sorted correctly
Alexey Andriyanov [Wed, 15 Jun 2011 13:46:58 +0000 (13:46 +0000)] 
r4571 bugfix: object portlist was not always sorted correctly

compareDecomposedPortNames: added some new logic (less indices count first). Only 0, 1, -1 values are returned.

9 years agor4570 copy 0.19.4 release date
Denis Ovsienko [Wed, 15 Jun 2011 10:10:27 +0000 (10:10 +0000)] 
r4570 copy 0.19.4 release date

9 years agor4567 merge the README.Fedora upstream
Denis Ovsienko [Tue, 14 Jun 2011 17:28:05 +0000 (17:28 +0000)] 
r4567 merge the README.Fedora upstream

9 years agor4566 bugfix: error when creating IP network without specifying VLAN
Alexey Andriyanov [Tue, 14 Jun 2011 16:04:41 +0000 (16:04 +0000)] 
r4566 bugfix: error when creating IP network without specifying VLAN

addIPv4Prefix: do not assume non-empty request parameter lan_ck
addIPv6Prefix: idem
getNiftySelect: default input value of '' is better than '-1'

9 years agor4565 bugfix: it was impossible to remove the last tag of entity
Alexey Andriyanov [Tue, 14 Jun 2011 15:46:09 +0000 (15:46 +0000)] 
r4565 bugfix: it was impossible to remove the last tag of entity

modified function: rebuildTagChainForEntity

9 years agor4564 queryLDAPServer(): add two new options with default values and handle respectiv...
Denis Ovsienko [Tue, 14 Jun 2011 14:07:19 +0000 (14:07 +0000)] 
r4564 queryLDAPServer(): add two new options with default values and handle respectively (#433)

9 years agor4563 renderIPv6SpaceEditor(): employ the new VLAN SELECT
Denis Ovsienko [Tue, 14 Jun 2011 10:31:58 +0000 (10:31 +0000)] 
r4563 renderIPv6SpaceEditor(): employ the new VLAN SELECT

9 years agor4562 getNiftySelect(): move addJS() call here
Denis Ovsienko [Sun, 12 Jun 2011 09:47:03 +0000 (09:47 +0000)] 
r4562 getNiftySelect(): move addJS() call here
renderIPv4SpaceEditor(): call getNiftySelect() for a tree
renderVLANIPLinks(): remove table border

9 years agor4561 getNiftySelect(): add parameter to indicate whether a hierarchical select or...
Aaron Dummer [Sun, 12 Jun 2011 03:27:50 +0000 (03:27 +0000)] 
r4561 getNiftySelect(): add parameter to indicate whether a hierarchical select or optgroup should be used
renderVLANIPLinks(): use a hierarchical select

9 years agor4560 change rack and row data to use 'label' instead of 'name', add user and date...
Aaron Dummer [Sun, 12 Jun 2011 01:03:28 +0000 (01:03 +0000)] 
r4560 change rack and row data to use 'label' instead of 'name', add user and date fields to TagStorage data

9 years agor4559 bugfix: LLDP neighbors not working on Cisco Nexus devices
Alexey Andriyanov [Fri, 10 Jun 2011 13:31:27 +0000 (13:31 +0000)] 
r4559 bugfix: LLDP neighbors not working on Cisco Nexus devices
switched parsing function from nxos4ReadLLDPStatus to ios12ReadLLDPStatus

9 years agor4557 bugfix: Rackspace page was rendering slowly.
Alexey Andriyanov [Fri, 10 Jun 2011 09:12:44 +0000 (09:12 +0000)] 
r4557 bugfix: Rackspace page was rendering slowly.

SQL view `Row` was very slow when filtering by row_id

9 years agor4556 minor bugfix: hide pseudo-queue 'disabled' from 8021q queue list
Alexey Andriyanov [Thu, 9 Jun 2011 15:47:07 +0000 (15:47 +0000)] 
r4556 minor bugfix: hide pseudo-queue 'disabled' from 8021q queue list

9 years agor4555 addMultipleObjects(): delete meaningless comment
Denis Ovsienko [Thu, 9 Jun 2011 15:37:42 +0000 (15:37 +0000)] 
r4555 addMultipleObjects(): delete meaningless comment

9 years agor4554 scripts/syncdomain.php:
Alexey Andriyanov [Thu, 9 Jun 2011 15:14:20 +0000 (15:14 +0000)] 
r4554 scripts/syncdomain.php:
 ability to sync all the domains at-once (vdid parameters is not mandatory any more)
 filter switchlist to process by SYNC_802Q_LISTSRC constraint

wwwroot/inc/ophandlers.php: new config variable SYNC_802Q_LISTSRC
wwwroot/inc/install.php: idem
wwwroot/inc/upgrade.php: idem

generateEntityAutoTags: new object autotags $8021Q_domain_XX and $8021Q_tpl_XX
detectVLANSwitchQueue: 104 error code is removed, corresponding DB records are treated as 'sync_ready'
get8021QDeployQueues: return structure format changed, queues are separated by enabled state

render8021QStatus: 8021q queues are displayed withoud disabled hosts
renderObject8021QSync: displaying sync disabled hint
renderDeployQueue: ability to display 'disabled' pseudo-queue

9 years agor4553 bugfix: queryTerminal(): JUNOS pager disabling command was broken
Alexey Andriyanov [Thu, 9 Jun 2011 14:55:47 +0000 (14:55 +0000)] 
r4553 bugfix: queryTerminal(): JUNOS pager disabling command was broken

9 years agor4552 add new port type for VMs and virtual switches
Aaron Dummer [Thu, 9 Jun 2011 14:28:33 +0000 (14:28 +0000)] 
r4552 add new port type for VMs and virtual switches

9 years agor4551 bugfix: wrong newline characters were passed to the devices via telnet gateway
Alexey Andriyanov [Wed, 8 Jun 2011 16:22:49 +0000 (16:22 +0000)] 
r4551 bugfix: wrong newline characters were passed to the devices via telnet gateway

9 years agor4550 added sample 802.1Q data
Denis Ovsienko [Wed, 8 Jun 2011 14:51:55 +0000 (14:51 +0000)] 
r4550 added sample 802.1Q data

9 years agor4549 8021Q: switch to new 'remote' lib instead of 'gateways'
Alexey Andriyanov [Wed, 8 Jun 2011 10:07:23 +0000 (10:07 +0000)] 
r4549 8021Q: switch to new 'remote' lib instead of 'gateways'

getRunning8021QConfig: moved to remote.php and made using queryTerminal insted of queryGateway
setDevice8021QConfig: idem

9 years agor4547 getAllVLANOptions(): new helper function
Denis Ovsienko [Mon, 6 Jun 2011 17:12:48 +0000 (17:12 +0000)] 
r4547 getAllVLANOptions(): new helper function
renderIPv4SpaceEditor(): add VLAN SELECT to the form
renderIPv6SpaceEditor(): ditto
addIPv4Prefix(): add handling of VLAN compound key argument
addIPv6Prefix(): ditto
createIPv4Prefix(): ditto
createIPv6Prefix(): ditto

9 years agor4546 spelling
Denis Ovsienko [Mon, 6 Jun 2011 16:20:29 +0000 (16:20 +0000)] 
r4546 spelling

9 years agor4545 IPv6Address: add a set of static binary comparison operators
Denis Ovsienko [Mon, 6 Jun 2011 13:09:24 +0000 (13:09 +0000)] 
r4545 IPv6Address: add a set of static binary comparison operators

9 years agor4544 bugfix: IPv6Address:parse() was returning TRUE in response to empty string
Alexey Andriyanov [Mon, 6 Jun 2011 12:21:03 +0000 (12:21 +0000)] 
r4544 bugfix: IPv6Address:parse() was returning TRUE in response to empty string

9 years agor4543 further bugfix with PHP warnings in searchEntitiesByText
Alexey Andriyanov [Mon, 6 Jun 2011 11:07:11 +0000 (11:07 +0000)] 
r4543 further bugfix with PHP warnings in searchEntitiesByText

9 years agor4542 update: ability to search a remote port while linking ports together and to...
Alexey Andriyanov [Mon, 6 Jun 2011 08:42:52 +0000 (08:42 +0000)] 
r4542 update: ability to search a remote port while linking ports together and to resolve port type conflicts in-place

startPortlet, finishPortlet: moved from interface.php to interface-lib.php

findSparePorts: now accepts filter structure, filters port list with SQL by objname, portname, racklist. Returns ports which are not exactlty compatible
handlePopupPortLink: this is actually an ophandler, changes port types and links them together. Renders conflict resolve form
renderPopupObjectSelector: helper code parts were moved from  into separate functions
renderPopupPortSelector: idem
renderPopupIPv4Selector: idem
renderPopupHTML: idem, output buffering is also used to be able to call addJS/addCSS from within handlers

9 years agor4541 bugfix: unset array key PHP notices in searchEntitiesByText
Alexey Andriyanov [Mon, 6 Jun 2011 08:26:29 +0000 (08:26 +0000)] 
r4541 bugfix: unset array key PHP notices in searchEntitiesByText

9 years agor4540 clearSticker(): add attribute-level permission check
Denis Ovsienko [Fri, 3 Jun 2011 20:03:57 +0000 (20:03 +0000)] 
r4540 clearSticker(): add attribute-level permission check

9 years agor4539 Initial implementation of attribute-level access control for objects:
Denis Ovsienko [Fri, 3 Jun 2011 19:52:22 +0000 (19:52 +0000)] 
r4539 Initial implementation of attribute-level access control for objects:

renderObject(): suppress attributes without permissions clearance
updateObject(): assert permission for each attribute update
findAutoTagWarnings(): update regexp for the new autotag

9 years agor4538 more spelling
Denis Ovsienko [Thu, 2 Jun 2011 12:08:29 +0000 (12:08 +0000)] 
r4538 more spelling

9 years agor4537 formatIfTypeVariants(): spelling; ultimately fix the arrows
Denis Ovsienko [Thu, 2 Jun 2011 11:49:18 +0000 (11:49 +0000)] 
r4537 formatIfTypeVariants(): spelling; ultimately fix the arrows

9 years agor4536 minor UI changes
Alexey Andriyanov [Wed, 1 Jun 2011 13:41:27 +0000 (13:41 +0000)] 
r4536 minor UI changes

formatVLANPackDiff: vlan list diff is now unconditional, even simple diffs are displayed
renderIPv4Network: display the pager both on top and bottom of the address list

9 years agor4535 updateDictionary(): add missing global
Denis Ovsienko [Tue, 31 May 2011 10:43:22 +0000 (10:43 +0000)] 
r4535 updateDictionary(): add missing global

9 years agor4534 formatIfTypeVariants(): fix arrow characters (again)
Aaron Dummer [Tue, 31 May 2011 02:33:47 +0000 (02:33 +0000)] 
r4534 formatIfTypeVariants(): fix arrow characters (again)

9 years agor4533 formatIfTypeVariants(): fix arrow characters
Aaron Dummer [Tue, 31 May 2011 02:32:12 +0000 (02:32 +0000)] 
r4533 formatIfTypeVariants(): fix arrow characters

9 years agor4532 support for mounting zero-U objects (#173)
Aaron Dummer [Tue, 31 May 2011 01:31:52 +0000 (01:31 +0000)] 
r4532 support for mounting zero-U objects (#173)

9 years agor4531 searchEntitiesByText(): initial implementation of results filtering (for object...
Denis Ovsienko [Mon, 30 May 2011 21:22:04 +0000 (21:22 +0000)] 
r4531 searchEntitiesByText(): initial implementation of results filtering (for objects, networks and files)

9 years agor4530 bugfix: scanRealmByText now accepts vst realm
Alexey Andriyanov [Mon, 30 May 2011 14:17:54 +0000 (14:17 +0000)] 
r4530 bugfix: scanRealmByText now accepts vst realm

9 years agor4529 new dictionary items: Cisco AIR-AP1262N and AIR-AP1141N
Alexey Andriyanov [Mon, 30 May 2011 12:05:36 +0000 (12:05 +0000)] 
r4529 new dictionary items: Cisco AIR-AP1262N and AIR-AP1141N

9 years agor4528 in script mode the error and warning messages are echoed to stderr
Alexey Andriyanov [Mon, 30 May 2011 09:13:03 +0000 (09:13 +0000)] 
r4528 in script mode the error and warning messages are echoed to stderr

modified functions:

9 years agor4526 moving live ports and NDP neighbors features to using of new gateways engine
Alexey Andriyanov [Fri, 27 May 2011 12:36:30 +0000 (12:36 +0000)] 
r4526 moving live ports and NDP neighbors features to using of new gateways engine

renderPortsInfo: call to gwRetrieveDeviceConfig is replaced by queryDevice
renderDiscoveredNeighbors: idem
formatPortLinkHints: idem
formatPortMacHints: idem

9 years agor4525 removed default SLB config install handler (it was dummy anyway)
Alexey Andriyanov [Fri, 27 May 2011 11:51:02 +0000 (11:51 +0000)] 
r4525 removed default SLB config install handler (it was dummy anyway)

submitSLBConfig: added notice instead of gateway call

set default value for $local_gwdir

9 years agor4524 bugfix: wrong exception type was thrown in new gateways core
Alexey Andriyanov [Fri, 27 May 2011 09:46:13 +0000 (09:46 +0000)] 
r4524 bugfix: wrong exception type was thrown in new gateways core

queryTerminal: replaced RackTablesError by RTGatewayError
callScript: idem

9 years agor4523 bugfix: tags on racks were disappeared
Alexey Andriyanov [Fri, 27 May 2011 08:13:16 +0000 (08:13 +0000)] 
r4523 bugfix: tags on racks were disappeared
upgrade script: keep entity types 'rack' in TagStorage and FileLink tables

9 years agor4522 dynamic_title_decoder(): fix HTML TITLE in 'ipaddress' and 'ipv6address' cases
Denis Ovsienko [Thu, 26 May 2011 14:28:38 +0000 (14:28 +0000)] 
r4522 dynamic_title_decoder(): fix HTML TITLE in 'ipaddress' and 'ipv6address' cases

9 years agor4521 generateEntityAutoTags(): extend "ipv4net" and "ipv6net" cases with {$runs_8021Q}
Denis Ovsienko [Wed, 25 May 2011 13:34:07 +0000 (13:34 +0000)] 
r4521 generateEntityAutoTags(): extend "ipv4net" and "ipv6net" cases with {$runs_8021Q}

9 years agor4520 getRackSearchResult(): avoid "Rack.label"
Denis Ovsienko [Wed, 25 May 2011 12:44:33 +0000 (12:44 +0000)] 
r4520 getRackSearchResult(): avoid "Rack.label"

9 years agor4519 new feature: inverting tags on cell filter pages by clicking the checkboxes...
Alexey Andriyanov [Tue, 24 May 2011 10:07:23 +0000 (10:07 +0000)] 
r4519 new feature: inverting tags on cell filter pages by clicking the checkboxes with Ctrl key

renderTagCheckbox: changed prototype, takes also inverted taglist, renders inverted differently
renderEntityTags: new syntax of calling JS compact tagtree code
renderCellFilterPortlet: support of negated taglist
shrinkSubtree: got rid of undefined notice
getCellFilter: fetches also negated tag list from REQUEST

racktables.js: moved tag tree function into new js/tag-cb.js library

9 years agor4518 files:
Alexey Andriyanov [Tue, 24 May 2011 09:50:50 +0000 (09:50 +0000)] 
r4518 files:
gateways/telnet - universal telnet client written in Perl and using Net::Telnet module
gateways/ssh - universal ssh client written in Perl and using ssh console client
wwwroot/inc/remote.php - new gateway library

queryDevice: function takes pseudo-command (like 'get8021q') and calls appropriate handler from deviceconfig.php
translateDeviceCommands: translates pseudocommands into breed-specific commands using deviceconfig.php
queryTerminal: library function which executes commands on the remote device regardless of connection settings
callScript: the most generic gateway function (calls external script)

setDevice8021QConfig: new using translateDeviceCommands function instead of calling xlatepushq handler
*TranslatePushQueue functions changed to generate device commands which were in the gateway files before.

9 years agor4517 add absent 0.19.4 remnants
Aaron Dummer [Tue, 24 May 2011 05:24:35 +0000 (05:24 +0000)] 
r4517 add absent 0.19.4 remnants
change Rack and Row UI elements to reference Object.label instead of Object.name
fix Row editing functionality
optimize the Rack SQL view

9 years agor4515 reverting revision r4510 cause it does not help at all. More accurate work...
Alexey Andriyanov [Thu, 19 May 2011 18:41:30 +0000 (18:41 +0000)] 
r4515 reverting revision r4510 cause it does not help at all. More accurate work should be done here later.

9 years agor4514 getMountInfo(): add handling of edge cases
Denis Ovsienko [Wed, 18 May 2011 14:56:09 +0000 (14:56 +0000)] 
r4514 getMountInfo(): add handling of edge cases

9 years agor4513 make use of "label" column for rows conversion too
Denis Ovsienko [Wed, 18 May 2011 14:15:18 +0000 (14:15 +0000)] 
r4513 make use of "label" column for rows conversion too

9 years agor4512 fetchAttrsForObjects(): build a more complete cache with LEFT JOIN in mind
Denis Ovsienko [Wed, 18 May 2011 11:37:38 +0000 (11:37 +0000)] 
r4512 fetchAttrsForObjects(): build a more complete cache with LEFT JOIN in mind

9 years agor4511 justify lettercase
Denis Ovsienko [Wed, 18 May 2011 10:03:17 +0000 (10:03 +0000)] 
r4511 justify lettercase

9 years agor4510 bugfix: ignore errors while making deploy to Nexus swithes through telnet.
Alexey Andriyanov [Wed, 18 May 2011 04:25:05 +0000 (04:25 +0000)] 
r4510 bugfix: ignore errors while making deploy to Nexus swithes through telnet.
Error after the 'switchport trunk encapsulation' command was leading to inability to change 802.1q config on Nexus.

9 years agor4509 getMountInfo(): rewrite for multiple targets and smaller result footprint
Denis Ovsienko [Tue, 17 May 2011 23:01:05 +0000 (23:01 +0000)] 
r4509 getMountInfo(): rewrite for multiple targets and smaller result footprint
renderDepot(): update respectively