def upgrade_charm():
    write_ifmap_config()
    write_contrail_api_config()
    write_contrail_schema_config()
    write_discovery_config()
    write_contrail_svc_monitor_config()
    write_vnc_api_config()
    write_nodemgr_config()
    service_restart("supervisor-config")
def upgrade_charm():
    write_ifmap_config()
    write_contrail_api_config()
    write_contrail_schema_config()
    write_discovery_config()
    write_contrail_svc_monitor_config()
    write_vnc_api_config()
    write_nodemgr_config()
    service_restart("supervisor-config")
def zookeeper_relation():
    write_contrail_api_config()
    write_contrail_schema_config()
    write_discovery_config()
    write_contrail_svc_monitor_config()
def identity_admin_relation():
    write_contrail_api_config()
    write_contrail_schema_config()
    write_contrail_svc_monitor_config()
    write_vnc_api_config()
def cassandra_relation():
    write_contrail_api_config()
    write_contrail_schema_config()
    write_discovery_config()
    write_contrail_svc_monitor_config()
def amqp_relation():
    write_contrail_api_config()
    write_contrail_svc_monitor_config()
def zookeeper_relation():
    write_contrail_api_config()
    write_contrail_schema_config()
    write_discovery_config()
    write_contrail_svc_monitor_config()
def identity_admin_relation():
    write_contrail_api_config()
    write_contrail_schema_config()
    write_contrail_svc_monitor_config()
    write_vnc_api_config()
def cassandra_relation():
    write_contrail_api_config()
    write_contrail_schema_config()
    write_discovery_config()
    write_contrail_svc_monitor_config()
def amqp_relation():
    write_contrail_api_config()
    write_contrail_svc_monitor_config()