commit | 55eff26858cadfc519a576ec03513c0b38c4e5ae | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Wed Jun 15 09:50:14 2016 -0700 |
committer | Scott Baker <smbaker@gmail.com> | Wed Jun 15 09:50:14 2016 -0700 |
tree | b8614a714a8744ae847bd46d87d0632edde66dd8 | |
parent | b6e58ad386d386b68ab0b7dc8033af84b5f22d58 [diff] |
move over ceilometer service
diff --git a/xos/services/ceilometer/admin.py b/xos/onboard/ceilometer/admin.py similarity index 100% rename from xos/services/ceilometer/admin.py rename to xos/onboard/ceilometer/admin.py
diff --git a/xos/api/tenant/ceilometer/monitoringchannel.py b/xos/onboard/ceilometer/api/tenant/ceilometer/monitoringchannel.py similarity index 100% rename from xos/api/tenant/ceilometer/monitoringchannel.py rename to xos/onboard/ceilometer/api/tenant/ceilometer/monitoringchannel.py
diff --git a/xos/onboard/ceilometer/ceilometer-onboard.yaml b/xos/onboard/ceilometer/ceilometer-onboard.yaml new file mode 100644 index 0000000..7ba36f8 --- /dev/null +++ b/xos/onboard/ceilometer/ceilometer-onboard.yaml
@@ -0,0 +1,25 @@ +tosca_definitions_version: tosca_simple_yaml_1_0 + +description: Onboard the exampleservice + +imports: + - custom_types/xos.yaml + +topology_template: + node_templates: + servicecontroller#ceilometer: + type: tosca.nodes.ServiceController + properties: + base_url: file:///opt/xos/onboard/ceilometer/ + # The following will concatenate with base_url automatically, if + # base_url is non-null. + models: models.py + admin: admin.py + admin_template: templates/ceilometeradmin.html, templates/sflowadmin.html + synchronizer: synchronizer/manifest + synchronizer_run: monitoring_channel_synchronizer.py + tosca_resource: tosca/resources/ceilometerservice.py, tosca/resources/ceilometertenant.py + rest_tenant: subdirectory:ceilometer api/tenant/ceilometer/monitoringchannel.py + private_key: file:///opt/xos/key_import/monitoring_channel_rsa + public_key: file:///opt/xos/key_import/monitoring_channel_rsa.pub +
diff --git a/xos/services/ceilometer/models.py b/xos/onboard/ceilometer/models.py similarity index 100% rename from xos/services/ceilometer/models.py rename to xos/onboard/ceilometer/models.py
diff --git a/xos/synchronizers/monitoring_channel/files/docker.list b/xos/onboard/ceilometer/synchronizer/files/docker.list similarity index 100% rename from xos/synchronizers/monitoring_channel/files/docker.list rename to xos/onboard/ceilometer/synchronizer/files/docker.list
diff --git a/xos/synchronizers/monitoring_channel/files/vm-resolv.conf b/xos/onboard/ceilometer/synchronizer/files/vm-resolv.conf similarity index 100% rename from xos/synchronizers/monitoring_channel/files/vm-resolv.conf rename to xos/onboard/ceilometer/synchronizer/files/vm-resolv.conf
diff --git a/xos/onboard/ceilometer/synchronizer/manifest b/xos/onboard/ceilometer/synchronizer/manifest new file mode 100644 index 0000000..c679225 --- /dev/null +++ b/xos/onboard/ceilometer/synchronizer/manifest
@@ -0,0 +1,26 @@ +templates/Dockerfile.monitoring_channel +templates/ceilometer_proxy_config.j2 +templates/Dockerfile.sflowpubsub +templates/sflow_pub_sub/sample_sflow_pub_sub.conf_sample +templates/sflow_pub_sub/README +templates/sflow_pub_sub/sflow_sub_records.py +templates/sflow_pub_sub/start_sflow_pub_sub +templates/sflow_pub_sub/sflow_pub_sub_main.py +templates/sflow_pub_sub/sflow_pub_sub_config.j2 +templates/start-monitoring-channel.sh.j2 +templates/monitoring-channel.conf.j2 +templates/ceilometer_proxy_server.py +templates/start_ceilometer_proxy +manifest +monitoring_channel_synchronizer_config +steps/sync_sflowtenant.yaml +steps/sync_sflowtenant.py +steps/sync_monitoringchannel.yaml +steps/sync_monitoringchannel.py +steps/sync_sflowservice.yaml +steps/sync_sflowservice.py +files/vm-resolv.conf +files/docker.list +model-deps +supervisor/monitoring_channel_observer.conf +monitoring_channel_synchronizer.py
diff --git a/xos/synchronizers/monitoring_channel/model-deps b/xos/onboard/ceilometer/synchronizer/model-deps similarity index 100% rename from xos/synchronizers/monitoring_channel/model-deps rename to xos/onboard/ceilometer/synchronizer/model-deps
diff --git a/xos/synchronizers/monitoring_channel/monitoring_channel_synchronizer.py b/xos/onboard/ceilometer/synchronizer/monitoring_channel_synchronizer.py similarity index 100% rename from xos/synchronizers/monitoring_channel/monitoring_channel_synchronizer.py rename to xos/onboard/ceilometer/synchronizer/monitoring_channel_synchronizer.py
diff --git a/xos/synchronizers/monitoring_channel/monitoring_channel_synchronizer_config b/xos/onboard/ceilometer/synchronizer/monitoring_channel_synchronizer_config similarity index 100% rename from xos/synchronizers/monitoring_channel/monitoring_channel_synchronizer_config rename to xos/onboard/ceilometer/synchronizer/monitoring_channel_synchronizer_config
diff --git a/xos/synchronizers/monitoring_channel/steps/sync_monitoringchannel.py b/xos/onboard/ceilometer/synchronizer/steps/sync_monitoringchannel.py similarity index 100% rename from xos/synchronizers/monitoring_channel/steps/sync_monitoringchannel.py rename to xos/onboard/ceilometer/synchronizer/steps/sync_monitoringchannel.py
diff --git a/xos/synchronizers/monitoring_channel/steps/sync_monitoringchannel.yaml b/xos/onboard/ceilometer/synchronizer/steps/sync_monitoringchannel.yaml similarity index 100% rename from xos/synchronizers/monitoring_channel/steps/sync_monitoringchannel.yaml rename to xos/onboard/ceilometer/synchronizer/steps/sync_monitoringchannel.yaml
diff --git a/xos/synchronizers/monitoring_channel/steps/sync_sflowservice.py b/xos/onboard/ceilometer/synchronizer/steps/sync_sflowservice.py similarity index 100% rename from xos/synchronizers/monitoring_channel/steps/sync_sflowservice.py rename to xos/onboard/ceilometer/synchronizer/steps/sync_sflowservice.py
diff --git a/xos/synchronizers/monitoring_channel/steps/sync_sflowservice.yaml b/xos/onboard/ceilometer/synchronizer/steps/sync_sflowservice.yaml similarity index 100% rename from xos/synchronizers/monitoring_channel/steps/sync_sflowservice.yaml rename to xos/onboard/ceilometer/synchronizer/steps/sync_sflowservice.yaml
diff --git a/xos/synchronizers/monitoring_channel/steps/sync_sflowtenant.py b/xos/onboard/ceilometer/synchronizer/steps/sync_sflowtenant.py similarity index 100% rename from xos/synchronizers/monitoring_channel/steps/sync_sflowtenant.py rename to xos/onboard/ceilometer/synchronizer/steps/sync_sflowtenant.py
diff --git a/xos/synchronizers/monitoring_channel/steps/sync_sflowtenant.yaml b/xos/onboard/ceilometer/synchronizer/steps/sync_sflowtenant.yaml similarity index 100% rename from xos/synchronizers/monitoring_channel/steps/sync_sflowtenant.yaml rename to xos/onboard/ceilometer/synchronizer/steps/sync_sflowtenant.yaml
diff --git a/xos/synchronizers/monitoring_channel/supervisor/monitoring_channel_observer.conf b/xos/onboard/ceilometer/synchronizer/supervisor/monitoring_channel_observer.conf similarity index 100% rename from xos/synchronizers/monitoring_channel/supervisor/monitoring_channel_observer.conf rename to xos/onboard/ceilometer/synchronizer/supervisor/monitoring_channel_observer.conf
diff --git a/xos/synchronizers/monitoring_channel/templates/Dockerfile.monitoring_channel b/xos/onboard/ceilometer/synchronizer/templates/Dockerfile.monitoring_channel similarity index 100% rename from xos/synchronizers/monitoring_channel/templates/Dockerfile.monitoring_channel rename to xos/onboard/ceilometer/synchronizer/templates/Dockerfile.monitoring_channel
diff --git a/xos/synchronizers/monitoring_channel/templates/Dockerfile.sflowpubsub b/xos/onboard/ceilometer/synchronizer/templates/Dockerfile.sflowpubsub similarity index 100% rename from xos/synchronizers/monitoring_channel/templates/Dockerfile.sflowpubsub rename to xos/onboard/ceilometer/synchronizer/templates/Dockerfile.sflowpubsub
diff --git a/xos/synchronizers/monitoring_channel/templates/ceilometer_proxy_config.j2 b/xos/onboard/ceilometer/synchronizer/templates/ceilometer_proxy_config.j2 similarity index 100% rename from xos/synchronizers/monitoring_channel/templates/ceilometer_proxy_config.j2 rename to xos/onboard/ceilometer/synchronizer/templates/ceilometer_proxy_config.j2
diff --git a/xos/synchronizers/monitoring_channel/templates/ceilometer_proxy_server.py b/xos/onboard/ceilometer/synchronizer/templates/ceilometer_proxy_server.py similarity index 100% rename from xos/synchronizers/monitoring_channel/templates/ceilometer_proxy_server.py rename to xos/onboard/ceilometer/synchronizer/templates/ceilometer_proxy_server.py
diff --git a/xos/synchronizers/monitoring_channel/templates/monitoring-channel.conf.j2 b/xos/onboard/ceilometer/synchronizer/templates/monitoring-channel.conf.j2 similarity index 100% rename from xos/synchronizers/monitoring_channel/templates/monitoring-channel.conf.j2 rename to xos/onboard/ceilometer/synchronizer/templates/monitoring-channel.conf.j2
diff --git a/xos/synchronizers/monitoring_channel/templates/sflow_pub_sub/README b/xos/onboard/ceilometer/synchronizer/templates/sflow_pub_sub/README similarity index 100% rename from xos/synchronizers/monitoring_channel/templates/sflow_pub_sub/README rename to xos/onboard/ceilometer/synchronizer/templates/sflow_pub_sub/README
diff --git a/xos/synchronizers/monitoring_channel/templates/sflow_pub_sub/sample_sflow_pub_sub.conf_sample b/xos/onboard/ceilometer/synchronizer/templates/sflow_pub_sub/sample_sflow_pub_sub.conf_sample similarity index 100% rename from xos/synchronizers/monitoring_channel/templates/sflow_pub_sub/sample_sflow_pub_sub.conf_sample rename to xos/onboard/ceilometer/synchronizer/templates/sflow_pub_sub/sample_sflow_pub_sub.conf_sample
diff --git a/xos/synchronizers/monitoring_channel/templates/sflow_pub_sub/sflow_pub_sub_config.j2 b/xos/onboard/ceilometer/synchronizer/templates/sflow_pub_sub/sflow_pub_sub_config.j2 similarity index 100% rename from xos/synchronizers/monitoring_channel/templates/sflow_pub_sub/sflow_pub_sub_config.j2 rename to xos/onboard/ceilometer/synchronizer/templates/sflow_pub_sub/sflow_pub_sub_config.j2
diff --git a/xos/synchronizers/monitoring_channel/templates/sflow_pub_sub/sflow_pub_sub_main.py b/xos/onboard/ceilometer/synchronizer/templates/sflow_pub_sub/sflow_pub_sub_main.py similarity index 100% rename from xos/synchronizers/monitoring_channel/templates/sflow_pub_sub/sflow_pub_sub_main.py rename to xos/onboard/ceilometer/synchronizer/templates/sflow_pub_sub/sflow_pub_sub_main.py
diff --git a/xos/synchronizers/monitoring_channel/templates/sflow_pub_sub/sflow_sub_records.py b/xos/onboard/ceilometer/synchronizer/templates/sflow_pub_sub/sflow_sub_records.py similarity index 100% rename from xos/synchronizers/monitoring_channel/templates/sflow_pub_sub/sflow_sub_records.py rename to xos/onboard/ceilometer/synchronizer/templates/sflow_pub_sub/sflow_sub_records.py
diff --git a/xos/synchronizers/monitoring_channel/templates/sflow_pub_sub/start_sflow_pub_sub b/xos/onboard/ceilometer/synchronizer/templates/sflow_pub_sub/start_sflow_pub_sub similarity index 100% rename from xos/synchronizers/monitoring_channel/templates/sflow_pub_sub/start_sflow_pub_sub rename to xos/onboard/ceilometer/synchronizer/templates/sflow_pub_sub/start_sflow_pub_sub
diff --git a/xos/synchronizers/monitoring_channel/templates/start-monitoring-channel.sh.j2 b/xos/onboard/ceilometer/synchronizer/templates/start-monitoring-channel.sh.j2 similarity index 100% rename from xos/synchronizers/monitoring_channel/templates/start-monitoring-channel.sh.j2 rename to xos/onboard/ceilometer/synchronizer/templates/start-monitoring-channel.sh.j2
diff --git a/xos/synchronizers/monitoring_channel/templates/start_ceilometer_proxy b/xos/onboard/ceilometer/synchronizer/templates/start_ceilometer_proxy similarity index 100% rename from xos/synchronizers/monitoring_channel/templates/start_ceilometer_proxy rename to xos/onboard/ceilometer/synchronizer/templates/start_ceilometer_proxy
diff --git a/xos/services/ceilometer/templates/ceilometeradmin.html b/xos/onboard/ceilometer/templates/ceilometeradmin.html similarity index 100% rename from xos/services/ceilometer/templates/ceilometeradmin.html rename to xos/onboard/ceilometer/templates/ceilometeradmin.html
diff --git a/xos/services/ceilometer/templates/sflowadmin.html b/xos/onboard/ceilometer/templates/sflowadmin.html similarity index 100% rename from xos/services/ceilometer/templates/sflowadmin.html rename to xos/onboard/ceilometer/templates/sflowadmin.html
diff --git a/xos/tosca/resources/ceilometerservice.py b/xos/onboard/ceilometer/tosca/resources/ceilometerservice.py similarity index 100% rename from xos/tosca/resources/ceilometerservice.py rename to xos/onboard/ceilometer/tosca/resources/ceilometerservice.py
diff --git a/xos/tosca/resources/ceilometertenant.py b/xos/onboard/ceilometer/tosca/resources/ceilometertenant.py similarity index 100% rename from xos/tosca/resources/ceilometertenant.py rename to xos/onboard/ceilometer/tosca/resources/ceilometertenant.py