Remove old Scheduler RPC Service

Historically, there was a RPC service for scheduling. The code is
currently dead, so I'm removing it until we create a fresh new
Scheduler service with necessary code.

Change-Id: If0d5a0dfc0c2fcb475d8d89d66ed247d2dba253e
This commit is contained in:
Sylvain Bauza 2014-02-11 10:55:12 +01:00
parent fe9c660f54
commit fee60f1898
4 changed files with 0 additions and 59 deletions

View File

@ -1,37 +0,0 @@
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
#
# Copyright © 2013 Julien Danjou <julien@danjou.info>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import eventlet
eventlet.monkey_patch()
import sys
from oslo.config import cfg
from climate.openstack.common import service
from climate.scheduler import service as scheduler_service
from climate.utils import service as service_utils
def main():
service_utils.prepare_service(sys.argv)
service.launch(
scheduler_service.SchedulerService(cfg.CONF.host,
'climate.scheduler')
).wait()
if __name__ == '__main__':
main()

View File

@ -1,21 +0,0 @@
# -*- encoding: utf-8 -*-
#
# Copyright © 2013 Julien Danjou <julien@danjou.info>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from climate.openstack.common.rpc import service as rpc_service
class SchedulerService(rpc_service.Service):
pass

View File

@ -28,7 +28,6 @@ packages =
[entry_points] [entry_points]
console_scripts = console_scripts =
climate-api=climate.cmd.api:main climate-api=climate.cmd.api:main
climate-scheduler=climate.cmd.scheduler:main
climate-rpc-zmq-receiver=climate.cmd.rpc_zmq_receiver:main climate-rpc-zmq-receiver=climate.cmd.rpc_zmq_receiver:main
climate-manager=climate.cmd.manager:main climate-manager=climate.cmd.manager:main