@content
    def GET(self, cluster_id):
        network_id = web.input(network_id=None).network_id
        network_role = web.input(network_role=None).network_role

        self.get_object_or_404(objects.Cluster, int(cluster_id))
        return self.collection.to_json(
            self.collection.get_vips_by_cluster_id(
                int(cluster_id),
                network_id,
                network_role
            )
        )
Get VIPs collection optionally filtered by network or network role.
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/extensions/network_manager/handlers/vip.py/ClusterVIPCollectionHandler.GET