ttafsir/evengsdk

Unable to import from topology using IOL devices

JuanManuelAcunaParra opened this issue · 1 comments

Describe the bug
Cant import from topology using IOL devices

To Reproduce
Steps to reproduce the behavior:

Create topology YML using any iol devices:

---
  name: LAB
  description: Iol test lab
  path: "/"
  nodes:
    - name: leaf01
      template: iol
      image: iol-i86bi_LinuxL3-AdvEnterpriseK9-M2_157_3_May_2018.bin
      node_type: iol
      left: 500
      top: 135

    - name: leaf02
      template: iol
      image: i86bi_LinuxL3-AdvEnterpriseK9-M2_157_3_May_2018.bin
      node_type: iol
      left: 600
      top: 135


  networks:
    - name: MGMT
      network_type: pnet1
      visibility: 1
      top: 300
      left: 475
  links:
    network:
      - {"src": "leaf01", "src_label": "e0/0", "dst": "MGMT"}
    node:
      - {"src": "leaf01", "src_label": "e0/3", "dst": "leaf02", "dst_label": "e0/3"}
**eve-ng --verbose lab create-from-topology -t examples/iol.yml** 
Verbose logging is enabled. (LEVEL=40)
[16:27:52] Lab created: //LAB.unl                                                                             commands.py:430
[16:27:53] network vCloud completed. ID: 1                                                                    commands.py:221
ERROR: Error creating lab: node leaf01 not found or invalid

Expected behavior
Create the LAB

Screenshots
NA

Additional context
It works fine using any qemu devices, also its posible to add iol devices using CLI and works fine: Ex: eve-ng node create --name testnode--nde-type iol --template iol --image i86bi_LinuxL3-AdvEnterpriseK9-M2_157_3_May_2018.bin

@JuanManuelAcunaParra which version of EVE-NG are you using? The community or PRO version?