entities:
  - type: switch
    name: switch-1
    id: 12345
    state: available
    relationships:
      - type: nova.host
        name: host-1
        id: 1
        relation_type: attached
      - type: nova.host
        name: host-2
        id: 2
        relation_type: attached
  - type: switch
    name: switch-3
    id: 34567
    state: available
    relationships:
      - type: nova.host
        name: host-4
        id: 4
        relation_type: attached
  - type: switch
    name: switch-4
    id: 45678
    state: error
    relationships:
      - type: nova.host
        name: host-2
        id: 2
        relation_type: attached
  - type: switch
    name: switch-5
    id: 56789
    state: error
    relationships:
      - type: nova.host
        name: host-3
        id: 3
        relation_type: attached
