Ejemplo n.º 1
0
def keystone_changed():
    # once we have sufficent keystone creds and the neutron ap is ready, we
    # can create networks in neutron and images in glance, then advertise
    # those to the orchestrator.
    if is_neutron_api_ready():
        create_networks()
    if is_glance_api_ready():
        publish_astara_appliance_image()
    for rid in relation_ids('astara-orchestrator'):
        astara_orchestrator_relation_joined(rid)
Ejemplo n.º 2
0
def keystone_changed():
    # once we have sufficent keystone creds and the neutron ap is ready, we
    # can create networks in neutron and images in glance, then advertise
    # those to the orchestrator.
    if is_neutron_api_ready():
        create_networks()
    if is_glance_api_ready():
        publish_astara_appliance_image()
    for rid in relation_ids('astara-orchestrator'):
        astara_orchestrator_relation_joined(rid)
Ejemplo n.º 3
0
def neutron_api_changed(rid=None):
    if not is_neutron_api_ready():
        return
    create_networks()
    for rid in relation_ids('astara-orchestrator'):
        astara_orchestrator_relation_joined(rid)
Ejemplo n.º 4
0
def neutron_api_changed(rid=None):
    if not is_neutron_api_ready():
        return
    create_networks()
    for rid in relation_ids('astara-orchestrator'):
        astara_orchestrator_relation_joined(rid)