From d78df9c4eb6f711486c87f44db98e72e3880db9a Mon Sep 17 00:00:00 2001 From: nitishkrishna Date: Mon, 23 Jan 2017 15:55:42 -0800 Subject: [PATCH] Closes-Bug: #1616579 - Updating SM sample JSONS for docker provisioning Adding sample cluster JSON for container provisioning Removing old/unused sample jsons Adding schema for docker cluster provisioning Change-Id: I60ee6be6b7ec5fca21e8818461f49dbe452c236e --- src/client/cluster.json | 27 - src/client/docker/sample_docker_cluster.json | 247 ++++ .../docker/sample_docker_cluster_schema.txt | 1239 +++++++++++++++++ src/client/new-server.json | 9 + src/client/server-5-node-interface.json | 123 -- src/client/server.json | 35 - src/client/server_kernel_upgrade.json | 29 - src/client/server_minimal.json | 14 - src/client/server_multi_if.json | 142 -- src/client/server_new_interface.json | 40 - src/client/sriov_cluster.json | 28 - src/client/sriov_server.json | 48 - src/client/storage-cluster.json | 28 - src/client/storage-server.json | 21 - 14 files changed, 1495 insertions(+), 535 deletions(-) delete mode 100644 src/client/cluster.json create mode 100755 src/client/docker/sample_docker_cluster.json create mode 100644 src/client/docker/sample_docker_cluster_schema.txt delete mode 100644 src/client/server-5-node-interface.json delete mode 100644 src/client/server.json delete mode 100644 src/client/server_kernel_upgrade.json delete mode 100644 src/client/server_minimal.json delete mode 100644 src/client/server_multi_if.json delete mode 100644 src/client/server_new_interface.json delete mode 100644 src/client/sriov_cluster.json delete mode 100644 src/client/sriov_server.json delete mode 100644 src/client/storage-cluster.json delete mode 100644 src/client/storage-server.json diff --git a/src/client/cluster.json b/src/client/cluster.json deleted file mode 100644 index 6441d5e4..00000000 --- a/src/client/cluster.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "cluster" : [ - { - "id" : "demo-cluster", - "parameters" : { - "router_asn": "64512", - "database_dir": "/home/cassandra", - "database_token": "", - "use_certificates": "False", - "multi_tenancy": "True", - "encapsulation_priority": "MPLSoUDP,MPLSoGRE,VXLAN", - "keystone_username": "admin", - "keystone_password": "contrail123", - "keystone_tenant": "admin", - "analytics_data_ttl": "168", - "haproxy": "disable", - "subnet_mask": "255.255.255.240", - "gateway": "10.204.221.46", - "password": "c0ntrail123", - "external_bgp": "", - "domain": "englab.juniper.net", - "base_image_id": "", - "package_image_id": "" - } - } - ] -} diff --git a/src/client/docker/sample_docker_cluster.json b/src/client/docker/sample_docker_cluster.json new file mode 100755 index 00000000..fb86c1ec --- /dev/null +++ b/src/client/docker/sample_docker_cluster.json @@ -0,0 +1,247 @@ +{ + "cluster": [ + { + "id": "docker_cluster", + "parameters": { + "provision": { + "containers": { + "agent": { + "GLOBAL": { + "cloud_orchestrator": "openstack", + "controller_ip" : "" + }, + "KEYSTONE" : { + "ip": "127.0.0.1", + "admin_port": 35357, + "public_port": 5000, + "version": "v2.0", + "auth_protocol": "http", + "admin_user": "admin", + "admin_tenant": "admin", + "admin_password": "" + }, + "DEFAULT" : { + "log_level" : "SYS_NOTICE" + } + }, + "control": { + "DEFAULT" : { + "log_level" : "SYS_NOTICE" + }, + "GLOBAL" : { + "cloud_orchestrator": "openstack", + "external_lb": false, + "controller_list": "['127.0.0.1']", + "controller_ip": "127.0.0.1", + "analytics_ip" : "127.0.0.1", + "external_rabbitmq_servers": [], + "external_zk_servers": [], + "external_cassanrda_servers": [], + "multi_tenancy": false, + "ifmap_server": "127.0.0.1" + }, + "KEYSTONE" : { + "ip": "127.0.0.1", + "admin_port": 35357, + "public_port": 5000, + "version": "v2.0", + "auth_protocol": "http", + "admin_user": "admin", + "admin_tenant": "admin", + "admin_password": "" + }, + "CONTROL" : { + "asn": 64512, + "external_routers": [], + "bgp_port": 179, + "introspect_port": 8083, + "xmpp_server_port": 5269, + "log_file": "/var/log/contrail/contrail-control.log", + "log_level": "SYS_NOTICE", + "sandesh_send_rate_limit": 100 + }, + "DNS" : { + "named_config_file": "contrail-named.conf", + "named_config_directory": "/etc/contrail/dns", + "named_log_file": "/var/log/contrail/contrail-named.log", + "rndc_config_file": "contrail-rndc.conf", + "introspect_port": 8092, + "dns_server_port": 53, + "log_file": "/var/log/contrail/contrail-dns.log", + "log_level": "SYS_NOTICE" + }, + "CONFIGDB" : { + "data_directory": "", + "ssd_data_directory": "", + "db_user": "", + "db_password": "", + "external_db_servers": "", + "external_zk_servers": "" + }, + "API" : { + "log_file": "/var/log/contrail/contrail-api.log", + "log_level": "SYS_NOTICE", + "ifmap_username": "api-server", + "ifmap_password": "api-server", + "list_optimization_enabled": true, + "listen_port": 8082, + "listen_address": "0.0.0.0" + }, + "SCHEMA" : { + "log": "/var/log/contrail/contrail-schema.log", + "log_level": "SYS_NOTICE", + "ifmap_username": "schema-transformer", + "ifmap_password": "schema-transformer" + }, + "DISCOVERY": { + "listen_address": "0.0.0.0", + "listen_port": 5998, + "log": "/var/log/contrail/contrail-discovery.log", + "log_level": "SYS_NOTICE", + "ttl_min": 300, + "ttl_max": 1800, + "hc_interval": 5, + "hc_max_miss": 3, + "ttl_short": 1, + "dns_server_policy": "fixed" + }, + "DEVICE_MANAGER": { + "log": "/var/log/contrail/contrail-device-manager.log", + "log_level": "SYS_NOTICE" + }, + "SVC_MONITOR": { + "ifmap_username": "svc-monitor", + "ifmap_password": "svc-monitor", + "log": "/var/log/contrail/contrail-svc-monitor.log", + "log_level": "SYS_NOTICE" + }, + "IFMAP": { + "server_port" 8443 + }, + "WEBUI": { + "http_listen_port": 8080, + "https_listen_port": 8143 + }, + "OPENSHIFT": { + "token": "" + } + }, + "analytics": { + "DEFAULT" : { + "log_level": "SYS_NOTICE" + }, + "GLOBAL": { + "cloud_orchestrator": "openstack", + "external_lb": false, + "controller_list": "['127.0.0.1']", + "analyticsdb_list" : "['127.0.0.1']", + "controller_ip": "127.0.0.1", + "uve_partition_count": 30, + "analytics_data_ttl": -1, + "analytics_flow_ttl": -1, + "analytics_statistics_ttl": -1, + "analytics_config_audit_ttl": -1 + }, + "KEYSTONE" : { + "ip": "127.0.0.1", + "admin_port": 35357, + "public_port": 5000, + "version": "v2.0", + "auth_protocol": "http", + "admin_user": "admin", + "admin_tenant": "admin", + "admin_password": "" + }, + "ALARM_GEN": { + "log": "/var/log/contrail/contrail-alarm-gen.log", + "log_level": "SYS_NOTICE", + "introspect_port": 5995 + }, + "ANALYTICS_API": { + "introspect_port": 8090, + "listen_port": 8081, + "listen_address": "0.0.0.0", + "log_level": "SYS_NOTICE", + "log": "/var/log/contrail/contrail-analytics-api.log", + "sandesh_send_rate_limit": 100, + "aaa_mode": "no-auth" + }, + "ANALYTICS_COLLECTOR": { + "log": "/var/log/contrail/contrail-collector.log", + "log_level": "SYS_NOTICE", + "introspect_port": 8089, + "listen_port": 8086, + "listen_address": "0.0.0.0", + "syslog_port": -1, + "sflow_port": 6343, + "ipfix_port": 4739, + "sandesh_send_rate_limit": 100 + }, + "QUERY_ENGINE": { + "log": "/var/log/contrail/contrail-query-engine.log", + "log_level": "SYS_NOTICE", + "introspect_port": 8091 + }, + "SNMP_COLLECTOR": { + "log": "/var/log/contrail/contrail-snmp-collector.log", + "log_level": "SYS_NOTICE", + "introspect_port": 5920, + "scan_frequency": 600, + "fast_scan_frequency": 60 + }, + "TOPOLOGY": { + "log": "/var/log/contrail/contrail-topology.log", + "log_level": "SYS_NOTICE", + "introspect_port": 5921 + } + }, + "analyticsdb": { + "DEFAULT": { + "log_level": "SYS_NOTICE" + }, + "GLOBAL": { + "cloud_orchestrator": "openstack", + "controller_ip": "127.0.0.1", + "controller_list": "['127.0.0.1']", + "analyticsdb_list" : "['127.0.0.1']" + }, + "KEYSTONE" : { + "ip": "127.0.0.1", + "admin_port": 35357, + "public_port": 5000, + "version": "v2.0", + "auth_protocol": "http", + "admin_user": "admin", + "admin_tenant": "admin", + "admin_password": "" + }, + "CASSANDRA": { + "version": "2.2", + "version_branch": "2.2", + "commitlog_dir": "/var/lib/cassandra/commitlog", + "saved_caches_dir": "/var/lib/cassandra/saved_caches", + "data_dirs": ["/var/lib/cassandra/data"], + "listen_address": "127.0.0.1", + "java_max_heap_size" "512M", + "java_max_heap_newsize": "100M" + } + }, + "lb": { + "GLOBAL": { + "controller_list": "['127.0.0.1']", + "analytics_list" : "['127.0.0.1']" + }, + "HAPROXY": { + "haproxy_auth_user": "haproxy", + "haproxy_auth_password": "" + } + } + }, + "openstack": { + "external_openstack_ip": "127.0.0.1" + } + } + } + } + ] +} diff --git a/src/client/docker/sample_docker_cluster_schema.txt b/src/client/docker/sample_docker_cluster_schema.txt new file mode 100644 index 00000000..985c713a --- /dev/null +++ b/src/client/docker/sample_docker_cluster_schema.txt @@ -0,0 +1,1239 @@ +{ + "$schema": "", + "type": "object", + "title": "Root schema.", + "description": "", + "properties": { + "cluster": { + "type": "array", + "title": "Cluster schema.", + "description": "Cluster JSON can describe multiple cluster configs.", + "items": { + "type": "object", + "title": "0 schema.", + "description": "First Cluster", + "properties": { + "id": { + "type": "string", + "title": "Id schema.", + "description": "Id of the cluster being added. This is a mandatory parameter." + }, + "parameters": { + "type": "object", + "title": "Parameters schema.", + "description": "List of all the parameters being set for this cluster.", + "properties": { + "provision": { + "type": "object", + "title": "Provision schema.", + "description": "Cluster Provision Parameters - New format", + "properties": { + "containers": { + "type": "object", + "title": "Containers schema.", + "description": "Provision Parameters for Contrail Container Components", + "properties": { + "agent": { + "type": "object", + "title": "Agent schema.", + "description": "Provision Parameters for Agent Container", + "properties": { + "GLOBAL": { + "type": "object", + "title": "GLOBAL schema.", + "description": "GLOBAL section : All global configurations which would affect multiple sections or globally applicable configurations would be coming here.", + "properties": { + "controller_ip": { + "type": "string", + "title": "Controller_ip schema.", + "description": "An IP address using which one can connect to all public services within controller container. This can be a virtual IP handled by load balancer in case of multi-node controllers." + } + } + }, + "KEYSTONE": { + "type": "object", + "title": "KEYSTONE schema.", + "description": "Section to get informtion about the keystone to be used by contrail. Only for openstack orchestration.", + "properties": { + "ip": { + "type": "string", + "title": "Ip schema.", + "description": "Ip address of the host running keystone", + "default": "127.0.0.1" + }, + "admin_port": { + "type": "integer", + "title": "Admin_port schema.", + "description": "Keystone admin port in which the keystone is listening.", + "default": 35357 + }, + "public_port": { + "type": "integer", + "title": "Public_port schema.", + "description": "Keystone public port in which the keystone is listening.", + "default": 5000 + }, + "version": { + "type": "string", + "title": "Version schema.", + "description": "Version of keystone to be used.", + "default": "v2.0" + }, + "auth_protocol": { + "type": "string", + "title": "Auth_protocol schema.", + "description": "Protocol used by keystone(http/https)", + "default": "http" + }, + "admin_user": { + "type": "string", + "title": "Admin_user schema.", + "description": "Name of the admin user in keystone.", + "default": "admin" + }, + "admin_tenant": { + "type": "string", + "title": "Admin_tenant schema.", + "description": "keystone admin tenant's name.", + "default": "admin" + }, + "admin_password": { + "type": "string", + "title": "Admin_password schema.", + "description": "Password of the keystone admin user.", + "default": "admin" + } + } + }, + "DEFAULT": { + "type": "object", + "title": "DEFAULT schema.", + "description": "All default configs would come here", + "properties": { + "log_level": { + "type": "string", + "title": "Log_level schema.", + "description": "Default log_level", + "default": "SYS_NOTICE" + } + } + } + } + }, + "control": { + "type": "object", + "title": "Control schema.", + "description": "Controller container parameters", + "properties": { + "DEFAULT": { + "type": "object", + "title": "DEFAULT schema.", + "description": "All default configs would come here", + "properties": { + "log_level": { + "type": "string", + "title": "Log_level schema.", + "description": "Default log_level", + "default": "SYS_NOTICE" + } + } + }, + "GLOBAL": { + "type": "object", + "title": "GLOBAL schema.", + "description": "All global configurations which would affect multiple sections or globally applicable configurations would be coming here.", + "properties": { + "cloud_orchestrator": { + "type": "string", + "title": "Cloud_orchestrator schema.", + "description": "what cloud orchestrator is being used, options are: kubernetes, openstack, mesos", + "default": "openstack" + }, + "external_lb": { + "type": "boolean", + "title": "External_lb schema.", + "description": "Flag to identify the whether the loadbalancer is internaly hosted in the lb container or managed externally.", + "default": false + }, + "controller_list": { + "type": "string", + "title": "Controller_list schema.", + "description": "An array/list representation of controller server IP addresses - this will be used to configure rabbitmq, zookeeper,cassandra", + "default": "['127.0.0.1']" + }, + "controller_ip": { + "type": "string", + "title": "Controller_ip schema.", + "description": "An IP address using which one can connect to all public services within controller container.", + "default": "127.0.0.1" + }, + "analytics_ip": { + "type": "string", + "title": "Analytics_ip schema.", + "description": "An IP address using which one can connect to analytics-api service within analytics container.", + "default": "127.0.0.1" + }, + "external_rabbitmq_servers": { + "type": "string", + "title": "External_rabbitmq_servers schema.", + "description": "array/list representation of rabbitmq servers", + "default": "" + }, + "external_zk_servers": { + "type": "string", + "title": "External_zk_servers schema.", + "description": "array/list representation of zookeeper servers", + "default": "" + }, + "external_cassanrda_servers": { + "type": "string", + "title": "External_cassanrda_servers schema.", + "description": "array/list representation of cassandra servers", + "default": "" + }, + "multi_tenancy": { + "type": "boolean", + "title": "Multi_tenancy schema.", + "description": "Enable or disable multi_tenancy", + "default": false + }, + "ifmap_server": { + "type": "string", + "title": "Ifmap_server schema.", + "description": "ifmap server address to use in various service configurations", + "default": "127.0.0.1" + } + } + }, + "KEYSTONE": { + "type": "object", + "title": "KEYSTONE schema.", + "description": "Section to get informtion about the keystone to be used by contrail. Only for openstack orchestration.", + "properties": { + "ip": { + "type": "string", + "title": "Ip schema.", + "description": "Ip address of the host running keystone", + "default": "127.0.0.1" + }, + "admin_port": { + "type": "integer", + "title": "Admin_port schema.", + "description": "Keystone admin port in which the keystone is listening.", + "default": 35357 + }, + "public_port": { + "type": "integer", + "title": "Public_port schema.", + "description": "Keystone public port in which the keystone is listening.", + "default": 5000 + }, + "version": { + "type": "string", + "title": "Version schema.", + "description": "Version of keystone to be used.", + "default": "v2.0" + }, + "auth_protocol": { + "type": "string", + "title": "Auth_protocol schema.", + "description": "Protocol used by keystone(http/https)", + "default": "http" + }, + "admin_user": { + "type": "string", + "title": "Admin_user schema.", + "description": "Name of the admin user in keystone.", + "default": "admin" + }, + "admin_tenant": { + "type": "string", + "title": "Admin_tenant schema.", + "description": "keystone admin tenant's name.", + "default": "admin" + }, + "admin_password": { + "type": "string", + "title": "Admin_password schema.", + "description": "Password of the keystone admin user.", + "default": "admin" + } + } + }, + "CONTROL": { + "type": "object", + "title": "CONTROL schema.", + "description": "Control section parameters", + "properties": { + "asn": { + "type": "integer", + "title": "Asn schema.", + "description": "ASN Number", + "default": 64512 + }, + "external_routers": { + "type": "array", + "title": "External_routers schema.", + "description": "List of external routers" + }, + "bgp_port": { + "type": "integer", + "title": "Bgp_port schema.", + "description": "BGP port number", + "default": 179 + }, + "introspect_port": { + "type": "integer", + "title": "Introspect_port schema.", + "description": "Introspect port for debugging", + "default": 8083 + }, + "xmpp_server_port": { + "type": "integer", + "title": "Xmpp_server_port schema.", + "description": "xmpp server port", + "default": 5269 + }, + "log_file": { + "type": "string", + "title": "Log_file schema.", + "description": "Log file location", + "default": "/var/log/contrail/contrail-control.log" + }, + "log_level": { + "type": "string", + "title": "Log_level schema.", + "description": "log level", + "default": "SYS_NOTICE" + }, + "sandesh_send_rate_limit": { + "type": "integer", + "title": "Sandesh_send_rate_limit schema.", + "description": "Sandesh send rate limit can be used to throttle system logs transmitted per second", + "default": 100 + } + } + }, + "DNS": { + "type": "object", + "title": "DNS schema.", + "description": "DNS parameters for controller", + "properties": { + "named_config_file": { + "type": "string", + "title": "Named_config_file schema.", + "description": "named config file", + "default": "contrail-named.conf" + }, + "named_config_directory": { + "type": "string", + "title": "Named_config_directory schema.", + "description": "named config directory", + "default": "/etc/contrail/dns" + }, + "named_log_file": { + "type": "string", + "title": "Named_log_file schema.", + "description": "named log file", + "default": "/var/log/contrail/contrail-named.log" + }, + "rndc_config_file": { + "type": "string", + "title": "Rndc_config_file schema.", + "description": "rndc config file", + "default": "contrail-rndc.conf" + }, + "introspect_port": { + "type": "integer", + "title": "Introspect_port schema.", + "description": "Introspect port for debug", + "default": 8092 + }, + "dns_server_port": { + "type": "integer", + "title": "Dns_server_port schema.", + "description": "DNS server port", + "default": 53 + }, + "log_file": { + "type": "string", + "title": "Log_file schema.", + "description": "Log file location", + "default": "/var/log/contrail/contrail-dns.log" + }, + "log_level": { + "type": "string", + "title": "Log_level schema.", + "description": "log level", + "default": "SYS_NOTICE" + } + } + }, + "CONFIGDB": { + "type": "object", + "title": "CONFIGDB schema.", + "description": "Config DB parameters", + "properties": { + "data_directory": { + "type": "string", + "title": "Data_directory schema.", + "description": "data_directory path", + "default": "" + }, + "ssd_data_directory": { + "type": "string", + "title": "Ssd_data_directory schema.", + "description": "ssd_data_directory path", + "default": "" + }, + "db_user": { + "type": "string", + "title": "Db_user schema.", + "description": "db_user", + "default": "" + }, + "db_password": { + "type": "string", + "title": "Db_password schema.", + "description": "db_password", + "default": "" + }, + "external_db_servers": { + "type": "string", + "title": "External_db_servers schema.", + "description": "external_db_servers list", + "default": "" + }, + "external_zk_servers": { + "type": "string", + "title": "External_zk_servers schema.", + "description": "External Zookeeper servers list", + "default": "" + } + } + }, + "API": { + "type": "object", + "title": "API schema.", + "description": "API Service Parameters", + "properties": { + "log_file": { + "type": "string", + "title": "Log_file schema.", + "description": "Log file location", + "default": "/var/log/contrail/contrail-api.log" + }, + "log_level": { + "type": "string", + "title": "Log_level schema.", + "description": "Log level", + "default": "SYS_NOTICE" + }, + "ifmap_username": { + "type": "string", + "title": "Ifmap_username schema.", + "description": "IFmap username", + "default": "api-server" + }, + "ifmap_password": { + "type": "string", + "title": "Ifmap_password schema.", + "description": "IFmap password", + "default": "api-server" + }, + "list_optimization_enabled": { + "type": "boolean", + "title": "List_optimization_enabled schema.", + "description": "Enable optimizations to list resources", + "default": true + }, + "listen_port": { + "type": "integer", + "title": "Listen_port schema.", + "description": "Listen port for contrail api service", + "default": 8082 + }, + "listen_address": { + "type": "string", + "title": "Listen_address schema.", + "description": "Listen address for contrail api service", + "default": "0.0.0.0" + } + } + }, + "SCHEMA": { + "type": "object", + "title": "SCHEMA schema.", + "description": "Schema service parameters", + "properties": { + "log": { + "type": "string", + "title": "Log schema.", + "description": "Log file location", + "default": "/var/log/contrail/contrail-schema.log" + }, + "log_level": { + "type": "string", + "title": "Log_level schema.", + "description": "Log level", + "default": "SYS_NOTICE" + }, + "ifmap_username": { + "type": "string", + "title": "Ifmap_username schema.", + "description": "IFmap username", + "default": "schema-transformer" + }, + "ifmap_password": { + "type": "string", + "title": "Ifmap_password schema.", + "description": "IFmap password", + "default": "schema-transformer" + } + } + }, + "DISCOVERY": { + "type": "object", + "title": "DISCOVERY schema.", + "description": "Discovery service parameters", + "properties": { + "listen_address": { + "type": "string", + "title": "Listen_address schema.", + "description": "Listen Address for discovery service", + "default": "0.0.0.0" + }, + "listen_port": { + "type": "integer", + "title": "Listen_port schema.", + "description": "Listen port for discovery service", + "default": 5998 + }, + "log": { + "type": "string", + "title": "Log schema.", + "description": "Log file location", + "default": "/var/log/contrail/contrail-discovery.log" + }, + "log_level": { + "type": "string", + "title": "Log_level schema.", + "description": "Log level", + "default": "SYS_NOTICE" + }, + "ttl_min": { + "type": "integer", + "title": "Ttl_min schema.", + "description": "minimim time to allow client to cache service information (seconds)", + "default": 300 + }, + "ttl_max": { + "type": "integer", + "title": "Ttl_max schema.", + "description": "maximum time to allow client to cache service information (seconds)", + "default": 1800 + }, + "hc_interval": { + "type": "integer", + "title": "Hc_interval schema.", + "description": "health check ping interval <=0 for disabling", + "default": 5 + }, + "hc_max_miss": { + "type": "integer", + "title": "Hc_max_miss schema.", + "description": "maximum hearbeats to miss before server will declare publisher out of service", + "default": 3 + }, + "ttl_short": { + "type": "integer", + "title": "Ttl_short schema.", + "description": "use short TTL for agressive rescheduling if all services are not up", + "default": 1 + }, + "dns_server_policy": { + "type": "string", + "title": "Dns_server_policy schema.", + "description": "specify policy to use when assigning services - [load-balance | round-robin | fixed]", + "default": "fixed" + } + } + }, + "DEVICE_MANAGER": { + "type": "object", + "title": "DEVICE_MANAGER schema.", + "description": "Device Manager service parameters", + "properties": { + "log": { + "type": "string", + "title": "Log schema.", + "description": "Log file location", + "default": "/var/log/contrail/contrail-device-manager.log" + }, + "log_level": { + "type": "string", + "title": "Log_level schema.", + "description": "Log level", + "default": "SYS_NOTICE" + } + } + }, + "SVC_MONITOR": { + "type": "object", + "title": "SVC_MONITOR schema.", + "description": "SVC monitor service parameters", + "properties": { + "ifmap_username": { + "type": "string", + "title": "Ifmap_username schema.", + "description": "IFmap username", + "default": "svc-monitor" + }, + "ifmap_password": { + "type": "string", + "title": "Ifmap_password schema.", + "description": "IFmap password", + "default": "svc-monitor" + }, + "log": { + "type": "string", + "title": "Log schema.", + "description": "Log file location", + "default": "/var/log/contrail/contrail-svc-monitor.log" + }, + "log_level": { + "type": "string", + "title": "Log_level schema.", + "description": "Log level", + "default": "SYS_NOTICE" + } + } + }, + "IFMAP": { + "type": "object", + "title": "IFMAP schema.", + "description": "IFMAP service parameters", + "properties": { + "server_port": { + "type": "integer", + "title": "Server_port schema.", + "description": "IFMAP server port", + "default": 8443 + } + } + }, + "WEBUI": { + "type": "object", + "title": "WEBUI schema.", + "description": "Contrail WEBUI parameters", + "properties": { + "http_listen_port": { + "type": "integer", + "title": "Http_listen_port schema.", + "description": "HTTP Listen port", + "default": 8080 + }, + "https_listen_port": { + "type": "integer", + "title": "Https_listen_port schema.", + "description": "HTTPS listen port", + "default": 8143 + } + } + }, + "OPENSHIFT": { + "type": "object", + "title": "OPENSHIFT schema.", + "description": "Openshift parameters", + "properties": { + "token": { + "type": "string", + "title": "Token schema.", + "description": "Openshift master token", + "default": "" + } + } + } + } + }, + "analytics": { + "type": "object", + "title": "Analytics schema.", + "description": "Analytics container paramters", + "properties": { + "DEFAULT": { + "type": "object", + "title": "DEFAULT schema.", + "description": "All default configs would come here", + "properties": { + "log_level": { + "type": "string", + "title": "Log_level schema.", + "description": "Default log_level", + "default": "SYS_NOTICE" + } + } + }, + "GLOBAL": { + "type": "object", + "title": "GLOBAL schema.", + "description": "GLOBAL section parameters", + "properties": { + "external_lb": { + "type": "boolean", + "title": "External_lb schema.", + "description": "Flag to identify the whether the loadbalancer is internaly hosted in the lb container or externally managed", + "default": false + }, + "controller_list": { + "type": "string", + "title": "Controller_list schema.", + "description": "An array/list representation of controller server IP addresses - this will be used to configure rabbitmq, zookeeper, cassandra servers", + "default": "['127.0.0.1']" + }, + "analyticsdb_list": { + "type": "string", + "title": "Analyticsdb_list schema.", + "description": "An array/list representation of analyticsdb server IP addresses - this will be used to configure cassandra and kafka servers", + "default": "['127.0.0.1']" + }, + "controller_ip": { + "type": "string", + "title": "Controller_ip schema.", + "description": "An IP address using which one can connect to all public services within controller container.", + "default": "127.0.0.1" + }, + "uve_partition_count": { + "type": "integer", + "title": "Uve_partition_count schema.", + "description": "this configuration set number of partitions for UVE Data to improve analytics performance", + "default": 30 + }, + "analytics_data_ttl": { + "type": "integer", + "title": "Analytics_data_ttl schema.", + "description": "ttl for messages and object logs", + "default": -1 + }, + "analytics_flow_ttl": { + "type": "integer", + "title": "Analytics_flow_ttl schema.", + "description": "ttl for flow data", + "default": -1 + }, + "analytics_statistics_ttl": { + "type": "integer", + "title": "Analytics_statistics_ttl schema.", + "description": "ttl for statistics data", + "default": -1 + }, + "analytics_config_audit_ttl": { + "type": "integer", + "title": "Analytics_config_audit_ttl schema.", + "description": "ttl for config audit data coming into collector", + "default": -1 + } + } + }, + "KEYSTONE": { + "type": "object", + "title": "KEYSTONE schema.", + "description": "Section to get informtion about the keystone to be used by contrail. Only for openstack orchestration.", + "properties": { + "ip": { + "type": "string", + "title": "Ip schema.", + "description": "Ip address of the host running keystone", + "default": "127.0.0.1" + }, + "admin_port": { + "type": "integer", + "title": "Admin_port schema.", + "description": "Keystone admin port in which the keystone is listening.", + "default": 35357 + }, + "public_port": { + "type": "integer", + "title": "Public_port schema.", + "description": "Keystone public port in which the keystone is listening.", + "default": 5000 + }, + "version": { + "type": "string", + "title": "Version schema.", + "description": "Version of keystone to be used.", + "default": "v2.0" + }, + "auth_protocol": { + "type": "string", + "title": "Auth_protocol schema.", + "description": "Protocol used by keystone(http/https)", + "default": "http" + }, + "admin_user": { + "type": "string", + "title": "Admin_user schema.", + "description": "Name of the admin user in keystone.", + "default": "admin" + }, + "admin_tenant": { + "type": "string", + "title": "Admin_tenant schema.", + "description": "keystone admin tenant's name.", + "default": "admin" + }, + "admin_password": { + "type": "string", + "title": "Admin_password schema.", + "description": "Password of the keystone admin user.", + "default": "admin" + } + } + }, + "ALARM_GEN": { + "type": "object", + "title": "ALARM_GEN schema.", + "description": "ALARM GEN params", + "properties": { + "log": { + "type": "string", + "title": "Log schema.", + "description": "Log file location", + "default": "/var/log/contrail/contrail-alarm-gen.log" + }, + "log_level": { + "type": "string", + "title": "Log_level schema.", + "description": "Log level", + "default": "SYS_NOTICE" + }, + "introspect_port": { + "type": "integer", + "title": "Introspect_port schema.", + "description": "Introspect port for debug", + "default": 5995 + } + } + }, + "ANALYTICS_API": { + "type": "object", + "title": "ANALYTICS_API schema.", + "description": "Analytics API parameters", + "properties": { + "introspect_port": { + "type": "integer", + "title": "Introspect_port schema.", + "description": "Introspect port for debug", + "default": 8090 + }, + "listen_port": { + "type": "integer", + "title": "Listen_port schema.", + "description": "Listen port", + "default": 8081 + }, + "listen_address": { + "type": "string", + "title": "Listen_address schema.", + "description": "Listen address", + "default": "0.0.0.0" + }, + "log_level": { + "type": "string", + "title": "Log_level schema.", + "description": "Log level", + "default": "SYS_NOTICE" + }, + "log": { + "type": "string", + "title": "Log schema.", + "description": "Log file location", + "default": "/var/log/contrail/contrail-analytics-api.log" + }, + "sandesh_send_rate_limit": { + "type": "integer", + "title": "Sandesh_send_rate_limit schema.", + "description": "Sandesh send rate limit can be used to throttle system logs transmitted per second", + "default": 100 + }, + "aaa_mode": { + "type": "string", + "title": "Aaa_mode schema.", + "description": "RBAC configuration for analytics api - no-auth/cloud-admin/rbac", + "default": "no-auth" + } + } + }, + "ANALYTICS_COLLECTOR": { + "type": "object", + "title": "ANALYTICS_COLLECTOR schema.", + "description": "Analytics Collector parameters", + "properties": { + "log": { + "type": "string", + "title": "Log schema.", + "description": "Log file location", + "default": "/var/log/contrail/contrail-collector.log" + }, + "log_level": { + "type": "string", + "title": "Log_level schema.", + "description": "Log level", + "default": "SYS_NOTICE" + }, + "introspect_port": { + "type": "integer", + "title": "Introspect_port schema.", + "description": "Introspect port for debug", + "default": 8089 + }, + "listen_port": { + "type": "integer", + "title": "Listen_port schema.", + "description": "Listen port", + "default": 8086 + }, + "listen_address": { + "type": "string", + "title": "Listen_address schema.", + "description": "Listen address", + "default": "0.0.0.0" + }, + "syslog_port": { + "type": "integer", + "title": "Syslog_port schema.", + "description": "TCP and UDP ports to listen on for receiving syslog messages. -1 to disable.", + "default": -1 + }, + "sflow_port": { + "type": "integer", + "title": "Sflow_port schema.", + "description": "UDP port to listen on for receiving sFlow messages. -1 to disable.", + "default": 6343 + }, + "ipfix_port": { + "type": "integer", + "title": "Ipfix_port schema.", + "description": "UDP port to listen on for receiving ipfix messages. -1 to disable.", + "default": 4739 + }, + "sandesh_send_rate_limit": { + "type": "integer", + "title": "Sandesh_send_rate_limit schema.", + "description": "Sandesh send rate limit can be used to throttle system logs transmitted per second", + "default": 100 + } + } + }, + "QUERY_ENGINE": { + "type": "object", + "title": "QUERY_ENGINE schema.", + "description": "Query Engine Parameters", + "properties": { + "log": { + "type": "string", + "title": "Log schema.", + "description": "Log file location", + "default": "/var/log/contrail/contrail-query-engine.log" + }, + "log_level": { + "type": "string", + "title": "Log_level schema.", + "description": "Log level", + "default": "SYS_NOTICE" + }, + "introspect_port": { + "type": "integer", + "title": "Introspect_port schema.", + "description": "Introspect port for debug", + "default": 8091 + } + } + }, + "SNMP_COLLECTOR": { + "type": "object", + "title": "SNMP_COLLECTOR schema.", + "description": "SNMP Collector parameters", + "properties": { + "log": { + "type": "string", + "title": "Log schema.", + "description": "Log file location", + "default": "/var/log/contrail/contrail-snmp-collector.log" + }, + "log_level": { + "type": "string", + "title": "Log_level schema.", + "description": "Log level", + "default": "SYS_NOTICE" + }, + "introspect_port": { + "type": "integer", + "title": "Introspect_port schema.", + "description": "Introspect port for debug", + "default": 5920 + }, + "scan_frequency": { + "type": "integer", + "title": "Scan_frequency schema.", + "description": "SNMP scan frequency", + "default": 600 + }, + "fast_scan_frequency": { + "type": "integer", + "title": "Fast_scan_frequency schema.", + "description": "SNMP Fast scan frequency", + "default": 60 + } + } + }, + "TOPOLOGY": { + "type": "object", + "title": "TOPOLOGY schema.", + "description": "Topology parameters", + "properties": { + "log": { + "type": "string", + "title": "Log schema.", + "description": "Log file location", + "default": "/var/log/contrail/contrail-topology.log" + }, + "log_level": { + "type": "string", + "title": "Log_level schema.", + "description": "Log level", + "default": "SYS_NOTICE" + }, + "introspect_port": { + "type": "integer", + "title": "Introspect_port schema.", + "description": "Introspect port for debug", + "default": 5921 + } + } + } + } + }, + "analyticsdb": { + "type": "object", + "title": "Analyticsdb schema.", + "description": "Analytics DB container params", + "properties": { + "DEFAULT": { + "type": "object", + "title": "DEFAULT schema.", + "description": "All default configs would come here", + "properties": { + "log_level": { + "type": "string", + "title": "Log_level schema.", + "description": "Default log_level", + "default": "SYS_NOTICE" + } + } + }, + "GLOBAL": { + "type": "object", + "title": "GLOBAL schema.", + "description": "Global section parameters", + "properties": { + "controller_ip": { + "type": "string", + "title": "Controller_ip schema.", + "description": "An IP address using which one can connect to all public services within controller container.", + "default": "127.0.0.1" + }, + "controller_list": { + "type": "string", + "title": "Controller_list schema.", + "description": "An array/list representation of controller server IP addresses - this will be used to configure rabbitmq, zookeeper, cassandra servers", + "default": "['127.0.0.1']" + }, + "analyticsdb_list": { + "type": "string", + "title": "Analyticsdb_list schema.", + "description": "list of analyticsdb server IP addresses", + "default": "['127.0.0.1']" + } + } + }, + "KEYSTONE": { + "type": "object", + "title": "KEYSTONE schema.", + "description": "Section to get informtion about the keystone to be used by contrail. Only for openstack orchestration.", + "properties": { + "ip": { + "type": "string", + "title": "Ip schema.", + "description": "Ip address of the host running keystone", + "default": "127.0.0.1" + }, + "admin_port": { + "type": "integer", + "title": "Admin_port schema.", + "description": "Keystone admin port in which the keystone is listening.", + "default": 35357 + }, + "public_port": { + "type": "integer", + "title": "Public_port schema.", + "description": "Keystone public port in which the keystone is listening.", + "default": 5000 + }, + "version": { + "type": "string", + "title": "Version schema.", + "description": "Version of keystone to be used.", + "default": "v2.0" + }, + "auth_protocol": { + "type": "string", + "title": "Auth_protocol schema.", + "description": "Protocol used by keystone(http/https)", + "default": "http" + }, + "admin_user": { + "type": "string", + "title": "Admin_user schema.", + "description": "Name of the admin user in keystone.", + "default": "admin" + }, + "admin_tenant": { + "type": "string", + "title": "Admin_tenant schema.", + "description": "keystone admin tenant's name.", + "default": "admin" + }, + "admin_password": { + "type": "string", + "title": "Admin_password schema.", + "description": "Password of the keystone admin user.", + "default": "admin" + } + } + }, + "CASSANDRA": { + "type": "object", + "title": "CASSANDRA schema.", + "description": "Cassandra section parameters", + "properties": { + "version": { + "type": "string", + "title": "Version schema.", + "description": "Cassandra version to use", + "default": "2.2" + }, + "version_branch": { + "type": "string", + "title": "Version_branch schema.", + "description": "Cassandra version branch to use", + "default": "2.2" + }, + "commitlog_dir": { + "type": "string", + "title": "Commitlog_dir schema.", + "description": "Directory to store commitlogs - prefered to use high performance disk", + "default": "/var/lib/cassandra/commitlog" + }, + "saved_caches_dir": { + "type": "string", + "title": "Saved_caches_dir schema.", + "description": "The directory location where table key and row caches are stored", + "default": "/var/lib/cassandra/saved_caches" + }, + "data_dirs": { + "type": "array", + "title": "Data_dirs schema.", + "description": "List of directory location where table data is stored (in SSTables)." + }, + "listen_address": { + "type": "string", + "title": "Listen_address schema.", + "description": "This must be an IP address - not 0.0.0.0", + "default": "127.0.0.1" + }, + "java_max_heap_size": { + "type": "string", + "title": "Java_max_heap_size schema.", + "description": "JAVA memory configurations - max heap size", + "default": "512M" + }, + "java_max_heap_newsize": { + "type": "string", + "title": "Java_max_heap_newsize schema.", + "description": "JAVA memory configurations - max heap newsize", + "default": "100M" + } + } + } + } + }, + "lb": { + "type": "object", + "title": "Lb schema.", + "description": "Load balancer container parameters", + "properties": { + "GLOBAL": { + "type": "object", + "title": "GLOBAL schema.", + "description": "GLOBAL section params", + "properties": { + "controller_list": { + "type": "string", + "title": "Controller_list schema.", + "description": " An array/list representation of controller server IP addresses, which will be used to configure hproxy backend servers", + "default": "['127.0.0.1']" + }, + "analytics_list": { + "type": "string", + "title": "Analytics_list schema.", + "description": "An array/list representation of analytics server IP addresses, which will be used to configure hproxy backend servers", + "default": "['127.0.0.1']" + } + } + }, + "HAPROXY": { + "type": "object", + "title": "HAPROXY schema.", + "description": "HAPROXY section parameters", + "properties": { + "haproxy_auth_user": { + "type": "string", + "title": "Haproxy_auth_user schema.", + "description": "auth user to access haproxy stats", + "default": "haproxy" + }, + "haproxy_auth_password": { + "type": "string", + "title": "Haproxy_auth_password schema.", + "description": "auth user's password to access haproxy stats", + "default": "" + } + } + } + } + } + } + }, + "openstack": { + "type": "object", + "title": "Openstack schema.", + "description": "Openstack parameters", + "properties": { + "external_openstack_ip": { + "type": "string", + "title": "External_openstack_ip schema.", + "description": "External IP to reach the openstack cluster" + } + } + } + } + } + } + } + } + } + } + } +} + diff --git a/src/client/new-server.json b/src/client/new-server.json index 13ab4473..c615cbf3 100644 --- a/src/client/new-server.json +++ b/src/client/new-server.json @@ -12,6 +12,15 @@ "dpdk": { "core_mask": "", "huge_pages": "" + }, + "sriov": { + "literal": true, + "p5p1": { + "VF": 7, + "physnets": [ + "physnet1" + ] + } } }, "storage": { diff --git a/src/client/server-5-node-interface.json b/src/client/server-5-node-interface.json deleted file mode 100644 index 9125c036..00000000 --- a/src/client/server-5-node-interface.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "server": [ - { - "id": "nodec57", - "mac_address": "00:25:90:c5:58:6e", - "ip_address": "10.204.221.61", - "parameters" : { - "interface_name": "eth0", - "setup_interface": "Yes", - }, - "roles" : ["compute"], - "cluster_id": "5-node", - "subnet_mask": "255.255.255.240", - "gateway": "10.204.221.62", - "password": "c0ntrail123", - "domain": "englab.juniper.net", - "control_data_network": { - "eth1": { - "ip_address": "192.168.100.1/24", - "default_gateway": "" - } - }, - "ipmi_address": "10.207.25.151" - }, - { - "id": "nodea4", - "mac_address": "00:25:90:a5:3b:12", - "ip_address": "10.204.221.60", - "parameters" : { - "interface_name": "eth5", - "setup_interface": "Yes", - }, - "roles" : ["compute"], - "cluster_id": "5-node", - "subnet_mask": "255.255.255.240", - "gateway": "10.204.221.62", - "password": "c0ntrail123", - "domain": "englab.juniper.net", - "control_data_network": { - "bond0": { - "ip_address": "192.168.100.2/24", - "default_gateway": "" - } - }, - "bond_interface": { - "bond0": { - "bond_options": "{'miimon': '100', 'mode': '802.3ad','xmit_hash_policy': 'layer3+4'}", - "member_interfaces": "['eth0', 'eth1', 'eth2', 'eth3']" - } - }, - "ipmi_address": "10.207.25.17" - - }, - { - "id": "nodec33", - "mac_address": "00:25:90:c4:82:28", - "ip_address": "10.204.221.59", - "parameters" : { - "interface_name": "eth0", - "setup_interface": "Yes", - }, - "roles" : ["config","collector","webui","database"], - "cluster_id": "5-node", - "subnet_mask": "255.255.255.240", - "gateway": "10.204.221.62", - "password": "c0ntrail123", - "domain": "englab.juniper.net", - "control": { - "eth1": { - "ip_address": "192.168.100.3/24", - "default_gateway": "" - } - }, - "ipmi_address": "10.207.25.87" - - }, - { - "id": "nodec35", - "mac_address": "00:25:90:c4:7a:70", - "ip_address": "10.204.221.58", - "parameters" : { - "interface_name": "eth0", - "setup_interface": "Yes", - }, - "roles" : ["config","openstack","control"], - "cluster_id": "5-node", - "subnet_mask": "255.255.255.240", - "gateway": "10.204.221.62", - "password": "c0ntrail123", - "domain": "englab.juniper.net", - "control": { - "eth1": { - "ip_address": "192.168.100.4/24", - "default_gateway": "" - } - }, - "ipmi_address": "10.207.25.89" - }, - { - "id": "nodec60", - "mac_address": "00:25:90:c5:59:B0", - "ip_address": "10.204.221.57", - "parameters" : { - "interface_name": "eth0", - "setup_interface": "Yes", - }, - "roles" : ["config","control"], - "cluster_id": "5-node", - "subnet_mask": "255.255.255.240", - "gateway": "10.204.221.62", - "password": "c0ntrail123", - "domain": "englab.juniper.net", - "control": { - "eth1": { - "ip_address": "192.168.100.5/24", - "default_gateway": "" - } - }, - "ipmi_address": "10.207.25.154" - } - - ] -} diff --git a/src/client/server.json b/src/client/server.json deleted file mode 100644 index 96b8d3ea..00000000 --- a/src/client/server.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "server": [ - { - "id": "demo2-server", - "network": { - "interfaces": [ - { - "default_gateway": "10.84.51.254", - "dhcp": true, - "ip_address": "10.84.51.13/24", - "mac_address": "00:25:90:aa:36:32", - "name": "eth1", - "type": "physical" - } - ], - "management_interface": "eth1" - }, - "contrail": { - "control_data_interface": "eth1" - }, - "roles" : ["config","openstack","control","compute","collector","webui","database"], - "cluster_id": "cluster1", - "password": "juniper", - "domain": "demo.juniper.net", - "ipmi_address": "10.84.6.63", - "tag" : { - "datacenter" : "demo-dc", - "floor" : "demo-floor", - "hall" : "demo-hall", - "rack" : "demo-rack", - "user_tag" : "demo-user" - } - } - ] -} diff --git a/src/client/server_kernel_upgrade.json b/src/client/server_kernel_upgrade.json deleted file mode 100644 index 346bb16f..00000000 --- a/src/client/server_kernel_upgrade.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "server": [ - { - "id": "demo2-server", - "mac_address": "00:25:90:aa:36:32", - "ip_address": "10.84.51.13", - "parameters" : { - "interface_name": "eth1", - "kernel_version": "3.13.0-34", - "kernel_upgrade": "yes", - "partition": "" - }, - "roles" : ["config","openstack","control","compute","collector","webui","database"], - "cluster_id": "demo-cluster", - "subnet_mask": "255.255.255.0", - "gateway": "10.84.51.254", - "password": "juniper", - "domain": "demo.juniper.net", - "power_address": "10.84.6.63", - "tag" : { - "datacenter" : "demo-dc", - "floor" : "demo-floor", - "hall" : "demo-hall", - "rack" : "demo-rack", - "user_tag" : "demo-user" - } - } - ] -} diff --git a/src/client/server_minimal.json b/src/client/server_minimal.json deleted file mode 100644 index b7a0efd7..00000000 --- a/src/client/server_minimal.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "server": [ - { - "id": "a5s228", - "ip_address": "192.168.1.3", - "mac_address": "00:25:90:96:F6:37" - }, - { - "id": "a5s227", - "ip_address": "192.168.1.2", - "mac_address": "00:25:90:97:06:E1" - } - ] -} diff --git a/src/client/server_multi_if.json b/src/client/server_multi_if.json deleted file mode 100644 index a9409a06..00000000 --- a/src/client/server_multi_if.json +++ /dev/null @@ -1,142 +0,0 @@ -{ - "server": [ - { - "contrail": { - "control_data_interface": "eth1" - }, - "id": "nodec57", - "roles": [ - "compute" - ], - "domain": "englab.juniper.net", - "password": "c0ntrail123", - "ipmi_address": "10.207.25.151", - "cluster_id": "vns-automation", - "network": { - "management_interface": "eth0", - "provisioning": "kickstart", - "interfaces": [ - { - "name": "eth1", - "ip_address": "192.168.100.2/24", - "default_gateway": "192.168.100.254" - }, - { - "name": "eth0", - "mac_address": "00:25:90:c5:58:6e", - "ip_address": "10.204.221.61/28" - } - ] - } - }, - { - "contrail": { - "control_data_interface": "eth1" - }, - "id": "nodec33", - "roles": [ - "webui", - "config", - "database", - "collector" - ], - "domain": "englab.juniper.net", - "password": "c0ntrail123", - "ipmi_address": "10.207.25.87", - "cluster_id": "vns-automation", - "network": { - "management_interface": "eth0", - "provisioning": "kickstart", - "interfaces": [ - { - "name": "eth1", - "ip_address": "192.168.100.3/24", - "default_gateway": "192.168.100.254" - }, - { - "name": "eth0", - "ip_address": "10.204.221.59/28", - "mac_address": "00:25:90:c4:82:28" - } - ] - } - }, - { - "contrail": { - "control_data_interface": "eth1" - }, - "id": "nodec35", - "roles": [ - "control", - "config", - "openstack" - ], - "domain": "englab.juniper.net", - "password": "c0ntrail123", - "mac_address": "00:25:90:c4:7a:70", - "ipmi_address": "10.207.25.89", - "cluster_id": "vns-automation", - "network": { - "management_interface": "eth0", - "provisioning": "kickstart", - "interfaces": [ - { - "name": "eth1", - "ip_address": "192.168.100.4/24", - "default_gateway": "192.168.100.254" - }, - { - "name": "eth0", - "ip_address": "10.204.221.58/28", - "mac_address": "00:25:90:c4:7a:70" - } - ] - } - }, - { - "contrail": { - "control_data_interface": "bond0" - }, - "id": "nodea4", - "roles": [ - "compute" - ], - "domain": "englab.juniper.net", - "password": "c0ntrail123", - "mac_address": "00:25:90:a5:3b:12", - "ipmi_address": "10.207.25.17", - "cluster_id": "vns-automation", - "network": { - "management_interface": "eth0", - "provisioning": "kickstart", - "interfaces": [ - { - "name": "eth1" - }, - { - "name": "eth2" - }, - { - "name": "eth3" - }, - { - "name": "eth4" - }, - { - "name": "eth0", - "ip_address": "10.204.221.60/28", - "mac_address": "00:25:90:a5:3b:12" - }, - { - "name": "bond0", - "type": "bond", - "default_gateway": "192.168.100.254", - "ip_address": "192.168.100.1/24", - "bond_options": {"miimon": "100", "mode": "802.3ad","xmit_hash_policy": "layer3+4"}, - "member_interfaces": ["eth1", "eth2", "eth3", "eth4"] - } - ] - } - } - ] -} diff --git a/src/client/server_new_interface.json b/src/client/server_new_interface.json deleted file mode 100644 index 48d68d4e..00000000 --- a/src/client/server_new_interface.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "server": [ - { - "id": "demo2-server", - "password": "juniper", - "domain": "demo.juniper.net", - "contrail": { - "control_data_interface": "bond0" - }, - "network": { - "management_interface": "eth1", - "provisioning": "kickstart", - "interfaces": [ - { - "name": "eth1", - "ip_address": "10.84.51.13/24", - "mac_address": "00:25:90:aa:36:32", - "default_gateway": "10.84.51.254", - "dhcp": true - }, - { - "name": "eth2", - "mac_address": "00:25:90:aa:36:22" - }, - { - "name": "eth3", - "mac_address": "00:25:90:aa:36:33" - }, - { - "name": "bond0", - "type": "bond", - "ip_address": "20.20.20.2/24", - "bond_options": {"miimon": "100", "mode": "802.3ad","xmit_hash_policy": "layer3+4"}, - "member_interfaces": ["eth2", "eth3"] - } - ] - } - } - ] -} diff --git a/src/client/sriov_cluster.json b/src/client/sriov_cluster.json deleted file mode 100644 index 035553c6..00000000 --- a/src/client/sriov_cluster.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "cluster": [ - { - "base_image_id": "", - "email": "", - "id": "new-sriov-cluster", - "package_image_id": "", - "parameters": { - "provision": { - "contrail": { - "database": { - "database_minimum_diskGB": 32 - }, - "openstack": { - "sriov": { - "enable": true - } - } - } - }, - "storage_fsid": "4c0f9cd8-fd39-4f86-bc57-5b6c5c4d3dca", - "storage_virsh_uuid": "99b103b4-b1a0-4576-b4fe-4a8e0bf9555f", - "uuid": "154cf62c-734f-4238-bb8f-9c14f05c3ef1" - } - } - ] -} - diff --git a/src/client/sriov_server.json b/src/client/sriov_server.json deleted file mode 100644 index ef9646d0..00000000 --- a/src/client/sriov_server.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "server": [ - { - "id": "sdkvse2", - "ip_address": "99.1.1.2", - "parameters": { - "interface_name": "eth3", - "provision": { - "contrail": { - "compute": { - "sriov": { - "literal": true, - "p5p1": { - "VF": 7, - "physnets": [ - "physnet1" - ] - } - } - } - } - } - }, - "roles": [ - "compute" - ] - }, - { - "id": "sdkvse1", - "ip_address": "99.1.1.1", - "parameters": { - "interface_name": "eth3", - "provision": { - "contrail": {} - } - }, - "roles": [ - "openstack", - "webui", - "config", - "database", - "control", - "collector" - ] - } - ] -} - diff --git a/src/client/storage-cluster.json b/src/client/storage-cluster.json deleted file mode 100644 index dd20c315..00000000 --- a/src/client/storage-cluster.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "cluster" : [ - { - "id" : "nitish-cluster", - "parameters" : { - "router_asn": "64512", - "database_dir": "/home/cassandra", - "database_token": "", - "use_certificates": "False", - "multi_tenancy": "False", - "encapsulation_priority": "MPLSoUDP,MPLSoGRE,VXLAN", - "keystone_username": "admin", - "keystone_password": "contrail123", - "keystone_tenant": "admin", - "analytics_data_ttl": "168", - "haproxy": "disable", - "subnet_mask": "255.255.255.240", - "gateway": "10.204.221.46", - "password": "c0ntrail123", - "external_bgp": "", - "domain": "englab.juniper.net", - "storage_mon_secret": "AQBM78tTEMz+GhAA3WiOXQI7UVdIy0YFFuTGdw==", - "osd_bootstrap_key": "AQCq7NFTeJUoBhAAlTVpxwWQJtBej/JDNhT6+Q==", - "admin_key": "AQDIgtNTgPLWARAAK6gs/fj8m88LnY9DwxJdYA==" - } - } - ] -} diff --git a/src/client/storage-server.json b/src/client/storage-server.json deleted file mode 100644 index ec785a24..00000000 --- a/src/client/storage-server.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "server": [ - { - "id": "nitish-test-server", - "mac_address": "52:54:00:30:FB:AB", - "ip_address": "192.168.121.101", - "parameters" : { - "interface_name": "eth1", - "storage_repo_id": "xyz_12", - "disks": ["/dev/sda","/dev/sdb"] - }, - "roles" : ["config","compute","openstack","control","collector","webui","database","storage-compute","storage-master"], - "cluster_id": "nitish-cluster", - "subnet_mask": "255.255.255.0", - "gateway": "10.204.221.46", - "password": "juniper", - "domain": "demo.juniper.net", - "power_address": "10.84.6.63" - } - ] -}