NetModule Routers come with the feature-rich NetModule Router Software (NRSW).
For interessted users an unsupported Yocto-based OEM Linux OS reference distribution is available. Please note that the OEM Linux OS reference distribution is for academical use only and not intended for real life applications.
There are basically three ways, how you can add your software extensions. The prefered way is using the built-in scripting enviroment called SDK. The advantages of this approach are that writing SDK scripts is relatively simple, but still powerful, and that these extensions can become part of the router's configuration. Hence, SDK scripts can be applied to other routers and they will survive software updates. The second approach is to write a C application and cross-compile it for the router. With the optional available Virtualization License (Lic-V) it's possible to run an application in a Linux LXC container.<php> $columns = 3; $tablestyle = “text-align:center;”; $tdstyle = “text-align:center; border-top:1px solid white; border-left:1px solid white; border-right: 10px solid white; border-bottom: 10px solid white; background-color:rgba(228,226,82,0.8); width:33%”; $image = “http://placehold.it/200x50”; $items = array(
array("/sdk/sdk", $image, "SDK", "Language, API documentation, and sample scripts."), array("/development/toolchain", $image, "Toolchain", "Cross-compilation toolchain"), array("/virtualisation/start", $image, "Virtualization", "LXC container")
); echo “<table style='$tablestyle'>\n”; foreach ($items as $key⇒$item) {
echo ($key % $columns == 0) ? "<tr>" : ""; echo "<td style='$tdstyle'>" . // "<p style='margin:8px;'><a href='$item[0]'><img src='$item[1]' title='$item[2]'></a></p>" . "<p style='margin:8px; font-weight: bold;'><a href='$item[0]'>$item[2]</a></p>" . "<p style='margin:8px;'>$item[3]</p></td>\n"; echo ($key % $columns == $columns-1) ? "</tr>\n" : "";
} echo “</table>\n”; </php>
Disclaimer: This software is unsupported - please don't contact NetModule support. Using the OEM Linux OS reference distribution may invalidate certifications and declarations of conformity. When the software is installed on a router, the warranty expires and the user is fully responsible for the operation.
<php> $columns = 1; $tablestyle = “text-align:center;”; $tdstyle = “text-align:center; border-top:1px solid white; border-left:1px solid white; border-right: 10px solid white; border-bottom: 10px solid white; background-color:rgba(228,226,82,0.8); width:33%”; $image = “http://placehold.it/200x50”; $items = array(
array("https://netmodule-linux.readthedocs.io/en/latest/", $image, "Reference Distribution", "Unsupported Yocto-based OEM Linux OS reference distribution"),
); echo “<table style='$tablestyle'>\n”; foreach ($items as $key⇒$item) {
echo ($key % $columns == 0) ? "<tr>" : ""; echo "<td style='$tdstyle'>" . // "<p style='margin:8px;'><a href='$item[0]'><img src='$item[1]' title='$item[2]'></a></p>" . "<p style='margin:8px; font-weight: bold;'><a href='$item[0]'>$item[2]</a></p>" . "<p style='margin:8px;'>$item[3]</p></td>\n"; echo ($key % $columns == $columns-1) ? "</tr>\n" : "";
} echo “</table>\n”; </php>