Fixed a few bugs in 'engi conf net id' framework.
Debug statements in 'ixquery' function.
Needed to debug to external file, fixed.
More debug statements.
Put return values into debug file.
More debug statements, trying to figure out where the problem is
occuring. No value should be returned from the query for the
non-existent network ID, but an empty container is being returned.
More debugging. When running 'ixm query cluster netid.rackspace' the
proper empty return value is created, but when running 'engi conf net
id' and selecting rackspace, a set of empty brackets is returned, when a
completely empty string should be returned.
Some more debug statements.
Might be an overlapping workspace issue from an earlier query run in the
framework. Added silent clear workspace commands at the end of each
'ixquery' run to make sure the next run has fresh workspaces. Also
modified 'clear_workspace' to support silent clears, to prevent the
confirmation output from conflicting with other functions.
Don't reset the ixquery debug file, look for problems with multiple
runs.
Still debugging.
More debug statements.
Variable prefixes in 'ixalter' to prevent variable definition conflicts.
Turns out the problem was with having a <netid></netid> tag in a node
XML block. Changed main '<netid>' block to '<netids>'.
Changed output for 'engi conf net id' to format the query string printed
for the user when attempting to configure an already configured network
ID. Still debugging the problem when 'ixalter' is invoked within 'engi
conf net id', and the subsequent 'ixquery' returns an incorrect string.
More debug statements.
Still debugging, no idea why this error is occuring. This needs to be
fixed before I can use this in a production environment.
Format flag might be incorrectly set. About to find out.
Forgot I/O redirection for echo.
Testing a hunch, going to manually set the format flag to off before
running the problematic query.