Example #1
0
def Install_Keystone():
    keystone_ip_address = raw_input(
        "Please enter the public ip address of the keystone server: ")
    keystone_ip_address_mgmt = raw_input(
        "Please enter the internal ip address of the keystone server: ")
    nova_ip_address = raw_input(
        "Please enter the public ip address of the nova server: ")
    nova_ip_address_mgmt = raw_input(
        "Please enter the internal ip address of the nova server: ")
    cinder_ip_address = raw_input(
        "Please enter the public ip address of the cinder server: ")
    cinder_ip_address_mgmt = raw_input(
        "Please enter the internal ip address of the cinder server: ")
    glance_ip_address = raw_input(
        "Please enter the public ip address of the glance server: ")
    glance_ip_address_mgmt = raw_input(
        "Please enter the internal ip address of the glance server: ")
    neutron_ip_address = raw_input(
        "Please enter the public ip address of the neutron server: ")
    neutron_ip_address_mgmt = raw_input(
        "Please enter the internal ip address of the neutron server: ")
    mysql_password = raw_input("Please enter the MySQL root password: "******"Please enter the MySQL host ip: ")
    havana.initialize_system()
    havana.install_and_configure_keystone(
        keystone_ip_address, keystone_ip_address_mgmt, nova_ip_address,
        nova_ip_address_mgmt, cinder_ip_address, cinder_ip_address_mgmt,
        glance_ip_address, glance_ip_address_mgmt, mysql_ip, mysql_password)
    havana.create_keystone_users(keystone_ip_address, keystone_ip_address_mgmt,
                                 nova_ip_address, nova_ip_address_mgmt,
                                 cinder_ip_address, cinder_ip_address_mgmt,
                                 glance_ip_address, glance_ip_address_mgmt,
                                 neutron_ip_address, neutron_ip_address_mgmt)
def Install_Cinder():
    keystone_ip_address_mgmt = raw_input("Please enter the internal ip address of the keystone server: ")
    cinder_ip_address_mgmt = raw_input("Please enter the internal ip address of the cinder server: ")
    rabbit_ip_address_mgmt = raw_input("Please enter the internal ip address of the RabbitMQ server: ")
    mysql_password=raw_input("Please enter the MySQL root password: "******"Please enter the MySQL host ip: ")
    havana.initialize_system()
    havana.install_and_configure_cinder( keystone_ip_address_mgmt, cinder_ip_address_mgmt, rabbit_ip_address_mgmt, mysql_ip, mysql_password )
Example #3
0
def Install_Glance():
    keystone_ip_address_mgmt = raw_input(
        "Please enter the internal ip address of the keystone server: ")
    mysql_password = raw_input("Please enter the MySQL root password: "******"Please enter the MySQL host ip: ")
    havana.initialize_system()
    havana.install_and_configure_glance(keystone_ip_address_mgmt, mysql_ip,
                                        mysql_password)
def Install_Neutron_Server():
    keystone_ip_address_mgmt = raw_input("Please enter the internal ip address of the keystone server: ")
    neutron_ip_address = raw_input("Please enter the public ip address of the neutron server: ")
    neutron_ip_address_mgmt = raw_input("Please enter the internal ip address of the neutron server: ")
    rabbit_ip_address_mgmt = raw_input("Please enter the internal ip address of the RabbitMQ server: ")
    mysql_ip=raw_input("Please enter the MySQL host ip: ")
    mysql_password=raw_input("Please enter the MySQL root password: ")
    havana.initialize_system()
    havana.install_and_configure_neutron( neutron_ip_address, neutron_ip_address_mgmt, keystone_ip_address_mgmt, rabbit_ip_address_mgmt, mysql_ip, mysql_password )
def Install_Nova_Compute():
    keystone_ip_address_mgmt = raw_input("Please enter the internal ip address of the keystone server: ")
    nova_ip_address = raw_input("Please enter the public ip address of the nova server: ")
    glance_ip_address_mgmt = raw_input("Please enter the internal ip address of the glance server: ")
    neutron_ip_address = raw_input("Please enter the public ip address of the neutron server: ")
    neutron_ip_address_mgmt = raw_input("Please enter the internal ip address of the neutron server: ")
    rabbit_ip_address_mgmt = raw_input("Please enter the internal ip address of the RabbitMQ server: ")
    mysql_ip=raw_input("Please enter the MySQL host ip: ")
    havana.initialize_system()
    havana.install_and_configure_nova_compute( keystone_ip_address_mgmt, nova_ip_address, rabbit_ip_address_mgmt, glance_ip_address_mgmt, neutron_ip_address, neutron_ip_address_mgmt, my_ip, mysql_ip )
    havana.install_and_configure_ovs( rabbit_ip_address_mgmt, keystone_ip_address_mgmt, neutron_ip_address, mysql_ip )
Example #6
0
def Install_Cinder():
    keystone_ip_address_mgmt = raw_input(
        "Please enter the internal ip address of the keystone server: ")
    cinder_ip_address_mgmt = raw_input(
        "Please enter the internal ip address of the cinder server: ")
    rabbit_ip_address_mgmt = raw_input(
        "Please enter the internal ip address of the RabbitMQ server: ")
    mysql_password = raw_input("Please enter the MySQL root password: "******"Please enter the MySQL host ip: ")
    havana.initialize_system()
    havana.install_and_configure_cinder(keystone_ip_address_mgmt,
                                        cinder_ip_address_mgmt,
                                        rabbit_ip_address_mgmt, mysql_ip,
                                        mysql_password)
def Install_Keystone():
    keystone_ip_address = raw_input("Please enter the public ip address of the keystone server: ")
    keystone_ip_address_mgmt = raw_input("Please enter the internal ip address of the keystone server: ")
    nova_ip_address = raw_input("Please enter the public ip address of the nova server: ")
    nova_ip_address_mgmt = raw_input("Please enter the internal ip address of the nova server: ")
    cinder_ip_address = raw_input("Please enter the public ip address of the cinder server: ")
    cinder_ip_address_mgmt = raw_input("Please enter the internal ip address of the cinder server: ")
    glance_ip_address = raw_input("Please enter the public ip address of the glance server: ")
    glance_ip_address_mgmt = raw_input("Please enter the internal ip address of the glance server: ")
    neutron_ip_address = raw_input("Please enter the public ip address of the neutron server: ")
    neutron_ip_address_mgmt = raw_input("Please enter the internal ip address of the neutron server: ")
    mysql_password=raw_input("Please enter the MySQL root password: "******"Please enter the MySQL host ip: ")
    havana.initialize_system()
    havana.install_and_configure_keystone( keystone_ip_address, keystone_ip_address_mgmt, nova_ip_address, nova_ip_address_mgmt, cinder_ip_address, cinder_ip_address_mgmt, glance_ip_address, glance_ip_address_mgmt, mysql_ip, mysql_password )
    havana.create_keystone_users( keystone_ip_address, keystone_ip_address_mgmt, nova_ip_address, nova_ip_address_mgmt, cinder_ip_address, cinder_ip_address_mgmt, glance_ip_address, glance_ip_address_mgmt, neutron_ip_address, neutron_ip_address_mgmt )
Example #8
0
def Install_Neutron_Server():
    keystone_ip_address_mgmt = raw_input(
        "Please enter the internal ip address of the keystone server: ")
    neutron_ip_address = raw_input(
        "Please enter the public ip address of the neutron server: ")
    neutron_ip_address_mgmt = raw_input(
        "Please enter the internal ip address of the neutron server: ")
    rabbit_ip_address_mgmt = raw_input(
        "Please enter the internal ip address of the RabbitMQ server: ")
    mysql_ip = raw_input("Please enter the MySQL host ip: ")
    mysql_password = raw_input("Please enter the MySQL root password: ")
    havana.initialize_system()
    havana.install_and_configure_neutron(neutron_ip_address,
                                         neutron_ip_address_mgmt,
                                         keystone_ip_address_mgmt,
                                         rabbit_ip_address_mgmt, mysql_ip,
                                         mysql_password)
Example #9
0
def Install_Nova_Compute():
    keystone_ip_address_mgmt = raw_input(
        "Please enter the internal ip address of the keystone server: ")
    nova_ip_address = raw_input(
        "Please enter the public ip address of the nova server: ")
    glance_ip_address_mgmt = raw_input(
        "Please enter the internal ip address of the glance server: ")
    neutron_ip_address = raw_input(
        "Please enter the public ip address of the neutron server: ")
    neutron_ip_address_mgmt = raw_input(
        "Please enter the internal ip address of the neutron server: ")
    rabbit_ip_address_mgmt = raw_input(
        "Please enter the internal ip address of the RabbitMQ server: ")
    mysql_ip = raw_input("Please enter the MySQL host ip: ")
    havana.initialize_system()
    havana.install_and_configure_nova_compute(
        keystone_ip_address_mgmt, nova_ip_address, rabbit_ip_address_mgmt,
        glance_ip_address_mgmt, neutron_ip_address, neutron_ip_address_mgmt,
        my_ip, mysql_ip)
    havana.install_and_configure_ovs(rabbit_ip_address_mgmt,
                                     keystone_ip_address_mgmt,
                                     neutron_ip_address, mysql_ip)
Example #10
0
def Install_Glance():
    keystone_ip_address_mgmt = raw_input("Please enter the internal ip address of the keystone server: ")
    mysql_password=raw_input("Please enter the MySQL root password: "******"Please enter the MySQL host ip: ")
    havana.initialize_system()
    havana.install_and_configure_glance( keystone_ip_address_mgmt, mysql_ip, mysql_password )
Example #11
0
def Install_RabbitMQ():
    havana.initialize_system()
    havana.install_rabbitmq()
Example #12
0
def Install_RabbitMQ():
    havana.initialize_system()
    havana.install_rabbitmq()