racktables
9 years agor3380 fix #320 (WS-C3524-XL)
Denis Ovsienko [Tue, 23 Mar 2010 14:10:09 +0000 (14:10 +0000)] 
r3380 fix #320 (WS-C3524-XL)

9 years agor3379 copy changeset 3357 into trunk to close #316
Denis Ovsienko [Tue, 23 Mar 2010 13:53:09 +0000 (13:53 +0000)] 
r3379 copy changeset 3357 into trunk to close #316

9 years agor3378 employ output buffering to hide file contents
Denis Ovsienko [Mon, 22 Mar 2010 13:52:53 +0000 (13:52 +0000)] 
r3378 employ output buffering to hide file contents

9 years agor3376 importSwitch8021QConfig(): rewrite a lot to focus on primary decision making
Denis Ovsienko [Fri, 19 Mar 2010 18:37:50 +0000 (18:37 +0000)] 
r3376 importSwitch8021QConfig(): rewrite a lot to focus on primary decision making
exportSwitch8021QConfig(): idem
processVLANSyncRequest(): handle transaction and data addressing
savePortVLANConfig(): also call importSwitch8021QConfig() new way

9 years agor3375 importSwitch8021QConfig(): update last_pull
Denis Ovsienko [Fri, 19 Mar 2010 15:07:25 +0000 (15:07 +0000)] 
r3375 importSwitch8021QConfig(): update last_pull
exportSwitch8021QConfig(): employ write-lock and update last_push

9 years agor3374 processVLANSyncRequest(): simplify switch() block
Denis Ovsienko [Fri, 19 Mar 2010 14:28:03 +0000 (14:28 +0000)] 
r3374 processVLANSyncRequest(): simplify switch() block

9 years agor3373 exportSwitch8021QConfig(): draft expiry detection code a la importSwitch8021QCo...
Denis Ovsienko [Fri, 19 Mar 2010 14:06:53 +0000 (14:06 +0000)] 
r3373 exportSwitch8021QConfig(): draft expiry detection code a la importSwitch8021QConfig()

9 years agor3372 computeSwitchPushRequest(): dismiss, merged by exportSwitch8021QConfig()
Denis Ovsienko [Fri, 19 Mar 2010 13:12:10 +0000 (13:12 +0000)] 
r3372 computeSwitchPushRequest(): dismiss, merged by exportSwitch8021QConfig()

9 years agor3371 More cleanups:
Denis Ovsienko [Fri, 19 Mar 2010 12:48:01 +0000 (12:48 +0000)] 
r3371 More cleanups:

processVLANSyncRequest(): fill change request queue for export in same details, as for import
exportSwitch8021QConfig(): rename argument for consistency
computeSwitchPushRequest(): adjust accordingly

9 years agor3370 getDevice8021QConfig(): rename to getRunning8021QConfig()
Denis Ovsienko [Fri, 19 Mar 2010 11:11:35 +0000 (11:11 +0000)] 
r3370 getDevice8021QConfig(): rename to getRunning8021QConfig()

9 years agor3369 computeSwitchPushRequest(): get domain VLANs with a cheaper function
Denis Ovsienko [Fri, 19 Mar 2010 11:08:19 +0000 (11:08 +0000)] 
r3369 computeSwitchPushRequest(): get domain VLANs with a cheaper function

9 years agor3368 setSwitchVLANConfig(): rename to importSwitch8021QConfig()
Denis Ovsienko [Fri, 19 Mar 2010 10:30:22 +0000 (10:30 +0000)] 
r3368 setSwitchVLANConfig(): rename to importSwitch8021QConfig()

9 years agor3367 setSwitchVLANConfig(): removed duplicate code
Denis Ovsienko [Fri, 19 Mar 2010 10:14:26 +0000 (10:14 +0000)] 
r3367 setSwitchVLANConfig(): removed duplicate code

9 years agor3366 fixed mistyping
Denis Ovsienko [Fri, 19 Mar 2010 09:53:46 +0000 (09:53 +0000)] 
r3366 fixed mistyping

9 years agor3365 setSwitchVLANConfig(): updated "go-or-no" logic
Denis Ovsienko [Fri, 19 Mar 2010 09:22:40 +0000 (09:22 +0000)] 
r3365 setSwitchVLANConfig(): updated "go-or-no" logic

9 years agor3364 array_values_same(): new helper function
Denis Ovsienko [Fri, 19 Mar 2010 09:21:07 +0000 (09:21 +0000)] 
r3364 array_values_same(): new helper function

9 years agor3363 setSwitchVLANConfig(): justify indentation
Denis Ovsienko [Thu, 18 Mar 2010 18:06:13 +0000 (18:06 +0000)] 
r3363 setSwitchVLANConfig(): justify indentation

9 years agor3362 deleted stale comment
Denis Ovsienko [Thu, 18 Mar 2010 15:45:30 +0000 (15:45 +0000)] 
r3362 deleted stale comment

9 years agor3361 vrp53.connector: undo debug change, which was committed mistakenly
Denis Ovsienko [Thu, 18 Mar 2010 15:00:45 +0000 (15:00 +0000)] 
r3361 vrp53.connector: undo debug change, which was committed mistakenly

9 years agor3360 getVLANSwitchInfo(): add a quick fix
Denis Ovsienko [Thu, 18 Mar 2010 14:56:53 +0000 (14:56 +0000)] 
r3360 getVLANSwitchInfo(): add a quick fix

9 years agor3359 Cleanup database functions a bit.
Denis Ovsienko [Thu, 18 Mar 2010 14:23:37 +0000 (14:23 +0000)] 
r3359 Cleanup database functions a bit.

getVLANSwitchInfo(): add optional second argument for locking mode
exportSwitch8021QConfig(): make use of the new syntax
setSwitchVLANConfig(): idem
commitReduceVLANSwitch(): rewrite with usePreparedDeleteBlade()
commitReduceVLANDescription(): idem
commitReduceVLANIPv4(): idem

9 years agor3358 Add necessary mods to treat alien VLAN more appropriately.
Denis Ovsienko [Thu, 18 Mar 2010 13:59:55 +0000 (13:59 +0000)] 
r3358 Add necessary mods to treat alien VLAN more appropriately.

renderPortVLANConfig(): disable inputs, which the user is not supposed to change
setPortVLANConfig(): merged into setSwitchVLANConfig()
setSwitchVLANConfig(): filter user input to cancel any changes to alien VLANs state

9 years agor3355 Added some visual improvements:
Denis Ovsienko [Wed, 17 Mar 2010 13:16:29 +0000 (13:16 +0000)] 
r3355 Added some visual improvements:

set tab name to "802.1Q live"
renderObjectVLANPorts(): sort port list in a natural way
renderObjectVLANSync(): idem

9 years agor3354 ios12TranslatePushQueue(): detect VLAN ID ranges and issue IOS commands accordingly
Denis Ovsienko [Tue, 16 Mar 2010 15:21:46 +0000 (15:21 +0000)] 
r3354 ios12TranslatePushQueue(): detect VLAN ID ranges and issue IOS commands accordingly

9 years agor3353 computeSwitchPushRequest(): fix a bug to make $ports_to_do really be
Denis Ovsienko [Tue, 16 Mar 2010 11:51:58 +0000 (11:51 +0000)] 
r3353 computeSwitchPushRequest(): fix a bug to make $ports_to_do really be
  used in computation; change conditions to consider device's VLAN
  table in addition to VLAN domain data
processVLANSyncRequest(): call exportSwitch8021QConfig() only with work to do

9 years agor3352 vrp53TranslatePushQueue(): initial version
Denis Ovsienko [Mon, 15 Mar 2010 18:28:01 +0000 (18:28 +0000)] 
r3352 vrp53TranslatePushQueue(): initial version

9 years agor3351 VLANEligibleOIF: also list OIFs of empty pluggable ports, so
Denis Ovsienko [Mon, 15 Mar 2010 17:45:58 +0000 (17:45 +0000)] 
r3351 VLANEligibleOIF: also list OIFs of empty pluggable ports, so
they can be configured in the absence of transcievers.

9 years agor3350 addVLANDescription(): supply 'vlan_type' argument where it is expected to be
Denis Ovsienko [Mon, 15 Mar 2010 17:30:21 +0000 (17:30 +0000)] 
r3350 addVLANDescription(): supply 'vlan_type' argument where it is expected to be

9 years agor3349 Adding initial implementation of Huawei VRP 5.30 configuration reader.
Denis Ovsienko [Mon, 15 Mar 2010 17:21:15 +0000 (17:21 +0000)] 
r3349 Adding initial implementation of Huawei VRP 5.30 configuration reader.

vrp53ReadVLANConfig(): new function
vrp53ScanTopLevel(): idem
vrp53ParseVLANString(): idem
vrp53PickInterfaceSubcommand(): idem
detectDeviceBreed(): update as required
getDevice8021QConfig(): idem

9 years agor3348 Huawei VRP 5.30 connector: initial edition
Denis Ovsienko [Mon, 15 Mar 2010 11:42:26 +0000 (11:42 +0000)] 
r3348 Huawei VRP 5.30 connector: initial edition

9 years agor3347 Huawei-specific bits: fixed description of S5328C-EI-24S, added S5328C-SI support.
Denis Ovsienko [Mon, 15 Mar 2010 11:13:11 +0000 (11:13 +0000)] 
r3347 Huawei-specific bits: fixed description of S5328C-EI-24S, added S5328C-SI support.

9 years agor3345 added Quidway s53xx switches to dictionary
Denis Ovsienko [Mon, 15 Mar 2010 10:39:16 +0000 (10:39 +0000)] 
r3345 added Quidway s53xx switches to dictionary

9 years agor3342 index.php: employ call_user_func() for callback
Denis Ovsienko [Sat, 13 Mar 2010 10:14:42 +0000 (10:14 +0000)] 
r3342 index.php: employ call_user_func() for callback
showTabs(): idem
redirectIfNecessary(): idem
process.php: idem

9 years agor3341 remove extra closing tag
Denis Ovsienko [Sat, 13 Mar 2010 10:12:41 +0000 (10:12 +0000)] 
r3341 remove extra closing tag

9 years agor3340 HTTP response header is a better place for charset information,
Denis Ovsienko [Thu, 11 Mar 2010 22:49:30 +0000 (22:49 +0000)] 
r3340 HTTP response header is a better place for charset information,
than HTML META element (ticket #312 by Ã˜ystein Rose).

9 years agor3339 This seems to be the first two-way implementation of 802.1Q.
Denis Ovsienko [Wed, 10 Mar 2010 13:53:04 +0000 (13:53 +0000)] 
r3339 This seems to be the first two-way implementation of 802.1Q.

detectDeviceBreed(): new function to hold common code
setDevice8021QConfig(): new function, counterpart to getDevice8021QConfig()
gwDeployDeviceConfig(): new function, counterpart to gwRetrieveDeviceConfig()
unix2dos(): new function, counterpart to dos2unix()
exportSwitch8021QConfig(): new function, transactional wrapper for setDevice8021QConfig()
processVLANSyncRequest(): collect data for and call exportSwitch8021QConfig()

9 years agor3338 deviceconfig: implement "deploy" command and do some code cleanup
Denis Ovsienko [Wed, 10 Mar 2010 10:37:25 +0000 (10:37 +0000)] 
r3338 deviceconfig: implement "deploy" command and do some code cleanup

9 years agor3337 fdry5PickVLANSubcommand(): fill "portdata" list with port_name as key
Denis Ovsienko [Wed, 10 Mar 2010 09:53:35 +0000 (09:53 +0000)] 
r3337 fdry5PickVLANSubcommand(): fill "portdata" list with port_name as key
fdry5PickInterfaceSubcommand(): idem
ios12PickSwitchportCommand(): idem
renderObjectVLANSync(): fix try-catch block, look for port_name where it now is
computeSwitchPushRequest(): fix device_config iteration, improve computations

9 years agor3336 computeSwitchPushRequest(): a more complete version
Denis Ovsienko [Wed, 10 Mar 2010 08:25:14 +0000 (08:25 +0000)] 
r3336 computeSwitchPushRequest(): a more complete version
ios12TranslatePushQueue(): initial implementation
fdry5TranslatePushQueue(): initial implementation

9 years agor3335 computeSwitchPushRequest(): added draft code
Denis Ovsienko [Tue, 9 Mar 2010 19:59:39 +0000 (19:59 +0000)] 
r3335 computeSwitchPushRequest(): added draft code

9 years agor3334 A session of work to replace port_id with object_id+port_name, which
Denis Ovsienko [Tue, 9 Mar 2010 18:55:29 +0000 (18:55 +0000)] 
r3334 A session of work to replace port_id with object_id+port_name, which
seems to be helpful for 802.1Q implementation.

PortAllowedVLAN: schema update
PortNativeVLAN: idem
setSwitchVLANConfig(): accept args in a new style
savePortVLANConfig(): follow spec change
processVLANSyncRequest(): rewrite
renderObjectVLANPorts(): make use of getDesired8021QConfig()
renderPortVLANConfig(): change spec, use port_name instead of port_id
renderVLANIPv4(): switch to port_name
renderObjectVLANSync(): rewrite
usePreparedDeleteBlade(): fixed bugs from last commit
getAllowedVLANsForObjectPorts(): sayonara
getNativeVLANsForObjectPorts(): sayonara
getDesired8021QConfig(): new function instead
setPortVLANConfig(): change spec, rewrite
getVLANConfiguredPorts(): follow schema change, return port_name only
setSwitchVLANConfig(): make use of getDesired8021QConfig(), fix bugs, update
computeSwitchPushRequest(): rewrite

9 years agor3333 usePreparedDeleteBlade(): rewrite function spec like the one usePreparedInsertB...
Denis Ovsienko [Tue, 9 Mar 2010 15:30:30 +0000 (15:30 +0000)] 
r3333 usePreparedDeleteBlade(): rewrite function spec like the one usePreparedInsertBlade() implements
setPortVLANConfig(): reflect the change
destroyVLANDomain(): idem

9 years agor3332 computeSwitchPushRequest(): initial draft implementation
Denis Ovsienko [Mon, 8 Mar 2010 18:11:15 +0000 (18:11 +0000)] 
r3332 computeSwitchPushRequest(): initial draft implementation

9 years agor3331 renderObjectVLANSync(): make use of scanArrayForItem(), improve iteration cycles
Denis Ovsienko [Sat, 6 Mar 2010 18:02:28 +0000 (18:02 +0000)] 
r3331 renderObjectVLANSync(): make use of scanArrayForItem(), improve iteration cycles

9 years agor3330 repeat changeset 3329 for trunk
Denis Ovsienko [Sat, 6 Mar 2010 17:37:08 +0000 (17:37 +0000)] 
r3330 repeat changeset 3329 for trunk

9 years agor3328 ios12.connector: also include VLAN table into output
Denis Ovsienko [Sat, 6 Mar 2010 13:38:56 +0000 (13:38 +0000)] 
r3328 ios12.connector: also include VLAN table into output
iosReadVLANConfig(): renamed to ios12ReadVLANConfig() for consistency, start with 2-node array
iosPickInterfaceCommand(): renamed to ios12ScanTopLevel(), added VLAN table detection and ifname mapping
getDevice8021QConfig(): adjusted accordingly
renderObjectVLANSync(): don't perform ifname mapping here, use 'portdata' sub-node
iosPickSwitchportCommand(): renamed to ios12PickSwitchportCommand()
ios12PickVLANCommand(): new function
fdry5ReadVLANConfig(): start with 2-node array, perform VLAN list maintenance
fdry5PickVLANSubcommand(): omit condition, which is always met

9 years agor3327 fixed scanArrayForItem() use cases
Denis Ovsienko [Thu, 4 Mar 2010 17:36:31 +0000 (17:36 +0000)] 
r3327 fixed scanArrayForItem() use cases

9 years agor3326 getDevice8021QConfig(): new function to add some vendor neutrality
Denis Ovsienko [Thu, 4 Mar 2010 17:23:27 +0000 (17:23 +0000)] 
r3326 getDevice8021QConfig(): new function to add some vendor neutrality
renderObjectVLANSync(): adjust accordingly
scanArrayForItem(): new generic helper function
fdry5ReadVLANConfig(): initial implementation of Foundry config reader
fdry5ScanTopLevel(): idem
fdry5PickVLANSubcommand(): idem
fdry5PickInterfaceSubcommand(): idem
fdry5ParsePortString(): idem
fdry5GenPortRange(): idem

9 years agor3325 deviceconfig: renamed cisco.secrets.php to switch.secrets.php
Denis Ovsienko [Thu, 4 Mar 2010 12:31:15 +0000 (12:31 +0000)] 
r3325 deviceconfig: renamed cisco.secrets.php to switch.secrets.php
deviceconfig: now expect cooked handler as argument instead of hardware and software strings
deviceconfig: cisco.connector becomes ios12.connector
gwRetrieveDeviceConfig(): redo with exceptions
renderObjectVLANSync(): ditto

9 years agor3324 adding initial working implementation of Foundry connector for "deviceconfig...
Denis Ovsienko [Wed, 3 Mar 2010 19:15:55 +0000 (19:15 +0000)] 
r3324 adding initial working implementation of Foundry connector for "deviceconfig" gateway

9 years agor3323 iosPickSwitchportCommand(): ignore "native" unless it's in the "allowed"
Denis Ovsienko [Wed, 3 Mar 2010 16:07:48 +0000 (16:07 +0000)] 
r3323 iosPickSwitchportCommand(): ignore "native" unless it's in the "allowed"

9 years agor3322 checkColumnOfRadios(): new JavaScript helper function
Denis Ovsienko [Wed, 3 Mar 2010 15:47:31 +0000 (15:47 +0000)] 
r3322 checkColumnOfRadios(): new JavaScript helper function
renderObjectVLANSync(): employ new JS code

9 years agor3321 try setting standard SVN properties to get rid of CRLFs
Denis Ovsienko [Wed, 3 Mar 2010 14:41:50 +0000 (14:41 +0000)] 
r3321 try setting standard SVN properties to get rid of CRLFs

9 years agor3320 renderIPv4SpaceRecords(): add missing TD
Denis Ovsienko [Wed, 3 Mar 2010 14:21:20 +0000 (14:21 +0000)] 
r3320 renderIPv4SpaceRecords(): add missing TD

9 years agor3319 introduced IPV4_TREE_SHOW_VLAN option with initial implementation
Denis Ovsienko [Wed, 3 Mar 2010 13:50:59 +0000 (13:50 +0000)] 
r3319 introduced IPV4_TREE_SHOW_VLAN option with initial implementation

9 years agor3318 renderVLANDomain(): improve layout
Denis Ovsienko [Wed, 3 Mar 2010 12:33:59 +0000 (12:33 +0000)] 
r3318 renderVLANDomain(): improve layout
renderVLANInfo(): idem

9 years agor3317 added a 16x16 version of text icon
Denis Ovsienko [Wed, 3 Mar 2010 12:30:47 +0000 (12:30 +0000)] 
r3317 added a 16x16 version of text icon

9 years agor3316 replaced 'network' icon with 'network_local' (also from Crystal project) in...
Denis Ovsienko [Wed, 3 Mar 2010 11:38:44 +0000 (11:38 +0000)] 
r3316 replaced 'network' icon with 'network_local' (also from Crystal project) in 32x32 and 16x16 versions

9 years agor3315 redirectIfNecessary(): also handle tab triggering; execute only
Denis Ovsienko [Tue, 2 Mar 2010 19:43:54 +0000 (19:43 +0000)] 
r3315 redirectIfNecessary(): also handle tab triggering; execute only
after fixContext() is done, because trigger functions
may look into tags of current entity
prepareNavigation(): only redirect on last tab substitution
urlizeGetParameters(): not used any more

9 years agor3314 repeat Tyler's patch for trunk
Denis Ovsienko [Tue, 2 Mar 2010 19:38:40 +0000 (19:38 +0000)] 
r3314 repeat Tyler's patch for trunk

9 years agor3313 commitUpdateVLANDescription(): replace empty string with a NULL value
Denis Ovsienko [Tue, 2 Mar 2010 18:26:15 +0000 (18:26 +0000)] 
r3313 commitUpdateVLANDescription(): replace empty string with a NULL value
addVLANDescription(): idem
renderIPv4NetworkVLANTab(): use correct variable to generate URL

9 years agor3312 prepareNavigation(): make it actually work
Denis Ovsienko [Tue, 2 Mar 2010 16:15:52 +0000 (16:15 +0000)] 
r3312 prepareNavigation(): make it actually work

9 years agor3311 justified 802.1Q tab triggers logic
Denis Ovsienko [Tue, 2 Mar 2010 16:04:04 +0000 (16:04 +0000)] 
r3311 justified 802.1Q tab triggers logic

9 years agor3310 renderObjectVLANSync(): added some improvements to the form
Denis Ovsienko [Tue, 2 Mar 2010 15:38:42 +0000 (15:38 +0000)] 
r3310 renderObjectVLANSync(): added some improvements to the form
processVLANSyncRequest(): initial implementation

9 years agor3309 getObjectVLANDomainID(): dismissed
Denis Ovsienko [Tue, 2 Mar 2010 14:09:43 +0000 (14:09 +0000)] 
r3309 getObjectVLANDomainID(): dismissed
getVLANSwitchInfo(): new function instead
trigger_vlanconfig(): update accordingly
trigger_vlanports(): ditto
savePortVLANConfig(): clean up and make setSwitchVLANConfig() do all the work
renderObjectVLANSync(): add some logic to radio inputs rendering

9 years agor3308 added another Tango icon
Denis Ovsienko [Mon, 1 Mar 2010 18:12:34 +0000 (18:12 +0000)] 
r3308 added another Tango icon
renderObjectVLANSync(): added some draft code

9 years agor3307 iosPickSwitchportCommand(): remove extra array() wrapper
Denis Ovsienko [Mon, 1 Mar 2010 17:49:43 +0000 (17:49 +0000)] 
r3307 iosPickSwitchportCommand(): remove extra array() wrapper
serializeVLANPack(): detect contiguous ID ranges

9 years agor3306 small fixes, making room for VLAN sync code
Denis Ovsienko [Mon, 1 Mar 2010 15:47:31 +0000 (15:47 +0000)] 
r3306 small fixes, making room for VLAN sync code

9 years agor3305 gwRetrieveDeviceConfig(): initial implementation of gateway wrapper for "device...
Denis Ovsienko [Mon, 1 Mar 2010 14:26:45 +0000 (14:26 +0000)] 
r3305 gwRetrieveDeviceConfig(): initial implementation of gateway wrapper for "deviceconfig"
deviceconfig: fill in provided temporary file instead of making own one

9 years agor3303 deviceconfig: initial cleanup round
Denis Ovsienko [Mon, 1 Mar 2010 13:48:02 +0000 (13:48 +0000)] 
r3303 deviceconfig: initial cleanup round

9 years agor3302 deviceconfig: new gateway, clone from 'switchvlans'
Denis Ovsienko [Mon, 1 Mar 2010 12:45:26 +0000 (12:45 +0000)] 
r3302 deviceconfig: new gateway, clone from 'switchvlans'

9 years agor3301 doIOSLexicalScan(): dismiss
Denis Ovsienko [Mon, 1 Mar 2010 12:38:55 +0000 (12:38 +0000)] 
r3301 doIOSLexicalScan(): dismiss
iosReadVLANConfig(): new function instead
iosPickInterfaceCommand(): new function
iosPickSwitchportCommand(): new function
iosParseVLANString(): new function

9 years agor3300 doIOSLexicalScan(): initial implementation
Denis Ovsienko [Sun, 28 Feb 2010 18:49:23 +0000 (18:49 +0000)] 
r3300 doIOSLexicalScan(): initial implementation

9 years agor3299 renderObjectVLANPorts(): rewrite with a new layout
Denis Ovsienko [Sun, 28 Feb 2010 13:13:20 +0000 (13:13 +0000)] 
r3299 renderObjectVLANPorts(): rewrite with a new layout
renderPortVLANConfig(): new function to process both allowed and native records at once
savePortVLANConfig(): idem
commitSaveAllowedVLANs(): dismissed
commitSaveNativeVLAN(): dismissed
renderPortAllowedVLANs(): dismissed
renderPortNativeVLAN(): dismissed
setAllowedVLANs(): dismissed
setNativeVLAN(): dismissed

9 years agor3298 VLANSwitch: added mutex_rev column
Denis Ovsienko [Sat, 27 Feb 2010 17:31:55 +0000 (17:31 +0000)] 
r3298 VLANSwitch: added mutex_rev column
setPortVLANConfig(): another implementation to save all data for a port at once
setSwitchVLANConfig(): transactional work processor using the above

9 years agor3297 getVLANConfiguredPorts(): new function
Denis Ovsienko [Fri, 26 Feb 2010 18:20:30 +0000 (18:20 +0000)] 
r3297 getVLANConfiguredPorts(): new function
renderVLANInfo(): accept the provided argument, list VLAN's allowed ports

9 years agor3296 renderPortNativeVLAN(): display buttons in a smarter way
Denis Ovsienko [Fri, 26 Feb 2010 16:21:44 +0000 (16:21 +0000)] 
r3296 renderPortNativeVLAN(): display buttons in a smarter way

9 years agor3295 trying a brighter version
Denis Ovsienko [Fri, 26 Feb 2010 16:04:04 +0000 (16:04 +0000)] 
r3295 trying a brighter version

9 years agor3294 added grayscale version of 32x32 "save" icon
Denis Ovsienko [Fri, 26 Feb 2010 15:55:18 +0000 (15:55 +0000)] 
r3294 added grayscale version of 32x32 "save" icon

9 years agor3293 Justified naming of existing 'save' icon files.
Denis Ovsienko [Fri, 26 Feb 2010 15:51:54 +0000 (15:51 +0000)] 
r3293 Justified naming of existing 'save' icon files.

9 years agor3292 renderObjectVLANPorts(): justify alignment
Denis Ovsienko [Fri, 26 Feb 2010 14:42:02 +0000 (14:42 +0000)] 
r3292 renderObjectVLANPorts(): justify alignment
renderPortAllowedVLANs():display a message instead of form, when list is empty
renderPortNativeVLAN(): idem
renderVLANDomainList(): justify string escaping
renderVLANDomainListEditor(): idem

9 years agor3291 buildRedirectURL(): accept one more arg to pass to buildWideRedirectURL()
Denis Ovsienko [Thu, 25 Feb 2010 15:19:53 +0000 (15:19 +0000)] 
r3291 buildRedirectURL(): accept one more arg to pass to buildWideRedirectURL()
usePreparedDeleteBlade(): discard LIMIT, change returned value to { FALSE, 0, 1, ... N }
destroyVLANDomain(): adjust accordingly
setAllowedVLANs(): add some meaningful code
setNativeVLAN(): new function
commitSaveAllowedVLANs(): new function
commitSaveNativeVLAN(): new function
renderPortNativeVLAN(): one more input argument for VLAN ID decoding
renderObjectVLANPorts(): fix forms; don't implicitly assume VLAN1 as default

9 years agor3290 assertUIntArg(): removed excess quotes
Denis Ovsienko [Thu, 25 Feb 2010 15:11:33 +0000 (15:11 +0000)] 
r3290 assertUIntArg(): removed excess quotes
assertStringArg(): idem
assertBoolArg(): idem
assertIPv4Arg(): idem
formatVLANName(): add TT and I markup

9 years agor3289 serializeVLANPack(): fix spelling, make default state a special case
Denis Ovsienko [Thu, 25 Feb 2010 12:55:20 +0000 (12:55 +0000)] 
r3289 serializeVLANPack(): fix spelling, make default state a special case
usePreparedSelectBlade(): new function
getPortInfo(): try prepared SELECT pattern
setAllowedVLANs(): renamed to match "op" value
renderVLANDomainVLANList(): omit propagation code after VLAN ID, adjust header
renderObjectVLANPorts(): fix calls to serializeVLANPack() and getPortInfo()

9 years agor3288 formatVLANName(): new function
Denis Ovsienko [Wed, 24 Feb 2010 17:25:38 +0000 (17:25 +0000)] 
r3288 formatVLANName(): new function
dynamic_title_decoder(): justify escaping of file, VLAN domain and VLAN data
renderVLANInfo(): idem

9 years agor3287 niftyString(): treat "maxlen" arg value 0 as "no limit"
Denis Ovsienko [Wed, 24 Feb 2010 17:20:15 +0000 (17:20 +0000)] 
r3287 niftyString(): treat "maxlen" arg value 0 as "no limit"

9 years agor3286 added missing items into $max_dict_key
Denis Ovsienko [Wed, 24 Feb 2010 13:09:30 +0000 (13:09 +0000)] 
r3286 added missing items into $max_dict_key

9 years agor3285 added SNMP rules for Brocade FGS648P and FGS648P-POE
Denis Ovsienko [Wed, 24 Feb 2010 12:55:33 +0000 (12:55 +0000)] 
r3285 added SNMP rules for Brocade FGS648P and FGS648P-POE

9 years agor3284 doSwitchSNMPmining(): produce a warning message for each missing processor...
Denis Ovsienko [Wed, 24 Feb 2010 10:51:16 +0000 (10:51 +0000)] 
r3284 doSwitchSNMPmining(): produce a warning message for each missing processor function

9 years agor3283 added VLANValidID default values
Denis Ovsienko [Wed, 24 Feb 2010 10:20:47 +0000 (10:20 +0000)] 
r3283 added VLANValidID default values

9 years agor3280 VLAN_LISTSRC evolved into VLANSWITCH_LISTSRC and VLANIPV4NET_LISTSRC
Denis Ovsienko [Thu, 18 Feb 2010 17:53:45 +0000 (17:53 +0000)] 
r3280 VLAN_LISTSRC evolved into VLANSWITCH_LISTSRC and VLANIPV4NET_LISTSRC
renderVLANDomainSwitches(): updated accordingly
renderIPv4Network(): display assigned VLAN, if any
renderIPv4NetworkVLANTab(): new function
renderVLANInfo(): fix propagation mode display
getDomainVLANs(): also return network counter for each row; ORDER BY
getVLANInfo(): vlan_type AS vlan_prop; ORDER BY
trigger_ipv4net_vlanconfig(): new function

9 years agor3279 renderIPv4Network(): save on a function call, where it makes sense
Denis Ovsienko [Thu, 18 Feb 2010 14:59:20 +0000 (14:59 +0000)] 
r3279 renderIPv4Network(): save on a function call, where it makes sense

9 years agor3278 pull the last maintenance commit into trunk
Denis Ovsienko [Wed, 17 Feb 2010 18:11:11 +0000 (18:11 +0000)] 
r3278 pull the last maintenance commit into trunk

9 years agor3276 fixed column default value in Config table
Denis Ovsienko [Wed, 17 Feb 2010 14:14:55 +0000 (14:14 +0000)] 
r3276 fixed column default value in Config table

9 years agor3271 fix 0.17.9 upgrade batch and start 0.18.0 one
Denis Ovsienko [Wed, 17 Feb 2010 11:55:07 +0000 (11:55 +0000)] 
r3271 fix 0.17.9 upgrade batch and start 0.18.0 one

9 years agor3270 removed more dead code
Denis Ovsienko [Wed, 17 Feb 2010 11:51:53 +0000 (11:51 +0000)] 
r3270 removed more dead code

9 years agor3269 sync changelog records
Denis Ovsienko [Wed, 17 Feb 2010 11:36:00 +0000 (11:36 +0000)] 
r3269 sync changelog records

9 years agor3268 another portion of work on VLANs
Denis Ovsienko [Tue, 16 Feb 2010 18:10:12 +0000 (18:10 +0000)] 
r3268 another portion of work on VLANs
- schema changes
- VLANs now can be linked to IPv4 networks

9 years agor3267 comment getFaviconURL() out once more
Denis Ovsienko [Tue, 16 Feb 2010 17:42:33 +0000 (17:42 +0000)] 
r3267 comment getFaviconURL() out once more

9 years agor3266 removed obsolete __FUNCTION__ from assertions
Denis Ovsienko [Tue, 16 Feb 2010 14:29:36 +0000 (14:29 +0000)] 
r3266 removed obsolete __FUNCTION__ from assertions