Module Expr Str ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore NameLoad If CompareLt NameLoad Num body TryExcept body ImportFrom alias If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Num If CompareLt NameLoad Num body TryExcept body Import alias ImportFrom alias If UnaryOpNot Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Num If CompareLt NameLoad Num body TryExcept body ImportFrom alias Expr Call NameLoad NameLoad ImportFrom alias ImportFrom alias ImportFrom alias If CompareIsNot NameLoad NameLoad body For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body For NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler body Pass If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str Str handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Num If CompareLt NameLoad Num body TryExcept body Import alias Import alias ImportFrom alias ImportFrom alias Expr Call NameLoad NameLoad ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad If Call AttributeLoad NameLoad attr Str Str body Assign NameStore NameLoad orelse If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body Assign NameStore NameLoad For NameStore BinOpAdd NameLoad NameLoad body If Call AttributeLoad NameLoad attr NameLoad Str body Assign NameStore NameLoad Break Assign NameStore NameLoad Assign NameStore Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str If CompareIsNot NameLoad NameLoad body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str If UnaryOpNot Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str orelse Expr Call AttributeLoad NameLoad attr Str Call NameLoad Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str Dict Str Str Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str Dict Str Str Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str Dict Str Str Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str Expr Call AttributeLoad NameLoad attr Str Dict Str Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Str Dict Str Str Str Str Str Str ListLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Dict Str Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Dict Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str attr comprehension NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str attr comprehension NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ImportFrom alias Expr Call NameLoad NameLoad ImportFrom alias alias ImportFrom alias If CompareIsNot NameLoad NameLoad body Assign NameStore Str For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad If Call AttributeLoad NameLoad attr NameLoad body For NameStore Call AttributeLoad NameLoad attr NameLoad body TryExcept body With Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Num Return NameLoad decorator_list NameLoad decorator_list
N/A N/A 
OVS migration module
 ovs.log.logHandler LogHandler N/A logger N/A N/A LogHandler get extensions name migration OVSMigrator N/A object N/A N/A 
    Handles all model related migrations
     N/A identifier ovs __init__ N/A N/A self N/A N/A N/A  Init method  N/A N/A migrate N/A N/A previous_version master_ips extra_ips N/A None None N/A N/A 
        Migrates from any version to any version, running all migrations required
        If previous_version is for example 0 and this script is at
        verison 3 it will execute two steps:
          - 1 > 2
          - 2 > 3
        :param previous_version: The previous version from which to start the migration.
        :param master_ips: IP addresses of the MASTER nodes
        :param extra_ips: IP addresses of the EXTRA nodes
         N/A working_version previous_version N/A N/A working_version 1 N/A N/A N/A ovs.extensions.generic.configuration Configuration N/A N/A N/A Configuration exists ovs.arakoon N/A N/A N/A N/A Configuration delete ovs.arakoon remove_root True N/A N/A N/A Configuration set ovs.core.ovsdb /opt/OpenvStorage/db N/A N/A N/A N/A N/A N/A logger exception Error migrating to version 1 N/A working_version 1 N/A N/A working_version 2 N/A N/A N/A N/A time ovs.extensions.generic.configuration Configuration N/A N/A N/A N/A Configuration exists ovs.core.registered N/A N/A N/A N/A Configuration set ovs.core.registered False N/A N/A N/A Configuration set ovs.core.install_time N/A N/A time time N/A N/A N/A N/A N/A N/A logger exception Error migrating to version 2 N/A working_version 2 N/A N/A working_version 3 N/A N/A N/A ovs.extensions.db.arakoon ArakoonInstaller N/A N/A reload ArakoonInstaller ovs.extensions.db.arakoon.ArakoonInstaller ArakoonInstaller ovs.extensions.generic.sshclient SSHClient ovs.extensions.generic.configuration Configuration N/A N/A master_ips None N/A N/A ip master_ips N/A N/A client N/A SSHClient ip N/A N/A N/A client dir_exists N/A ArakoonInstaller ARAKOON_CONFIG_DIR N/A N/A cluster_name N/A N/A client dir_list N/A ArakoonInstaller ARAKOON_CONFIG_DIR N/A N/A N/A N/A N/A N/A ArakoonInstaller deploy_cluster cluster_name ip N/A N/A N/A N/A N/A N/A N/A Configuration exists ovs.core.storage.persistent N/A N/A N/A N/A Configuration set ovs.core.storage.persistent pyrakoon N/A N/A N/A N/A N/A N/A logger exception Error migrating to version 3 N/A working_version 3 N/A N/A working_version 4 N/A N/A N/A N/A os N/A json ConfigParser RawConfigParser ovs.extensions.db.etcd installer N/A N/A reload installer ovs.extensions.db.etcd.installer EtcdInstaller ovs.extensions.db.etcd.configuration EtcdConfiguration ovs.extensions.generic.system System N/A host_id N/A N/A System get_my_machine_id N/A etcd_migrate False N/A N/A N/A EtcdInstaller has_cluster 127.0.0.1 config N/A N/A etcd_migrate True N/A N/A N/A N/A master_ips None N/A extra_ips None N/A N/A cluster_ip None N/A ip N/A master_ips extra_ips N/A N/A N/A N/A EtcdInstaller has_cluster ip config N/A N/A cluster_ip ip N/A N/A node_ip None N/A path /opt/OpenvStorage/config/ovs.json N/A N/A N/A N/A os path exists path N/A N/A N/A open path config_file N/A N/A config N/A N/A json load config_file N/A node_ip N/A N/A config N/A grid N/A ip N/A N/A node_ip None N/A N/A N/A cluster_ip None N/A N/A N/A N/A EtcdInstaller create_cluster config node_ip N/A N/A N/A EtcdConfiguration initialize N/A N/A N/A EtcdConfiguration initialize_host host_id N/A N/A N/A N/A EtcdInstaller extend_cluster cluster_ip node_ip config N/A N/A N/A EtcdConfiguration initialize_host host_id N/A etcd_migrate True N/A N/A etcd_migrate True N/A N/A path /opt/OpenvStorage/config/ovs.json N/A N/A N/A N/A os path exists path N/A N/A N/A open path config_file N/A N/A config N/A N/A json load config_file N/A N/A N/A EtcdConfiguration set /ovs/framework/cluster_id N/A N/A config N/A support N/A cid N/A N/A N/A N/A EtcdConfiguration exists /ovs/framework/install_time N/A N/A N/A N/A EtcdConfiguration set /ovs/framework/install_time N/A N/A config N/A core N/A install_time N/A N/A N/A N/A EtcdConfiguration set /ovs/framework/install_time N/A min N/A N/A EtcdConfiguration get /ovs/framework/install_time N/A N/A config N/A core N/A install_time N/A N/A N/A EtcdConfiguration set /ovs/framework/registered N/A N/A config N/A core N/A registered N/A N/A N/A EtcdConfiguration set /ovs/framework/plugins/installed N/A config N/A plugins N/A N/A N/A EtcdConfiguration set /ovs/framework/stores N/A N/A config N/A core N/A storage N/A N/A N/A EtcdConfiguration set /ovs/framework/paths N/A cfgdir basedir ovsdb N/A N/A config N/A core N/A cfgdir N/A N/A config N/A core N/A basedir N/A N/A config N/A core N/A ovsdb N/A N/A N/A EtcdConfiguration set /ovs/framework/support N/A enablesupport enabled interval N/A N/A config N/A support N/A enablesupport N/A N/A config N/A support N/A enabled N/A N/A config N/A support N/A interval N/A N/A N/A EtcdConfiguration set /ovs/framework/storagedriver N/A mds_safety mds_tlogs mds_maxload N/A N/A N/A config N/A storagedriver N/A mds N/A safety N/A N/A N/A config N/A storagedriver N/A mds N/A tlogs N/A N/A N/A config N/A storagedriver N/A mds N/A maxload N/A N/A N/A EtcdConfiguration set /ovs/framework/webapps N/A html_endpoint oauth2 N/A N/A config N/A webapps N/A html_endpoint N/A N/A config N/A webapps N/A oauth2 N/A N/A N/A EtcdConfiguration set /ovs/framework/messagequeue N/A endpoints protocol user port password queues N/A N/A N/A N/A config N/A core N/A broker N/A protocol N/A N/A N/A config N/A core N/A broker N/A login N/A N/A N/A config N/A core N/A broker N/A port N/A N/A N/A config N/A core N/A broker N/A password N/A N/A N/A config N/A core N/A broker N/A queues N/A host_key N/A N/A /ovs/framework/hosts/{0}{{0}} format host_id N/A N/A N/A EtcdConfiguration set N/A N/A host_key format /storagedriver N/A rsp vmware_mode N/A N/A config N/A storagedriver N/A rsp N/A N/A config N/A storagedriver N/A vmware_mode N/A N/A N/A EtcdConfiguration set N/A N/A host_key format /ports N/A config N/A ports N/A N/A N/A EtcdConfiguration set N/A N/A host_key format /setupcompleted N/A N/A config N/A core N/A setupcompleted N/A N/A N/A EtcdConfiguration set N/A N/A host_key format /versions N/A N/A N/A config N/A core get versions N/A N/A N/A N/A EtcdConfiguration set N/A N/A host_key format /type N/A N/A config N/A core N/A nodetype N/A N/A N/A EtcdConfiguration set N/A N/A host_key format /ip N/A N/A config N/A grid N/A ip N/A path N/A N/A {0}/memcacheclient.cfg format N/A N/A EtcdConfiguration get /ovs/framework/paths|cfgdir N/A N/A N/A N/A os path exists path N/A N/A config N/A RawConfigParser N/A N/A N/A config read path N/A nodes N/A N/A N/A N/A N/A config get N/A N/A node strip location strip N/A node N/A N/A N/A N/A config get main nodes split , N/A N/A N/A EtcdConfiguration set /ovs/framework/memcache|endpoints nodes N/A N/A N/A os remove path N/A path N/A N/A {0}/rabbitmqclient.cfg format N/A N/A EtcdConfiguration get /ovs/framework/paths|cfgdir N/A N/A N/A N/A os path exists path N/A N/A config N/A RawConfigParser N/A N/A N/A config read path N/A nodes N/A N/A N/A N/A N/A config get N/A N/A node strip location strip N/A node N/A N/A N/A N/A config get main nodes split , N/A N/A N/A EtcdConfiguration set /ovs/framework/messagequeue|endpoints nodes N/A N/A N/A os remove path ovs.extensions.db.arakoon ArakoonInstaller N/A N/A reload ArakoonInstaller ovs.extensions.db.arakoon.ArakoonInstaller ArakoonInstaller ArakoonClusterConfig ovs.extensions.generic.sshclient SSHClient N/A N/A master_ips None N/A N/A config_dir /opt/OpenvStorage/config/arakoon/ N/A ip master_ips N/A N/A client N/A SSHClient ip N/A N/A N/A client dir_exists config_dir N/A N/A cluster_name N/A N/A client dir_list config_dir N/A N/A N/A N/A N/A open N/A N/A {0}/{1}/{1}.cfg format config_dir cluster_name config_file N/A N/A N/A N/A EtcdConfiguration set N/A N/A N/A ArakoonClusterConfig ETCD_CONFIG_KEY format cluster_name N/A N/A config_file read raw True N/A N/A N/A ArakoonInstaller deploy_cluster cluster_name ip N/A N/A N/A N/A N/A N/A logger exception N/A N/A Error migrating {0} on {1} format cluster_name ip N/A N/A N/A client dir_delete config_dir N/A N/A N/A N/A N/A N/A logger exception Error migrating to version 4 N/A working_version 4 N/A working_version N/A staticmethod N/A