Releases: HPENetworking/topology
1.12.0
Changes
-
Use realpath for pytest plugin search paths. [David Diaz]
Starting on pytest 3.9.2 pytest resolves symbolic links: pytest-dev/pytest#4108
This causes an uncompatibility with the attribute injection feature as the paths pytest sees (realpaths) differ from the injected_attr (abspath) found on the topology_plugin.
1.11.0
Changes
- Set a meaningful identifier for NML bilinks.
Currently the bilinks ID is the Python instance ID, this commit set it to a combination of the port IDs using the same syntax as pyszn:node0:port0 -- node1:port1
1.10.0
Changes
- Platform arguments can now be passed from the CLI and/or the Pytest plugin. Use
--option key=value
in the CLI and--topology-platform-option key=value
in Pytest. Options given using this method will be passed as keyword arguments to the platform. Values will be "autoparsed" to a Python type using the following order: floats, integers, booleans (yes, no, true, false, case insensitive) and finally any other is considered a strings. [Carlos Jenkins & David Diaz]
1.9.15
Changes
-
Removed long ago deprecated module topology.platforms.base [Carlos Jenkins]
Change imports:
topology.platforms.base.BasePlatform => topology.platforms.platform.BasePlatform
topology.platforms.base.BaseNode => topology.platforms.node.BaseNode
topology.platforms.base.CommonNode => topology.platforms.node.CommonNode
-
Update BaseShell
__call__
and execute to pass args and kwargs to the wrapped
call tosend_command()
(#76) [Sergio Morales] -
Changes to support newer versions of pytest. (#79) [Diego Dompe]
-
Drop support for Python 3.4. Minimal version is now 3.5. [Carlos Jenkins]
Fix
- Topology shells will now use pexpect poll() to support more than 1024 file
descriptors. This change requires pexpect >= 4.6. [Carlos Jenkins]
1.9.14
Changes
- Make new testlog func private. [Matthew Hall]
1.9.13
New
- Environment attributes are now passed to the NMLManager. [Javier Peralta]
- Add functions for new test specific log. [Matthew Hall]
Changes
- Remove unit test of functionalty no longer on topology. [Javier Peralta]
- Moving injection to pyszn. [Diego Antonio Hurtado Pimentel]
- Customize term codes regex. [David Diaz Barquero]
Add the ability to customize the terminal regex code for special shells
Fix
- Pyszn uses correct depedency declaration. [Javier Peralta]
- Minor fixes. [David Diaz]
1.9.12
New
-
Add a dynamic timeout option. [Matthew Hall]
When this option is used expect will be repeated as long as output is still being returned.
Changes
-
Add FORCED_PROMPT to the initial prompt. [Joseph Loaiza]
The original initial prompt does not match the FORCED_PROMPT, this makes the shell to throw a timeout exception when trying to reconnect to a previously used shell.
Fix
- Adding missing release information. [Diego Hurtado]
- Updating to new PEP8 requirements. [Diego Hurtado]
1.9.11
Changes
-
Modify pexpect logger to match actual data stream. [Javier Peralta]
This change adds a new filehandler that doesn't introduce line changes
arbitrarily. Also Add some line changes on known places to keep output
log file readable. With this changes the log file should match
pexpect's command output stream closer.
1.9.10
Changes
- Extending connection and disconnection arguments. [Diego Hurtado]
Fix
-
Refactoring _get_connection. [Diego Hurtado]
-
Removing support for Python 2.7. [Diego Hurtado]
-
Several fixes in the usage of the connection argument. [Diego Hurtado]
This intentionally breaks compatibility with Python 2.7 since it uses
syntax introduced in PEP 3102. -
Increase echo sleep 1 second. [Javier Peralta]
1.9.9
New
- Adding support for sending control characters. [Diego Pimentel]
Fix
- Increased delay_after_echo_off a bit. [Javier Peralta]