1. 19 12月, 2016 4 次提交
    • D
      Point to the new libvirt-go bindings · 5a26d1ce
      Daniel P. Berrange 提交于
      The github.com/rgbkrk/libvirt-go bindings were the most complete
      bindings historically, but their API coverage stops at 1.2.4,
      with exception of a couple of newer APIs.
      
      The new bindings at http://libvirt.org/git/?p=libvirt-go.git;a=log
      how have (almost[1]) 100% API coverage all the way to 2.5.0. They also
      expose the APIs in a way that allows for much stronger go type
      checking by the compiler, and expose typed parameters as explicit
      structs. Finally the bindings are able to conditionally compile against
      any libvirt version 1.2.0 -> 2.5.0 without use of go build tags.
      
      Change the docs to point to these new bindings, since they'll be
      a better bet for users long term.
      
      [1] virEvent & virStream callbacks are still TODO to be fixed
          real soon.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      5a26d1ce
    • J
      network: Add support for local PTR domains · 3d98acc9
      Jiri Denemark 提交于
      Similarly to localOnly DNS domain, localPtr attribute can be used to
      tell the DNS server not to forward reverse lookups for unknown IPs which
      belong to the virtual network.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      3d98acc9
    • J
      util: Introduce virSocketAddrPTRDomain · acd547dc
      Jiri Denemark 提交于
      The API creates PTR domain which corresponds to a given addr/prefix.
      Both IPv4 and IPv6 addresses are supported, but the prefix must be
      divisible by 8 for IPv4 and divisible by 4 for IPv6.
      
      The generated PTR domain has the following format
      
      IPv4: 1.2.3.4.in-addr.arpa
      IPv6: 0.1.2.3.4.5.6.7.8.9.a.b.c.d.e.f.0.1.2.3.4.5.6.7.8.9.a.b.c.d.e.f.ip6.arpa
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      acd547dc
    • J
      conf: Make virNetworkIPDefParseXML a little bit saner · 770b1d2b
      Jiri Denemark 提交于
      Iterating over all child nodes when we only support one instance of each
      child is pretty weird. And it would even cause memory leaks if more
      than one <tftp> element was specified.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      770b1d2b
  2. 17 12月, 2016 1 次提交
  3. 16 12月, 2016 9 次提交
  4. 15 12月, 2016 26 次提交