Controller Documentation:

            

  • Controller: A controller is a device or software system that manages and coordinates the operation of other devices or processes within a system, regulating data flow, executing decision-making processes, and ensuring efficient operation.
  • Prerequisites: Ensure that your system has Python 3 or above installed and can connect with the devices. The central controller can be your laptop, desktop, or any other suitable device. The devices can vary from IoT devices like Raspberry Pi or Arduino to networking devices such as Cisco or Juniper routers and switches or any other laptop or desktop which can be accessed through ssh. 

  • Central Controller Functions: The central controller manages and coordinates the operation of other devices within the system. It regulates data flow, controls device behavior, and executes decision-making processes based on predefined rules or algorithms. 

  • Connection Setup: The central controller is connected to the devices through either VPN or VLAN for secure communication. 
  • Security Measures: To enhance security, devices controlled by the central controller can be secured using a VPN. This encrypts communication between devices and the controller, ensuring data privacy and protection against unauthorized access. 
  • Netsys Gateway: The Netsys Gateway connects to the controller through secured TLS connections. It doesn't have direct access to your devices. 
  • Setting Up the Controller: Log in to the NetsysAI dashboard, Copy the 'controller_orchestrator' installer curl command from the dashboard. Run the provided commands on your laptop or desktop: 

           curl --output controller_orchestrator –X https://workspace.netsysai.net/download/controller_orchestrator 

           chmod +x controller_orchestrator 

           ./controller_orchestrator   

           Executing these commands configures your system as a controller 

  • Adding Sandbox and Devices: 

          Log in to your NetsysAI gateway through https://workspace.netsysai.net/. 

          Add  Sandbox and devices click on connect. 

         Ensure that the IP address and Host Name match the configuration on your device to establish a connection successfully. 

  • Adding project : To access the application interface, initiate the process by selecting "Add Project." Subsequently, furnish the necessary details such as project name and description. Finally, click on "Submit" to enter the application interface. 

  • Creating Template: Creating a template involves recording actions, commands, and configurations made on a device. These templates allow for the replication of specific configurations or setups across multiple devices. 
  • Execute Template Executing a template involves selecting a project, sandbox, and template to initiate the application of predefined configurations or actions across devices. Navigate to the project section and choose the desired project. Click on the "Execute" option to initiate the execution process, Within the execution interface, select the appropriate template, sandbox, and image name. Once the selections are made, proceed by clicking the "Submit" button.  After submitting, the system will automatically redirect you to the execution page. Alternatively, you can choose to click on the "View" button to monitor the progress and outcome of the execution directly. 
  • Log: Accessing logs provides a record of executed projects, detailing the actions taken, configurations applied, and outcomes observed.