Inmanta Service Orchestrator 8.2 is now available. This minor release includes a new set of features as well as performance enhancements and bug fixes. Check out the detailed changelog for a complete list.
Modeling language
Our modeling language now boasts several exciting new features that enhance flexibility, especially when dealing with dynamic deployment-time data. Models can now create symbolic references to values like secrets or identifiers that are only known when the service is deployed. This reference remains symbolic until the adapter specifically requires the value, making the entire mechanism transparent to both the service model and the adapter.
For example, an adapter can now dynamically fetch a value from an environment variable when/at the moment it is needed:
leaf1 = nokia_srlinux::GnmiDevice(
auto_agent=true,
name="leaf1",
mgmt_ip="172.30.0.210",
yang_credentials=yang::Credentials(
username=std::create_environment_reference("GNMI_USER"),
password=std::create_environment_reference("GNMI_PASS"),
),
)
The documentation provides more details, including guidance on developing new references.
Integrating Python
The plugin system now supports native Python type annotations , enabling the use of type checkers on plugin code while maintaining the deep integration with the Inmanta modeling language.
from inmanta.plugins import plugin
from collections.abc import Sequence@plugin
def foo(value: str) -> Sequence[int]: ...
We introduced dataclass-based entities in our modeling language, which have a Python dataclass counterpart. This improves typing for code that exists both in the DSL & Python domains, and allows for the construction of these entities directly within Inmanta plugins.
The documentation contains more details and examples.
Web Console
Additionally, we've made some improvements to the Web Console, delivering an enhanced UI. It now supports dark mode.
Mermaid 11 can now be used in the documentation tab. Any SVG, both diagrams and external images, can also be zoomed in.
The compile details now feature an improved log viewer that replaces the collapsible sections. This viewer is much faster for large log files and supports search