Revision cd580714 src/rm/RequestManager.cc

View differences:

src/rm/RequestManager.cc
760 760
    xmlrpc_c::method * zone_delete_pt;
761 761
    xmlrpc_c::method * zone_rename_pt;
762 762
    xmlrpc_c::method * zone_addserver_pt;
763
    xmlrpc_c::method * zone_delserver_pt;
763 764

  
764 765
    if (nebula.is_federation_slave())
765 766
    {
......
768 769
        zone_delete_pt      = new RequestManagerProxy("one.zone.delete");
769 770
        zone_rename_pt      = new RequestManagerProxy("one.zone.rename");
770 771
        zone_addserver_pt   = new RequestManagerProxy("one.zone.addserver");
772
        zone_delserver_pt   = new RequestManagerProxy("one.zone.delserver");
771 773
    }
772 774
    else
773 775
    {
......
776 778
        zone_delete_pt      = new ZoneDelete();
777 779
        zone_rename_pt      = new ZoneRename();
778 780
        zone_addserver_pt   = new ZoneAddServer();
781
        zone_delserver_pt   = new ZoneDeleteServer();
779 782
    }
780 783

  
781 784
    xmlrpc_c::methodPtr zone_allocate(zone_allocate_pt);
......
783 786
    xmlrpc_c::methodPtr zone_delete(zone_delete_pt);
784 787
    xmlrpc_c::methodPtr zone_rename(zone_rename_pt);
785 788
    xmlrpc_c::methodPtr zone_addserver(zone_addserver_pt);
789
    xmlrpc_c::methodPtr zone_delserver(zone_delserver_pt);
786 790

  
787 791
    xmlrpc_c::methodPtr zone_info(new ZoneInfo());
788 792
    xmlrpc_c::methodPtr zonepool_info(new ZonePoolInfo());
......
794 798
    RequestManagerRegistry.addMethod("one.zone.rename",  zone_rename);
795 799

  
796 800
    RequestManagerRegistry.addMethod("one.zone.addserver", zone_addserver);
801
    RequestManagerRegistry.addMethod("one.zone.delserver", zone_delserver);
797 802

  
798 803
    RequestManagerRegistry.addMethod("one.zonepool.info",zonepool_info);
799 804

  

Also available in: Unified diff