"""For each sliver with the vsys attribute, set the script ACL, create the vsys directory in the slice, and restart vsys."""
if 'slivers' not in data:
"""For each sliver with the vsys attribute, set the script ACL, create the vsys directory in the slice, and restart vsys."""
if 'slivers' not in data:
value = str(attribute['value'])
fn = os.path.join(dir, key)
value = str(attribute['value'])
fn = os.path.join(dir, key)
# slice. This lets us know that we've done the sysctl.
try:
logger.log("vsys_sysctl: create file %s value %s" % (fn, value))
# slice. This lets us know that we've done the sysctl.
try:
logger.log("vsys_sysctl: create file %s value %s" % (fn, value))
f.write(value+"\n")
except:
logger.log("vsys_sysctl: failed to create file %s" % fn)
def test_value(fn, value):
try:
f.write(value+"\n")
except:
logger.log("vsys_sysctl: failed to create file %s" % fn)
def test_value(fn, value):
try: