Interface is not disabled because it’s probably dynamic, try setting them as static under provisioning:
/caps-man provisioning set [find] action=create-enabled
You can try something like this; enable/disable interface based on configuration name on a per-weekday-scheduler entry.
Since actual-interface-configuration cannot be enabled/disabled and interface don’t display higher defined configuration values,
configuration (name) is the better choice.
I have a script that runs at start up that sets the day of the week.
There is also a script that sets the day of the week at 00:00:01 each day.
I was going to use this same variable to set the $GuestSchedule per day.
So you have one script that is constantly running. It should pick up the Timerange perday based on having that written as a global variable.
But once it imports the variable from :global GuestSchedule… it does not execute the commands in the variable… i.e.
I get a complaint of “value is not boolean”.
Meaning it picks up the data but doesn’t “execute it”.
There is other logic in the script to check other conditions like “Primary Gateway Up Or Down.” And to check if there is an actual change 1 or 0. This is to cut down on constantly enabling or disabling an interface once the condition is met.