Class OnmsIpInterfaceResource


  • @Component("onmsIpInterfaceResource")
    @Transactional
    public class OnmsIpInterfaceResource
    extends OnmsRestService
    • Constructor Detail

      • OnmsIpInterfaceResource

        public OnmsIpInterfaceResource()
    • Method Detail

      • getIpInterfaces

        public OnmsIpInterfaceList getIpInterfaces​(@Context
                                                   javax.ws.rs.core.UriInfo uriInfo,
                                                   java.lang.String nodeCriteria)

        getIpInterfaces

        Parameters:
        nodeCriteria - a String object.
        Returns:
        a OnmsIpInterfaceList object.
      • getIpInterface

        public OnmsIpInterface getIpInterface​(java.lang.String nodeCriteria,
                                              java.lang.String ipAddress)

        getIpInterface

        Parameters:
        nodeCriteria - a String object.
        ipAddress - a String object.
        Returns:
        a OnmsIpInterface object.
      • addIpInterface

        public javax.ws.rs.core.Response addIpInterface​(@Context
                                                        javax.ws.rs.core.UriInfo uriInfo,
                                                        java.lang.String nodeCriteria,
                                                        OnmsIpInterface ipInterface)

        addIpInterface

        Parameters:
        nodeCriteria - a String object.
        ipInterface - a OnmsIpInterface object.
        Returns:
        a Response object.
      • updateIpInterface

        public javax.ws.rs.core.Response updateIpInterface​(java.lang.String nodeCriteria,
                                                           java.lang.String ipAddress,
                                                           MultivaluedMapImpl params)

        updateIpInterface

        Parameters:
        nodeCriteria - a String object.
        ipAddress - a String object.
        params - a MultivaluedMapImpl object.
        Returns:
        a Response object.
      • deleteIpInterface

        public javax.ws.rs.core.Response deleteIpInterface​(java.lang.String nodeCriteria,
                                                           java.lang.String ipAddress)

        deleteIpInterface

        Parameters:
        nodeCriteria - a String object.
        ipAddress - a String object.
        Returns:
        a Response object.
      • getServices

        public OnmsMonitoredServiceResource getServices​(@Context
                                                        javax.ws.rs.container.ResourceContext context)

        getServices

        Returns:
        a org.opennms.web.rest.OnmsMonitoredServiceResource object.