How to Import an Array

Overview

This tutorial aims at detailing the process to import object configuration in the case of a simple variable array on a CLI based device. The following example use a Cisco configuration sample.

Configuration sample

Here is an example of the configuration that we want to import in our object.

### DHCP helper-address ###
interface FastEthernet0
  ip helper-address 1.2.3.4
  ip helper-address 2.3.4.5

Configuration parser Import to use

SimpleImportArrayCLI.png

Variables

SimpleVariableArrayCLI.png

Result in the Microservice console

SimpleVariableRenderingCLI.png