CloudGenix ion 2000 correct port assignments

I'm not sure if every single ion 2000 unit is the same, but the changes below worked for me to set the "Controller" port to wan and align the numbers on the box to eth<x> in openwrt.

/etc/board.d/02_network - add the following after the last existing condition (right before the esac line)

cloudgenix-ion-2000)
        ucidef_set_network_device_path "eth2" "pci0000:00/0000:00:14.0"
        ucidef_set_network_device_path "eth3" "pci0000:00/0000:00:14.1"
        ucidef_set_network_device_path "eth4" "pci0000:00/0000:00:14.2"
        ucidef_set_network_device_path "eth5" "pci0000:00/0000:00:14.3"
        ucidef_set_network_device_path "eth0" "pci0000:00/0000:00:01.0/0000:01:00.0"
        ucidef_set_network_device_path "eth1" "pci0000:00/0000:00:02.0/0000:02:00.0"
        ucidef_set_interfaces_lan_wan "eth1 eth2 eth3 eth4 eth5" "eth0"
        ;;

/etc/boards.json

{
        "model": {
                "id": "cloudgenix-ion-2000",
                "name": "CloudGenix ion 2000"
        },
        "network": {
                "lan": {
                        "ports": [
                                "eth1",
                                "eth2",
                                "eth3",
                                "eth4",
                                "eth5"
                        ],
                        "protocol": "static"
                },
                "wan": {
                        "device": "eth0",
                        "protocol": "dhcp"
                }
        }
}

I added these two paths to /etc/sysupgrade.conf and reimaged. It required an extra reboot, but the configuration survived the upgrade.