Loading .context.log.swpdeleted 100644 → 0 −16 KiB File deleted. View file my_deploy.sh +1 −1 Original line number Diff line number Diff line Loading @@ -99,7 +99,7 @@ export CRDB_DATABASE="tfs" export CRDB_DEPLOY_MODE="single" # Disable flag for dropping database, if it exists. export CRDB_DROP_DATABASE_IF_EXISTS="YES" export CRDB_DROP_DATABASE_IF_EXISTS="" # Disable flag for re-deploying CockroachDB from scratch. export CRDB_REDEPLOY="" Loading proto/openconfig_device.proto +1 −0 Original line number Diff line number Diff line Loading @@ -20,4 +20,5 @@ import "context.proto"; service OpenConfigService { rpc AddOpenConfigDevice (context.OpticalConfig) returns (context.OpticalConfigId) {} rpc ConfigureOpticalDevice(context.OpticalConfig) returns (context.Empty ) {} rpc DisableOpticalDevice(context.OpticalConfig) returns (context.Empty ) {} } src/context/service/database/Device.py +1 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ from .uuids.EndPoint import endpoint_get_uuid from .ConfigRule import compose_config_rules_data, upsert_config_rules from .Component import compose_components_data from .Events import notify_event_context, notify_event_device, notify_event_topology from .models.OpticalEndPointModel import OpticalEndPointModel LOGGER = logging.getLogger(__name__) Loading src/context/service/database/OpticalConfig.py +1 −0 Original line number Diff line number Diff line Loading @@ -70,6 +70,7 @@ def set_opticalconfig(db_engine : Engine, request : OpticalConfig): "frequency" : int(channel_params["frequency"]) if "frequency" in channel_params else 0, "operational_mode" : int(channel_params["operational-mode"]) if "operational-mode" in channel_params else 0, "target_output_power" : channel_params["target-output-power"] if "target-output-power" in channel_params else '', "status":channel_params["status"] if "status" in channel_params else "" } ) Loading Loading
my_deploy.sh +1 −1 Original line number Diff line number Diff line Loading @@ -99,7 +99,7 @@ export CRDB_DATABASE="tfs" export CRDB_DEPLOY_MODE="single" # Disable flag for dropping database, if it exists. export CRDB_DROP_DATABASE_IF_EXISTS="YES" export CRDB_DROP_DATABASE_IF_EXISTS="" # Disable flag for re-deploying CockroachDB from scratch. export CRDB_REDEPLOY="" Loading
proto/openconfig_device.proto +1 −0 Original line number Diff line number Diff line Loading @@ -20,4 +20,5 @@ import "context.proto"; service OpenConfigService { rpc AddOpenConfigDevice (context.OpticalConfig) returns (context.OpticalConfigId) {} rpc ConfigureOpticalDevice(context.OpticalConfig) returns (context.Empty ) {} rpc DisableOpticalDevice(context.OpticalConfig) returns (context.Empty ) {} }
src/context/service/database/Device.py +1 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ from .uuids.EndPoint import endpoint_get_uuid from .ConfigRule import compose_config_rules_data, upsert_config_rules from .Component import compose_components_data from .Events import notify_event_context, notify_event_device, notify_event_topology from .models.OpticalEndPointModel import OpticalEndPointModel LOGGER = logging.getLogger(__name__) Loading
src/context/service/database/OpticalConfig.py +1 −0 Original line number Diff line number Diff line Loading @@ -70,6 +70,7 @@ def set_opticalconfig(db_engine : Engine, request : OpticalConfig): "frequency" : int(channel_params["frequency"]) if "frequency" in channel_params else 0, "operational_mode" : int(channel_params["operational-mode"]) if "operational-mode" in channel_params else 0, "target_output_power" : channel_params["target-output-power"] if "target-output-power" in channel_params else '', "status":channel_params["status"] if "status" in channel_params else "" } ) Loading