{
  "subsystems": [
    {
      "subsystem": "bdev",
      "config": [
        {
          "method": "bdev_nvme_attach_controller",
          "params": {
            "name": "Nvme0",
            "trtype": "TCP",
            "adrfam": "IPv4",
            "traddr": "192.168.42.2",
            "trsvcid": "4420",
            "subnqn": "nqn.2016-06.io.spdk:cnode1",
            "prchk_reftag": false,
            "prchk_guard": false
          }
        }
      ]
    },
    {
      "subsystem": "nvmf",
      "config": [
        {
          "method": "nvmf_create_transport",
          "params": {
            "trtype": "TCP",
            "io_unit_size": 8192
          }
        },
        {
          "method": "nvmf_create_subsystem",
          "params": {
            "nqn": "nqn.2016-06.io.spdk:cnode1",
            "allow_any_host": true,
            "serial_number": "SPDK00000000000001",
            "model_number": "SPDK bdev Controller",
            "max_namespaces": 32,
            "min_cntlid": 1,
            "max_cntlid": 65519
          }
        },
        {
          "method": "nvmf_subsystem_add_ns",
          "params": {
            "nqn": "nqn.2016-06.io.spdk:cnode1",
            "namespace": {
              "nsid": 1,
              "bdev_name": "Nvme0n1"
            }
          }
        },
        {
          "method": "nvmf_subsystem_add_listener",
          "params": {
            "nqn": "nqn.2016-06.io.spdk:cnode1",
            "listen_address": {
              "trtype": "TCP",
              "adrfam": "IPv4",
              "traddr": "192.168.42.3",
              "trsvcid": "4420"
            }
          }
        }
      ]
    },
    {
      "subsystem": "vhost",
      "config": [
        {
          "method": "vhost_create_blk_controller",
          "params": {
            "ctrlr": "VirtioBlk0",
            "dev_name": "Nvme0n2"
          }
        }
      ]
    }
  ]
}
