racktables
7 years agor5060 bugfix: containers weren't displayed properly on the list objects page (#547)
Aaron Dummer [Fri, 20 Apr 2012 04:26:56 +0000 (04:26 +0000)] 
r5060 bugfix: containers weren't displayed properly on the list objects page (#547)

7 years agor5059 update eos4Read8021QConfig() to populate "portconfig" array
Denis Ovsienko [Thu, 19 Apr 2012 10:32:45 +0000 (10:32 +0000)] 
r5059 update eos4Read8021QConfig() to populate "portconfig" array

7 years agor5058 fix dictionary entry for WS-XSUP720-3BXL
Aaron Dummer [Thu, 19 Apr 2012 03:34:43 +0000 (03:34 +0000)] 
r5058 fix dictionary entry for WS-XSUP720-3BXL

7 years agor5057 fix two EOS parsing functions for the new port naming pattern
Denis Ovsienko [Tue, 17 Apr 2012 21:27:33 +0000 (21:27 +0000)] 
r5057 fix two EOS parsing functions for the new port naming pattern

ios12ShortenIfName(): add EOS's special "Et" form
eos4ReadInterfaceStatus(): use ios12ShortenIfName()
eos4ReadMacList(): idem

7 years agor5056 adjust Arista port naming (again)
Denis Ovsienko [Tue, 17 Apr 2012 17:49:52 +0000 (17:49 +0000)] 
r5056 adjust Arista port naming (again)

7 years agor5055 initial Arista EOS support
Denis Ovsienko [Tue, 17 Apr 2012 17:48:08 +0000 (17:48 +0000)] 
r5055 initial Arista EOS support

detectDeviceBreed(): add new "eos4" breed
queryTerminal(): add commands for new case
eos4ReadLLDPStatus(): new function
eos4TranslatePushQueue(): new function
eos4BuildSwitchport(): new function
eos4Read8021QConfig(): new function
eos4ReadInterfaceStatus(): new function
eos4ReadMacList(): new function
eos4SpotConfigText(): new function

7 years agor5054 ios12ShortenIfName(): make "port-channel" case-insensitive, add "management"
Denis Ovsienko [Tue, 17 Apr 2012 17:24:37 +0000 (17:24 +0000)] 
r5054 ios12ShortenIfName(): make "port-channel" case-insensitive, add "management"

7 years agor5053 fix DCS-7124 port naming
Denis Ovsienko [Tue, 17 Apr 2012 11:29:35 +0000 (11:29 +0000)] 
r5053 fix DCS-7124  port naming

7 years agor5052 list Arista EOS 4
Denis Ovsienko [Tue, 17 Apr 2012 08:51:15 +0000 (08:51 +0000)] 
r5052 list Arista EOS 4

7 years agor5051 queryTerminal(): disable terminal monitoring for FTOS
Denis Ovsienko [Tue, 17 Apr 2012 08:48:31 +0000 (08:48 +0000)] 
r5051 queryTerminal(): disable terminal monitoring for FTOS

7 years agor5050 bugfix: IPV4_AUTO_RELEASE config var was not working since 0.19.11
Alexey Andriyanov [Mon, 16 Apr 2012 15:59:42 +0000 (15:59 +0000)] 
r5050 bugfix: IPV4_AUTO_RELEASE config var was not working since 0.19.11

maintenance functions:
bindIpToObject: IPV4_AUTO_RELEASE-related code moved here from ophandler
bindIPv6ToObject: idem
addIPv4Allocation: IPV4_AUTO_RELEASE-related code moved into database.php
addIPv6Allocation: idem

trunk functions:
bindIPToObject: IPV4_AUTO_RELEASE-related code moved here from ophandler
addIPAllocation: IPV4_AUTO_RELEASE-related code moved into database.php

7 years agor5048 fix addRack() to generate messages consistently
Denis Ovsienko [Sun, 15 Apr 2012 16:27:12 +0000 (16:27 +0000)] 
r5048 fix addRack() to generate messages consistently

7 years agor5047 fix log records display for nameless objects
Denis Ovsienko [Sun, 15 Apr 2012 15:05:39 +0000 (15:05 +0000)] 
r5047 fix log records display for nameless objects

allObjectLogs(): use spotEntity() to ensure some text inside the link

7 years agor5046 new API function buildTagIdsFromChain
Alexey Andriyanov [Fri, 13 Apr 2012 08:23:59 +0000 (08:23 +0000)] 
r5046 new API function buildTagIdsFromChain

7 years agor5045 add mapping for IE's own 'image/pjpeg' MIME type
Denis Ovsienko [Fri, 13 Apr 2012 04:58:05 +0000 (04:58 +0000)] 
r5045 add mapping for IE's own 'image/pjpeg' MIME type

7 years agor5043 justify changelogs and prepare for 0.19.12
Denis Ovsienko [Thu, 12 Apr 2012 15:25:49 +0000 (15:25 +0000)] 
r5043 justify changelogs and prepare for 0.19.12

7 years agor5042 update queryTerminal() for IOS prompt
Denis Ovsienko [Wed, 11 Apr 2012 09:33:16 +0000 (09:33 +0000)] 
r5042 update queryTerminal() for IOS prompt

7 years agor5041 fix LABELs in renderSNMPPortFinder()
Denis Ovsienko [Tue, 10 Apr 2012 13:55:23 +0000 (13:55 +0000)] 
r5041 fix LABELs in renderSNMPPortFinder()

7 years agor5040 use LABELs in renderIPAddressProperties()
Denis Ovsienko [Tue, 10 Apr 2012 13:11:27 +0000 (13:11 +0000)] 
r5040 use LABELs in renderIPAddressProperties()

7 years agor5039 bugfix: removed links to obsoleted pages ipv4vslist and ipv4rsplist
Alexey Andriyanov [Tue, 10 Apr 2012 08:19:42 +0000 (08:19 +0000)] 
r5039 bugfix: removed links to obsoleted pages ipv4vslist and ipv4rsplist

7 years agor5038 bugfix: scanIPv4Space was not prepared for recet SLB Db schema changes
Alexey Andriyanov [Mon, 9 Apr 2012 10:54:10 +0000 (10:54 +0000)] 
r5038 bugfix: scanIPv4Space was not prepared for recet SLB Db schema changes

7 years agor5037 IPv6 SLB support
Alexey Andriyanov [Sun, 8 Apr 2012 20:28:56 +0000 (20:28 +0000)] 
r5037 IPv6 SLB support

DB schema:
 'rsip' and 'vip' fields in IPv4RS and IPv4VS became varbinary(16) - universal v4/v6 data type

Data structures:
 new fields 'vip_bin' and 'rsip_bin' in corresponding data structs

Navigation:
 'IPv4 SLB' main menu item renamed to 'IP SLB'
 'lost' pages 'ipv4vslist' and 'ipv4rsplist' were removed
 new tabs 'new VS' and 'new RS pool' on SLB page.
 no more full lists to delete VS and RSPools, now it is link on Edit tab of corresponding realm's page

Functions:
 spotEntity: calculate 'vip' and 'dname' fields of ipv4vs after DB fetch
 listCells: idem
 scanIPv4Space: minor SQL edits
 scanIPv6Space: became just like scanIPv4Space, except for NAT
 fetchIPAddressNetworkRow: new v4/v6 query dispatcher
 generateEntityAutoTags: new '$any_ipv6vs' tag, '$ipv4vsid_X' renamed to '$ipvsid_X'
 renderIPv6NetworkAddresses: display VS/RSP info near IPv6 address
 setDisplayedName: calculate VS name, too
 ip_in_range: new IP utility function
 constructIPAddress: 'vslist', 'rslist' are now in common v4/v6 part
 isIPNetworkEmpty: consider 'vslist', 'rslist' in IPv6 nets
 renderSLBTriplets: minor change in detecting ipaddress pseudo-realm
 getTriplets: idem
 renderNewRSPoolForm: it was printNewItemTR in editRSPools
 -editRSPools: removed
 renderNewVSForm: it was printNewItemTR renderVSListEditForm
 -renderVSListEditForm: removed
 renderEditVService: added 'delete virtual service' link
 getTripletsByIP: reflect DB schema changes
 addRStoRSPool: idem
 commitUpdateRS: idem
 commitUpdateVS: idem
 getRSList: idem
 generateConfig: new predefined macro 'IP_VER'
 addRealServer: adapt formats to accept IPv6
 addVService: show success message with a link to new entity
 addRSPool: idem
 deleteRSPool: redirect user to ipv4slb page, not to index
 deleteVService: check if target VS is not linked
 updateRealServer: accept both v4 and v6 arguments
 updateVService: idem
 showError was renamed to showUpgradeError, because there is another function in functions.php named showError
 convertSLBTablesToBinIPs: new upgrade function, converts SLB tables to new format
 usePreparedInsertBlade: duplicated in upgrade.php

7 years agor5036 weed broken links out from the dictionary
Denis Ovsienko [Sun, 8 Apr 2012 11:04:05 +0000 (11:04 +0000)] 
r5036 weed broken links out from the dictionary

7 years agor5035 remove two extra reloadDictionary() calls from trunk
Denis Ovsienko [Sun, 8 Apr 2012 10:13:24 +0000 (10:13 +0000)] 
r5035 remove two extra reloadDictionary() calls from trunk

7 years agor5034 upgrade.php: call reloadDictionary() only once at the end
Denis Ovsienko [Sun, 8 Apr 2012 10:09:55 +0000 (10:09 +0000)] 
r5034 upgrade.php: call reloadDictionary() only once at the end

Release 0.19.8 added a foreign key relation between Dictionary and
Chapter MySQL tables. Release 0.19.12 introduces two new chapters
and respective records in Dictionary, which will fail an attempt to
INSERT performed in batches 0.19.9, 0.19.10 and 0.19.11. Doing
Dictionary updates after all the batches are complete resolves this
issue and also results in a significant speed gain of a multi-release
upgrade.

7 years agor5033 minor update for 0.19.12
Denis Ovsienko [Sun, 8 Apr 2012 09:50:20 +0000 (09:50 +0000)] 
r5033 minor update for 0.19.12

7 years agor5032 hardware warranty report by Ernest Shaffer
Denis Ovsienko [Sat, 7 Apr 2012 10:03:55 +0000 (10:03 +0000)] 
r5032 hardware warranty report by Ernest Shaffer

hwExpireReport(): new function
scanAttrRelativeDays(): new function

7 years agor5031 remove odd case from queryTerminal()
Denis Ovsienko [Fri, 6 Apr 2012 17:18:04 +0000 (17:18 +0000)] 
r5031 remove odd case from queryTerminal()

7 years agor5030 Aironet IOS is broken, use telnet method
Denis Ovsienko [Fri, 6 Apr 2012 10:51:49 +0000 (10:51 +0000)] 
r5030 Aironet IOS is broken, use telnet method

7 years agor5029 try ios12SpotConfigText() for "air12"
Denis Ovsienko [Fri, 6 Apr 2012 10:33:36 +0000 (10:33 +0000)] 
r5029 try ios12SpotConfigText() for "air12"

7 years agor5028 initial Aironet support in gateways API
Denis Ovsienko [Fri, 6 Apr 2012 10:28:32 +0000 (10:28 +0000)] 
r5028 initial Aironet support in gateways API

air12TranslatePushQueue(): new translator function
detectDeviceBreed(): update for new software codes
queryTerminal(): update for new breed

7 years agor5027 add a wireless AP software type attribute
Denis Ovsienko [Fri, 6 Apr 2012 10:12:23 +0000 (10:12 +0000)] 
r5027 add a wireless AP software type attribute

8 years agor5026 ability to delete RS pool from rs pool page, properties tab
Alexey Andriyanov [Thu, 5 Apr 2012 06:07:20 +0000 (06:07 +0000)] 
r5026 ability to delete RS pool from rs pool page, properties tab

8 years agor5025 list Dell R510 server
Denis Ovsienko [Sun, 1 Apr 2012 16:40:24 +0000 (16:40 +0000)] 
r5025 list Dell R510 server

8 years agor5024 new popup parameter 'event'. Ability to show popup div to react on click, not...
Alexey Andriyanov [Thu, 29 Mar 2012 17:08:04 +0000 (17:08 +0000)] 
r5024 new popup parameter 'event'. Ability to show popup div to react on click, not on mouse hover

8 years agor5023 ability to override and extend AJAX dispatchers in plugins.
Alexey Andriyanov [Thu, 29 Mar 2012 17:06:54 +0000 (17:06 +0000)] 
r5023 ability to override and extend AJAX dispatchers in plugins.
Dispatchers are now configured in navigation.php

-dispatchAJAXRequest: dispatcher code moved to index.php, valuable code separated by new functions
verifyCodeAJAX: AJAX handler was separated into new function
getPortInfoAJAX: idem
updatePortRsvAJAX: idem
updateIPRsvAJAX: idem
getNetUsageAJAX: idem

8 years agor5022 cmpTags: custom sort func for tagchain
Alexey Andriyanov [Thu, 29 Mar 2012 16:47:36 +0000 (16:47 +0000)] 
r5022 cmpTags: custom sort func for tagchain
serializeTags: tags are ordered by their root ids
renderNetVLAN: moved from interface.php to interface-lib.php

8 years agor5021 new utility functions
Alexey Andriyanov [Thu, 29 Mar 2012 16:45:02 +0000 (16:45 +0000)] 
r5021 new utility functions

ip_get_arpa: generates DNS record name in reverse zone for a given IP
ip4_get_arpa: idem
ip6_get_arpa: idem
array_last: returns last element of array

8 years agor5019 forgot to add JS lib into commit #5012
Alexey Andriyanov [Tue, 27 Mar 2012 11:24:56 +0000 (11:24 +0000)] 
r5019 forgot to add JS lib into commit #5012

8 years agor5018 restore message codes in tableHandler() (fixes commit 4475)
Denis Ovsienko [Fri, 23 Mar 2012 17:57:56 +0000 (17:57 +0000)] 
r5018 restore message codes in tableHandler() (fixes commit 4475)

8 years agor5017 Add records for CFP transceivers.
Denis Ovsienko [Fri, 23 Mar 2012 17:39:30 +0000 (17:39 +0000)] 
r5017 Add records for CFP transceivers.

This commit adds new IIF ID for CFP form-factor and configures it for
100GbE transceivers (but not for the 40GbE ones, because it's not clear
yet if 40G and 100G CFP sockets are the same or not).

8 years agor5016 Dismiss 10GBase-CR4 OIF type.
Denis Ovsienko [Fri, 23 Mar 2012 16:29:41 +0000 (16:29 +0000)] 
r5016 Dismiss 10GBase-CR4 OIF type.

40GBase-CR4 (QSFP+) isn't a transceiver, but a direct-attach twinax cable
assembly very much like SFP+ 10GbE counterpart. The established practice
of representing links using copper assemblies is to record an empty port
connected to another empty port. This means, standalone 40GBase-CR4 OIF
is dismissed as such, QSFP+ to QSFP+ links should be recorded instead.

8 years agor5015 ability to override the longest-prefix-by-ip network search logic
Alexey Andriyanov [Fri, 23 Mar 2012 15:59:40 +0000 (15:59 +0000)] 
r5015 ability to override the longest-prefix-by-ip network search logic

getIPv4AddressNetworkId: ability to override fetchIPv4AddressNetworkRow function
getIPv6AddressNetworkId: idem

8 years agor5014 removed accidentially committed debugging code
Alexey Andriyanov [Fri, 23 Mar 2012 13:14:41 +0000 (13:14 +0000)] 
r5014 removed accidentially committed debugging code

8 years agor5013 reverting accidentally commited development changes
Alexey Andriyanov [Fri, 23 Mar 2012 11:34:18 +0000 (11:34 +0000)] 
r5013 reverting accidentally commited development changes

8 years agor5012 Significant part of IP-related code was rewritten for clarity, unification...
Alexey Andriyanov [Fri, 23 Mar 2012 11:28:42 +0000 (11:28 +0000)] 
r5012 Significant part of IP-related code was rewritten for clarity, unification and extendability.

Visible changes:
 * IP tree rendering speed has been increased
 * IP tree filtering does not affect child networks of the filtered ones
 * In "do not show IPv4 usage" mode the network usage is availible by click through AJAX
 * Each arrow aside backtrace element in IP net pages is now clickable to display IP subtree with the corresponing net as root
 * Clicking on 'IP space' link in navigation bar from within IP net page resets saved filter
 * VLAN numbers in IP tree are rendered below CIDR, no more dedicated column
 * Auto scroll-down is performed when clicking on 'expand IP tree element' button
 * Row highlight color became nicer
 * 'knights' support for IPv6
 * IP log (allocation history) support for IPv6
 * 'collapse all' link in IP tree
 * '$spare_XX' and '$aggregate' autotags for IPv6 nets
 * v4 net usage progressbar displays both allocated and unallocated spaces
 * '$vlan_XX' autotags added to ipv4net/ipv6net cells
 * IPV4_TREE_RTR_AS_CELL config variable has another state 'none'
 * '$masklen_ge_XX' and '$masklen_le_XX' autotags removed from 'ipv4net' cells
 * Object's 'IPv4' and 'IPv6' tabs were merged into single 'IP' tab

Data structures changes:
 * all binary IPs of integer, class instance types were replaced by 4- and 16-bytes binary strings
 * range list items of scanIPv4Space parameter are now keyed by 'first' and 'last' instead if 'i32_first' and 'i32_last'
 * scanIPv6Space and scanIPv6Space results are indexed by binary string IP
 * most SQL queries were cleaned of INET_NTOA and INET_ATON - now they accept and return uint32 IPs
 * 'ip' key of getIPv4AddressSearchResult result item is now binary string
 * loadIPAddrList sets 'addrlist', 'own_addrlist', 'addrc', 'own_addrc'. No more 'addrt'.
 * findRouters output: no more 'addr', but 'ip_bin' key

 ipv4net, ipv6net entities:
 * no more 'parent_id' key
 * no more 'mask_bin_inv', 'db_first', 'db_last' keys
 * 'ip_bin', 'mask_bin' keys are now binary strings, nor integers neither IPv6Address objects
 * 'child_nets' key of ip nets is renamed to 'kidc'
 * new data structure IPRange with keys 'ip', 'ip_bin', 'mask', 'mask_bin'. ipv4net and ipv6 net are descendants of it
 * 'spare_ranges' key in ipv6net

Navigation changes:
 * new 'ip' object tab instead of 'ipv4' and 'ipv6' tabs
 * instead of updIPv4Allocation, addIPv4Allocation, delIPv4Allocation,
     updIPv6Allocation, addIPv6Allocation, delIPv6Allocation on 'ipv4' and 'ipv6' object tab, ops are named 'upd', 'add', 'del'.
 * the same for 'ipaddress' page
 * no more 'ipv6address' page, it is merged with 'ipaddress'
 * 'hl_ipaddress' and 'hl_ipv6address' http params were renamed to 'hl_ip'

Changed function list (+: new function, -: deleted function, ~: function prototype changed, *: function body changed)
- IPv6Address class
~ InvalidRequestArgException class is now a descendant of InvalidArgException
+ addIPLogEntry: v4/v6 wrapper
~ addIPv4LogEntry
+ addIPv6LogEntry
~ getAllIPv4Allocations
+ amplifyAllocationList: takes a list of allocs (returned by getObjectIPAllocationList) and fills ['addrinfo'] subarray for any IP address
+ bindIPToObject: v4/v6 wrapper
- bindIpToObject: renamed to bindIPv4ToObject
+ bindIPv4ToObject: renamed from bindIpToObject
~ bindIPv6ToObject
~ commitAddFile: now returns created id
~ commitAddObject: idem
~ commitCreateUserAccount: idem
- constructIPv4Address: replaced by constructIPAddress
- constructIPv6Address: idem
* createIPv4Prefix
* createIPv6Prefix
~ deletePortForwarding
+ fetchIPLogEntry: v4/v6 wrapper
~ fetchIPv4AddressNetworkRow
~ fetchIPv6AddressNetworkRow
~ fetchIPv4LogEntry
+ fetchIPv6LogEntry
* generateEntityAutoTags
+ getIPAddress: v4/v6 wrapper
~ getIPv4Address
~ getIPv6Address
+ getIPAddressNetworkId: v4/v6 wrapper
~ getIPv4AddressNetworkId
~ getIPv6AddressNetworkId
~ getIPv4AddressSearchResult
+ getObjectIPAllocationList: merges together the results of getObjectIPv4AllocationList and getObjectIPv6AllocationList
~ getObjectIPv4AllocationList
+ getObjectIPAllocations: v4/v6 wrapper
~ getObjectIPv4Allocations
~ getObjectIPv6Allocations
~ listCells
~ newPortForwarding
- produceTagsForLastRecord: removed if favor of produceTagsForNewRecord
+ produceTagsForNewRecord: the same as produceTagsForLastRecord, but requires new item id on input, does not call lastInsertID
+ scanIPSpace: v4/v6 wrapper
~ scanIPv4Space
~ scanIPv6Space
~ spotEntity
+ spotNetworkByIP: wrapper around getIPAddressNetworkId and spotEntity
- unbindIpFromObject: renamed into unbindIPv4FromObject
+ unbindIPFromObject: v4/v6 wrapper
+ unbindIPv4FromObject: it is the renamed unbindIpFromObject
~ unbindIPv6FromObject
~ updateAddress: v4/v6 wrapper
~ updateV4Address
~ updateV6Address
- updateBond: renamed into updateIPv4Bond
+ updateIPBond: v4/v6 wrapper
+ updateIPv4Bond: renamed from updateBond
~ updateIPv6Bond
~ updatePortForwarding

+ IPNetContains: returns TRUE if first range contains second
+ IPNetContainsOrEqual: returns TRUE if first range contains or equal to second
+ IPNetworkCmp: compares two IP ranges
- IPv4NetworkCmp: removed in favor of IPNetworkCmp
- IPv6NetworkCmp: idem
~ assertIPArg: now it returns binary IP
~ assertIPv4Arg: idem
~ assertIPv6Arg: idem
- binInvMaskFromDec: removed in favor of ~ip4_mask
- binMaskFromDec: removed in favor of ip4_mask
+ constructIPAddress: replaces constructIPv4Address and constructIPv6Address
+ constructIPRange: generates IP network array by IP and mask
- countOwnIPv4Addresses: replaced by loadIPAddrList
+ fillIPNetsCorrelation: renamed from fillIPv4NetsCorrelation
- fillIPv4SpareList: removed in favor of fillIPSpareListBstr
+ fillIPSpareListBstr: replacement of fillIPv4SpareList
- fillIPv4NetsCorrelation: renamed into fillIPNetsCorrelation
* findAllEndpoints
~ findRouters
* genericAssertion
* getCellFilter
* getEmployedVlans
~ getIPAddress
+ getIPv4OwnRangeSize: does what countOwnIPv4Addresses used to, but do not call this directly.
+ ip4_bin2db: part of IP format convertation toolkit
+ ip4_bin2int: idem
+ ip4_format: idem
+ ip4_int2bin: idem
+ ip4_parse: idem
+ ip4_checkparse: idem
+ ip6_checkparse: idem
+ ip_checkparse: idem
+ ip6_format: idem
+ ip6_parse: idem
+ ip_parse: idem
+ ip_format: idem
+ ip_mask: v4/v6 wrapper
+ ip4_mask: get binary mask from prefix length
+ ip6_mask: idem
+ ip4_range_size: part of IP range calculation toolkit
+ ip4_mask_size: idem
+ ip_last: idem
+ ip_next: idem
+ ip_prev: idem
- ip_long2quad: removed
- ip_quad2long: removed
~ iptree_construct: made v4/v6 compliant
~ iptree_embed: made v4/v6 compliant
* iptree_fill: made v4/v6 compliant
- ipv6tree_construct
- ipv6tree_embed
- ipv6tree_fill
* iptree_markup_collapsion
+ isCheckSet: function to check if HTML form's checkbox is set
+ loadIPAddrList: universal function instead of loadIPv4AddrList, loadIPv6AddrList, loadOwnIPv4Addresses, loadOwnIPv6Addresses, countOwnIPv4Addresses
- loadIPv4AddrList: removed in favor of loadIPAddrList
- loadIPv6AddrList: removed in favor of loadIPAddrList
- loadOwnIPv4Addresses: removed in favor of loadIPAddrList
- loadOwnIPv6Addresses: removed in favor of loadIPAddrList
+ makeIPTree: calculate parent_id for items in netlist
+ prepareIPTree: universal function instead of prepareIPv4Tree, prepareIPv6Tree
- prepareIPv4Tree: removed in favor of prepareIPTree
- prepareIPv6Tree removed in favor of prepareIPTree
~ searchEntitiesByText
+ set_word_value: former IPv6Address class method

+ getRenderedIPNetCapacity: v4/v6 wrapper
+ getRenderedIPv4NetCapacity
+ getRenderedIPv6NetCapacity
- formatIPv6NetUsage: code has gone into getRenderedIPv6NetCapacity
* renderProgressBar: moved from interface.php to interface-lib.php
* getProgressBar: idem
* dynamic_title_decoder
~ getPageNumOfIPv6: moved
~ getRenderedAlloc
* getRenderedIPNetBacktrace
* printIPNetInfoTDs
~ printRoutersTD
* renderCell
* renderDepot
~ renderEmptyIPv6
* renderIPAddress
* renderIPAddressAllocations
+ renderIPAddressLog: new universal renderer
- renderIPv4AddressLog: removed in favor of renderIPAddressLog
* renderIPAddressProperties
+ renderIPForObject: new universal renderer
- renderIPv4ForObject: removed in favor of renderIPTabForObject
- renderIPv6ForObject: removed in favor of renderIPTabForObjectt
+ renderIPNetworkAddresses
+ renderIPSpace: new universal renderer
- renderIPv4Space: removed in favor of renderIPv4Space
- renderIPv6Space: removed in favor of renderIPv6Space
+ renderIPSpaceEditor: new universal renderer
- renderIPv4SpaceEditor: removed in favor of renderIPSpaceEditor
- renderIPv6SpaceEditor:  removed in favor of renderIPv6SpaceEditor
+ renderIPNetwork: new universal renderer
- renderIPv4Network: removed in favor of renderIPNetwork
- renderIPv6Network: removed in favor of renderIPNetwork
+ renderIPv4NetworkAddresses: v4-specific part of renderIPv4Network gone here
* renderIPv6NetworkAddresses
+ renderIPSpaceRecords: replaces renderIPv4SpaceRecords and renderIPv6SpaceRecords
- renderIPv4SpaceRecords: removed in favor of renderIPSpaceRecords
- renderIPv6SpaceRecords: removed in favor of renderIPSpaceRecords
- renderIPTabForObject: removed in favor of renderIPForObject
* renderLivePTR
* renderNATv4ForObject
+ renderNetVLAN
* renderObject
~ renderRouterCell
* renderSearchResults
~ renderSeparator
* showPathAndSearch

* addFileWithoutLink
+ addIPAllocation: new universal ophandler
- addIPv4Allocation: removed in favor or addIPAllocation
- addIPv6Allocation: removed in favor or addIPAllocation
* addIPv4Prefix
* addIPv6Prefix
* addPortForwarding
* addRack
* addRealServer
* addRealServers
* addVService
* cloneRSPool
* createUser
+ delIPAllocation: new universal ophandler
- delIPv4Allocation: removed in favor or delIPAllocation
- delIPv6Allocation: removed in favor or delIPAllocation
* delIPv4Prefix
* delIPv6Prefix
* delPortForwarding
* editAddress: universal ophandler instead of v4-only
- editv6Address: removed in favor of editAddress
* importPTRData
+ updIPAllocation: new universal ophandler
- updIPv4Allocation: removed in favor or updIPAllocation
- updIPv6Allocation: removed in favor of updIPAllocation
* updPortForwarding
* updateObject
* updateRack
* updateRealServer
* updateVService

* renderSLBTriplets
~ addRStoRSPool
* commitCreateRSPool
~ commitUpdateRS
~ commitUpdateVS
+ renderProgressBar4Image: 4-fields progress-bar renderer
+ triggerIPAddressLog: universal trigger
- triggerIPv4AddressLog: removed in favor of triggerIPAddressLog
+ trigger_ip: universal trigger
- trigger_ipv4: removed in favor of trigger_ip
- trigger_ipv6: removed in favor of trigger_ip
* trigger_natv4
* executeUpgradeBatch

8 years agor5011 bugfix: fetchPortList: wrong field name 'cable_id' renamed to 'cableid'
Alexey Andriyanov [Fri, 23 Mar 2012 10:49:14 +0000 (10:49 +0000)] 
r5011 bugfix: fetchPortList: wrong field name 'cable_id' renamed to 'cableid'

8 years agor5010 non-anonymous LDAP search (#442) by Hannes Georg
Denis Ovsienko [Sat, 17 Mar 2012 09:58:43 +0000 (09:58 +0000)] 
r5010 non-anonymous LDAP search (#442) by Hannes Georg

queryLDAPServer(): add handling of "search_bind_rdn" and "search_bind_password"
init_config(): add two new options to generated comment block

8 years agor5009 Linux releases update by Michael C Tiernan (#542)
Denis Ovsienko [Sat, 17 Mar 2012 08:25:06 +0000 (08:25 +0000)] 
r5009 Linux releases update by Michael C Tiernan (#542)

8 years agor5008 resetUIConfig(): update for the new value of DEFAULT_PORT_OIF_IDS
Denis Ovsienko [Sat, 17 Mar 2012 07:26:31 +0000 (07:26 +0000)] 
r5008 resetUIConfig(): update for the new value of DEFAULT_PORT_OIF_IDS

8 years agor5007 add 40GbE QSFP+ rows
Denis Ovsienko [Sat, 17 Mar 2012 07:19:21 +0000 (07:19 +0000)] 
r5007 add 40GbE QSFP+ rows

8 years agor5006 renderSNMPPortFinder: got rid of PHP notice
Alexey Andriyanov [Fri, 16 Mar 2012 18:57:37 +0000 (18:57 +0000)] 
r5006 renderSNMPPortFinder: got rid of PHP notice

8 years agor5005 fetchPortList: SQL query was optimized for speed
Alexey Andriyanov [Fri, 16 Mar 2012 18:40:14 +0000 (18:40 +0000)] 
r5005 fetchPortList: SQL query was optimized for speed

fix by Boris Lytochkin

8 years agor5004 renderUpgraderHTML(): minor text correction
Denis Ovsienko [Thu, 15 Mar 2012 16:15:47 +0000 (16:15 +0000)] 
r5004 renderUpgraderHTML(): minor text correction

8 years agor5003 0.19.12: add missing serial console queries
Denis Ovsienko [Thu, 15 Mar 2012 16:12:44 +0000 (16:12 +0000)] 
r5003 0.19.12: add missing serial console queries

8 years agor5002 formatAttributeValue(): punctuation
Denis Ovsienko [Thu, 15 Mar 2012 15:50:03 +0000 (15:50 +0000)] 
r5002 formatAttributeValue(): punctuation

8 years agor5001 renderUpgraderHTML(): explain authentication failure in more details
Denis Ovsienko [Thu, 15 Mar 2012 15:40:36 +0000 (15:40 +0000)] 
r5001 renderUpgraderHTML(): explain authentication failure in more details

8 years agor5000 initial serial console servers records
Denis Ovsienko [Thu, 15 Mar 2012 15:37:34 +0000 (15:37 +0000)] 
r5000 initial serial console servers records

8 years agor4999 0.19.12 upgrade batch: fix array syntax
Denis Ovsienko [Thu, 15 Mar 2012 14:58:59 +0000 (14:58 +0000)] 
r4999 0.19.12 upgrade batch: fix array syntax

8 years agor4998 Added a reference to COPYING into every file with meaningful PHP, Perl or
Denis Ovsienko [Wed, 14 Mar 2012 12:58:35 +0000 (12:58 +0000)] 
r4998 Added a reference to COPYING into every file with meaningful PHP, Perl or
shell code; added a reference to LICENSE into COPYING.

8 years agor4996 add UNIX socket support to installer
Denis Ovsienko [Sat, 10 Mar 2012 13:59:17 +0000 (13:59 +0000)] 
r4996 add UNIX socket support to installer

init_config(): refactor form error handling and merge some of the logic
  previously suggested by Michael Richardson

8 years agor4995 fix banner comment
Denis Ovsienko [Sat, 10 Mar 2012 13:14:33 +0000 (13:14 +0000)] 
r4995 fix banner comment

8 years agor4994 add 2 missing IDs to make LABELs work
Denis Ovsienko [Sat, 10 Mar 2012 11:54:42 +0000 (11:54 +0000)] 
r4994 add 2 missing IDs to make LABELs work

8 years agor4993 add helpdesk banner handling
Denis Ovsienko [Sat, 10 Mar 2012 10:32:18 +0000 (10:32 +0000)] 
r4993 add helpdesk banner handling

init_config(): add extra comment to generated secret.php
RackTablesError::genHTMLPage(): use extra text, when it is configured

8 years agor4992 There is now a backup prompt in the upgrade form, which makes sure
Denis Ovsienko [Fri, 9 Mar 2012 16:13:10 +0000 (16:13 +0000)] 
r4992 There is now a backup prompt in the upgrade form, which makes sure
the upgrade is intended. Now the user can read the release notes
before any changes are committed.

8 years agor4991 Do not use hardcoded version string in installer, make CODE_VERSION do the...
Denis Ovsienko [Fri, 9 Mar 2012 11:31:42 +0000 (11:31 +0000)] 
r4991 Do not use hardcoded version string in installer, make CODE_VERSION do the trick.

8 years agor4990 reloadDictionary(): do 25 rows with 1 INSERT, this makes the
Denis Ovsienko [Fri, 9 Mar 2012 11:16:38 +0000 (11:16 +0000)] 
r4990 reloadDictionary(): do 25 rows with 1 INSERT, this makes the
  "database population" installer step about 7 times faster

8 years agor4989 render8021QReport(): use some rackspace styling in report table
Denis Ovsienko [Fri, 9 Mar 2012 09:59:08 +0000 (09:59 +0000)] 
r4989 render8021QReport(): use some rackspace styling in report table

8 years agor4988 Dismiss 7 color config options and use hardcoded values instead,
Denis Ovsienko [Fri, 9 Mar 2012 09:22:26 +0000 (09:22 +0000)] 
r4988 Dismiss 7 color config options and use hardcoded values instead,
because most of the other colors are hardcoded anyway. These
options made the code look better, than it actually was.

pi.css: add CSS classes
upgrade.php: add respective DELETE statement
install.php: remove rows from Config table
generateMiniRack(): update to use hardcoded hex colors
renderProgressBarImage(): idem
addAtomCSS(): sayonara
renderRack(): update respectively
renderMolecule(): idem
renderAtomGrid(): idem

8 years agor4987 justify Fedora releases
Denis Ovsienko [Wed, 7 Mar 2012 11:01:24 +0000 (11:01 +0000)] 
r4987 justify Fedora releases

8 years agor4986 init.php: ability to override username in script mode
Alexey Andriyanov [Wed, 7 Mar 2012 10:03:45 +0000 (10:03 +0000)] 
r4986 init.php: ability to override username in script mode

8 years agor4985 NX-OS 6.0 gateways support
Alexey Andriyanov [Wed, 7 Mar 2012 07:04:09 +0000 (07:04 +0000)] 
r4985 NX-OS 6.0 gateways support

8 years agor4984 NX-OS 6.0 is out
Denis Ovsienko [Tue, 6 Mar 2012 15:14:50 +0000 (15:14 +0000)] 
r4984 NX-OS 6.0 is out

8 years agor4982 ftos8Read8021QConfig(): update for "default-vlan disable", clean minor bits up
Denis Ovsienko [Thu, 1 Mar 2012 16:41:43 +0000 (16:41 +0000)] 
r4982 ftos8Read8021QConfig(): update for "default-vlan disable", clean minor bits up

8 years agor4980 ExtremeOS deploying was fixed
Alexey Andriyanov [Wed, 29 Feb 2012 10:06:02 +0000 (10:06 +0000)] 
r4980 ExtremeOS deploying was fixed

telnet client was not detecting device Y/N question

8 years agor4978 renderObject: optimized (do not call getLogRecordsForObject twice)
Alexey Andriyanov [Tue, 28 Feb 2012 18:44:05 +0000 (18:44 +0000)] 
r4978 renderObject: optimized (do not call getLogRecordsForObject twice)
changelog entry for 0.19.12 added

8 years agor4977 Bump trunk config revision to 0.20.0
Alexey Andriyanov [Sun, 26 Feb 2012 06:52:24 +0000 (06:52 +0000)] 
r4977 Bump trunk config revision to 0.20.0

Those of us who use trunk in production need to bump DB revision
manually every time new mainenance version is released.
This commit fixes the problem.

8 years agor4975 pre-release changes
Aaron Dummer [Sat, 25 Feb 2012 18:53:09 +0000 (18:53 +0000)] 
r4975 pre-release changes

8 years agor4973 add jthurman to list of 2012 contributors
Aaron Dummer [Sat, 25 Feb 2012 18:50:10 +0000 (18:50 +0000)] 
r4973 add jthurman to list of 2012 contributors

8 years agor4972 add 'Slot number' attribute to install.php
Aaron Dummer [Sat, 25 Feb 2012 18:35:41 +0000 (18:35 +0000)] 
r4972 add 'Slot number' attribute to install.php

8 years agor4971 EntityLink-compound index is goint to be released in 0.19.11, so move it up...
Alexey Andriyanov [Thu, 23 Feb 2012 20:30:46 +0000 (20:30 +0000)] 
r4971 EntityLink-compound index is goint to be released in 0.19.11, so move it up in upgrade script

EntityLink-child index is considered unnecessary and has been removed from upgrade script

8 years agor4967 list 0.19.11 in upgrade path
Denis Ovsienko [Tue, 21 Feb 2012 15:42:19 +0000 (15:42 +0000)] 
r4967 list 0.19.11 in upgrade path

8 years agor4965 changes needed to support Juniper MX as 802.1q switch via custom plugin
Alexey Andriyanov [Mon, 20 Feb 2012 14:05:05 +0000 (14:05 +0000)] 
r4965 changes needed to support Juniper MX as 802.1q switch via custom plugin

setDevice8021QConfig: treat JunOS CLI special cases and throw exceptions
renderObject8021QSync: ability to override summary rows
exec8021QDeploy: ability to handle 8021q push error in plugin
jun10TranslatePushQueue: removed debugging "commit confirmed 120" statement

8 years agor4963 fix AttributeValue FK in installer
Denis Ovsienko [Sat, 18 Feb 2012 09:51:27 +0000 (09:51 +0000)] 
r4963 fix AttributeValue FK in installer

8 years agor4962 getDomainVLANs: hot bugfix
Alexey Andriyanov [Fri, 17 Feb 2012 15:36:44 +0000 (15:36 +0000)] 
r4962 getDomainVLANs: hot bugfix

8 years agor4961 getDomainVLANs: SQL query optimized
Alexey Andriyanov [Fri, 17 Feb 2012 15:28:53 +0000 (15:28 +0000)] 
r4961 getDomainVLANs: SQL query optimized

8 years agor4960 printSVGMessageBar(): new helper function
Denis Ovsienko [Fri, 17 Feb 2012 10:22:26 +0000 (10:22 +0000)] 
r4960 printSVGMessageBar(): new helper function
index.php: implement "svg" module
navigation.php: new gobal $svghandler array

8 years agor4959 TLS LDAP option by Nick Hilliard
Denis Ovsienko [Wed, 15 Feb 2012 14:44:28 +0000 (14:44 +0000)] 
r4959 TLS LDAP option by Nick Hilliard

8 years agor4958 introduce 10GBase-T OIF type
Denis Ovsienko [Sun, 12 Feb 2012 10:12:11 +0000 (10:12 +0000)] 
r4958 introduce 10GBase-T OIF type

8 years agor4956 add SNMP support for 2651XM (#526)
Aaron Dummer [Sat, 11 Feb 2012 06:57:59 +0000 (06:57 +0000)] 
r4956 add SNMP support for 2651XM (#526)

8 years agor4955 renderMyAccount: display explicit, implicit and automatic tag chains on the...
Alexey Andriyanov [Fri, 10 Feb 2012 15:05:57 +0000 (15:05 +0000)] 
r4955 renderMyAccount: display explicit, implicit and automatic tag chains on the 'my account' page
This feature is very useful when 'context insert' rules take place in your permissions config

8 years agor4954 add SNMP support for WS-C3550-24 (#525)
Aaron Dummer [Fri, 10 Feb 2012 05:16:17 +0000 (05:16 +0000)] 
r4954 add SNMP support for WS-C3550-24 (#525)

8 years agor4950 add SNMP support for HP ProCurve 6600-48G-4XG (#522)
Aaron Dummer [Thu, 9 Feb 2012 03:03:46 +0000 (03:03 +0000)] 
r4950 add SNMP support for HP ProCurve 6600-48G-4XG (#522)

8 years agor4949 Load balancers list in ipv4slb page was not complete
Alexey Andriyanov [Wed, 8 Feb 2012 18:38:16 +0000 (18:38 +0000)] 
r4949 Load balancers list in ipv4slb page was not complete

8 years agor4948 add dictionary entries for HP 5400zl, sync trunk & maint
Aaron Dummer [Sat, 4 Feb 2012 16:43:53 +0000 (16:43 +0000)] 
r4948 add dictionary entries for HP 5400zl, sync trunk & maint

8 years agor4947 renderObject(): display child objects properly
Aaron Dummer [Sat, 4 Feb 2012 08:44:20 +0000 (08:44 +0000)] 
r4947 renderObject(): display child objects properly

8 years agor4946 bugfix: telnet gateway was throwing error if the last input command
Alexey Andriyanov [Wed, 1 Feb 2012 17:32:14 +0000 (17:32 +0000)] 
r4946 bugfix: telnet gateway was throwing error if the last input command
was 'quit', 'exit' or something else which causes remote session interrupt.

8 years agor4945 IPv6Address::format(): prevent "Strict Standards: Only variables should be...
Aaron Dummer [Wed, 1 Feb 2012 02:58:14 +0000 (02:58 +0000)] 
r4945 IPv6Address::format(): prevent "Strict Standards: Only variables should be passed by reference" warning

8 years agor4944 bugfix: inefficient SQL query fixed, so [object][default] tab was speeded up...
Alexey Andriyanov [Tue, 31 Jan 2012 15:53:52 +0000 (15:53 +0000)] 
r4944 bugfix: inefficient SQL query fixed, so [object][default] tab was speeded up drastically.

getResidentRacksData: first SQL query was made using index

8 years agor4943 catch errors when uploading files (#420)
Aaron Dummer [Mon, 30 Jan 2012 01:28:23 +0000 (01:28 +0000)] 
r4943 catch errors when uploading files (#420)