2013/10/4 Ben Pfaff <b...@nicira.com>:
> All the versions of the draft describe the current vswitch, but the
> newer versions are slightly better worded.


Thanks, Ben!
I have a question about :
https://tools.ietf.org/html/draft-pfaff-ovsdb-proto-04, Why Max
integer or string? Why no use -1 for max for example?
In case of integer or sting this creates problems with automatic
encoding/decoding this json type =(

<type>
      The type of a database column.  Either an <atomic-type> or a JSON
      object that describes the type of a database column, with the
      following members:


         "key": <base-type>                 required
         "value": <base-type>               optional
         "min": <integer>                   optional
         "max": <integer> or "unlimited"    optional

      If "min" or "max" is not specified, each defaults to 1.  If "max"
      is specified as "unlimited", then there is no specified maximum
      number of elements, although the implementation will enforce some
      limit.  After considering defaults, "min" must be exactly 0 or
      exactly 1, "max" must be at least 1, and "max" must be greater
      than or equal to "min".


-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru
jabber: v...@selfip.ru
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to