"""
vsys sub-configurator. Maintains configuration parameters associated with vsys scripts.
All slice attributes with the prefix vsys_ are written into configuration files on the
"""
vsys sub-configurator. Maintains configuration parameters associated with vsys scripts.
All slice attributes with the prefix vsys_ are written into configuration files on the
logger.log("vsys_privs: plugin starting")
if (not os.path.exists(VSYS_PRIV_DIR)):
os.makedirs(VSYS_PRIV_DIR)
logger.log("vsys_privs: plugin starting")
if (not os.path.exists(VSYS_PRIV_DIR)):
os.makedirs(VSYS_PRIV_DIR)
and cur_privs[slice].has_key(k)
and cur_privs[slice][k] == v):
# The binding has not changed
and cur_privs[slice].has_key(k)
and cur_privs[slice][k] == v):
# The binding has not changed
test_slivers = {'slivers':[
{'name':'foo','attributes':[
{'tagname':'vsys_m','value':'2'},
test_slivers = {'slivers':[
{'name':'foo','attributes':[
{'tagname':'vsys_m','value':'2'},