Interface NetworkLabelsService

  • All Superinterfaces:
    Service
    All Known Implementing Classes:
    NetworkLabelsServiceImpl

    public interface NetworkLabelsService
    extends Service
    Manages the ser of labels attached to a network or to a host NIC.
    • Method Detail

      • add

        NetworkLabelsService.AddRequest add()
        Attaches label to logical network. You can attach labels to a logical network to automate the association of that logical network with physical host network interfaces to which the same label has been attached. For example, to attach the label `mylabel` to a logical network having id `123` send a request like this: [source] ---- POST /ovirt-engine/api/networks/123/networklabels ---- With a request body like this: [source,xml] ---- ----
      • list

        NetworkLabelsService.ListRequest list()
        Returns the list of labels attached to the network or host NIC. The order of the returned list of labels isn't guaranteed.
      • service

        Service service​(String path)
        Service locator method, returns individual service on which the URI is dispatched.