Class NetworksServiceImpl

    • Constructor Detail

    • Method Detail

      • add

        public NetworksService.AddRequest add()
        Description copied from interface: NetworksService
        Creates a new logical network, or associates an existing network with a data center. Creation of a new network requires the `name` and `data_center` elements. For example, to create a network named `mynetwork` for data center `123` send a request like this: [source] ---- POST /ovirt-engine/api/networks ---- With a request body like this: [source,xml] ---- mynetwork ---- To associate the existing network `456` with the data center `123` send a request like this: [source] ---- POST /ovirt-engine/api/datacenters/123/networks ---- With a request body like this: [source,xml] ---- ovirtmgmt ---- To create a network named `exnetwork` on top of an external _OpenStack_ network provider `456` send a request like this: [source] ---- POST /ovirt-engine/api/networks ---- [source,xml] ---- exnetwork ----
        Specified by:
        add in interface NetworksService
      • list

        public NetworksService.ListRequest list()
        Description copied from interface: NetworksService
        List logical networks. For example: [source] ---- GET /ovirt-engine/api/networks ---- Will respond: [source,xml] ---- ovirtmgmt Default Management Network 0 false vm ... ---- The order of the returned list of networks is guaranteed only if the `sortby` clause is included in the `search` parameter.
        Specified by:
        list in interface NetworksService