Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create using-netris-cloudsim.rst #264

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions try-learn/using-netris-cloudsim.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
==================================================
Netris Test Controller & Infrastructure Simulation
==================================================

This document provides general tips and tricks for using the Netris test controller and Netris infrastructure simulation. Please refer to individual scenarios in this section to experiment around a specific use case.

Once your Try & Learn through Netris Infrastructure Simulation platform is approved you will receive credentials for accessing a Netris controller with a trial license hosted in Netris Infrastructure Simulation platform.

Controller FQDN: example-ctl.netris.dev
Password: NetrisProvidedPassword


Web Console
===========

Navigate your browser to the Controller FQDN then use
username: netris
password: <NetrisProvidedPassword>

SSH
===

Controller initialization modules and simulation control packages are installed on the Netris controller server.

Connect to the controller server using ssh. Username: ubuntu Password: <NetrisProvidedPassword>

.. code-block:: shell-session

ssh ubuntu@<Controller FQDN>


Netris Init Modules
===================

Netris init modules are designed to generate Inventory, IPAM, and Topology data based on simple arguments. Most init modules are written using Terraform/HCL.

Netris test environment may come with a module that is relevant to your use case. If you can't find the right module for your use case, please contact your SA (Solutions Architect)

Init modules are stored in the ``/home/ubuntu/netris-init/`` directory.

Each module is stored in its own subdirectory. To use a module 'cd' to the appropriate subdirectory, review ``terraform.tfvars`` file, make changes to the arguments if needed, and save.

Execute ``tofu-apply`` or ``tofu-destroy`` in the init module subdirectory to apply/destroy the Netris controller configuration.

Start/Stop a Simulation
=======================

Once the topology blueprint, Inventory, and IPAM data are created in Netris -- basically, Netris controller is describing an infrastructure - you can start its simulation.

Go to:

.. code-block:: shell-session

cd /home/ubuntu/netris-cloudsim

Execute ``pulumi up`` or ``pulumi destroy`` to start/stop a simulation of what's described in the Netris Controller