ADAPTER = 'openstack-icehouse'
FLAVOR = 'single-contoller-multi-compute'
CONFIG_MAPPING = {
    "mapped_name": "flavor_config",
    "mapped_children": [{
        "security": {
            "accordion_heading": "OpenStack Database and Queue Credentials",
            "category": "service_credentials",
            "data_structure": "table",
            "action": "true",
            "modifiable_data": ["username", "password"],
            "table_display_header": ["Service", "UserName", "Password", "Action"],
            "config": {
                "rabbitmq": {
                    "username": "guest",
                    "password": "guest"
                },
                "compute": {
                    "username": "nova",
                    "password": "nova"
                },
                "dashboard": {
                    "username": "dashboard",
                    "password": "dashboard"
                },
                "identity": {
                    "username": "keystone",
                    "password": "keystone"
                },
                "image": {
                    "username": "glance",
                    "password": "glance"
                },
                "metering": {
                    "username": "ceilometer",
                    "password": "ceilometer"
                },
                "mysql": {
                    "username": "root",
                    "password": "root"
                },
                "volume": {
                    "username": "cinder",
                    "password": "cinder"
                }
            }
        }
    },{
       "security": {
            "accordion_heading": "OpenStack Keystone User Credentials",
            "category": "console_credentials",
            "data_structure": "table",
            "action": "true",
            "modifiable_data": ["username", "password"],
            "table_display_header": ["Service", "UserName", "Password", "Action"],
            "config":{
                "admin": {
                    "username": "admin",
                    "password": "admin"
                },
                "compute": {
                    "username": "nova",
                    "password": "nova"
                },
                "dashboard": {
                    "username": "dashboard",
                    "password": "dashboard"
                },
                "image": {
                    "username": "glance",
                    "password": "glance"
                },
                "metering": {
                    "username": "ceilometer",
                    "password": "ceilometer"
                },
                "network": {
                    "username": "quantum",
                    "password": "quantum"
                },
                "object-store": {
                    "username": "swift",
                    "password": "swift"
                },
                "volume": {
                    "username": "cinder",
                    "password": "cinder"
                }
            }
        }
    },{
        "neutron_config": {
            "accordion_heading": "Neutron Configurations",
            "data_structure": "form",
            "category": "neutron_config",
            "form_name": "neutronForm",
            "data": {
                "openvswitch": {
                    "tenant_network_type": {
                        "label": "Tenant Network Type",
                        "input_type": "dropdown",
                        "mapped_key": [
                            "name", "is_required", "options"
                        ],
                        "content_data": {
                            "gre": [{
                                "label": "Tunnel ID Ranges",
                                "is_required": "true",
                                "display_type": "dropdown_text_multiple",
                                "name": "tunnel_id_ranges",
                                "hint": "1:1000"
                            }],
                            "vlan": [{
                                "label": "Network Vlan Ranges",
                                "is_required": "true",
                                "display_type": "dropdown_text_multiple",
                                "name": "network_vlan_ranges",
                                "hint": "physnet1:2700:2999"
                            }, {
                                "label": "Bridge Mapping",
                                "is_required": "true",
                                "display_type": "dropdown_text_multiple",
                                "name": "bridge_mappings",
                                "hint": "physnet1:br-eth1"
                            }]
                        }
                    }
                }
            }
        }
    }]
}