Multi-ring configuration format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I would like to start a discussion on what would be a good way to
change the configuration file to accommodate multi-ring.

Option 1: Add a gateway keyword block in the processor for the
configuration for a gateway only:

gateway {
      ring_addr: <interface 1 bind addr>
      ring_addr: <interface 2 bind addr>
}

This means that there can be multiple interfaces with ringnumber:0 for
the gateway. However, parsing this for rrp would make it very
difficult, if not impossible.

Option 2: Add another scope block level for a ring:

ring {
    id: 0
     interface {
      }
     interface {
      }
}

ring {
    id: 1
     interface {
      }
     interface {
      }
}

gateway {
     ring_id: 0
     ring_id: 1
}

Any other suggestions welcome.

-- 
Goldwyn
_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux