Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
csp-lmc-old
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Gianluca Marotta
csp-lmc-old
Commits
1233cb9e
Commit
1233cb9e
authored
Dec 21, 2020
by
Gianluca Marotta
Browse files
Options
Downloads
Patches
Plain Diff
CT-206 Implemented Transaction ID in CSP Subarray ConfigurationScan and AssignResources methods
parent
5d0e2199
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!11
CT-206 - Implement transaction IDs in CSP prototype
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
csp-lmc-common/csp_lmc_common/CspSubarray.py
+9
-0
9 additions, 0 deletions
csp-lmc-common/csp_lmc_common/CspSubarray.py
with
9 additions
and
0 deletions
csp-lmc-common/csp_lmc_common/CspSubarray.py
+
9
−
0
View file @
1233cb9e
...
...
@@ -41,6 +41,7 @@ from ska.base.commands import ActionCommand, ResultCode
from
ska.base.faults
import
CapabilityValidationError
from
ska.base.control_model
import
HealthState
,
AdminMode
,
ObsState
,
ObsMode
from
.utils.cspcommons
import
CmdExecState
from
.utils.decorators
import
transaction_id
from
.
import
release
# PROTECTED REGION END # // CspSubarray.additionnal_import
...
...
@@ -370,8 +371,16 @@ class CspSubarray(SKASubarray):
self
.
logger
.
info
(
message
)
return
(
ResultCode
.
OK
,
message
)
class
AssignResourcesCommand
(
SKASubarray
.
AssignResourcesCommand
):
@transaction_id
def
do
(
self
,
argin
):
return
super
().
do
(
argin
)
self
.
logger
.
warning
(
"
Assign Resource Command not yet implemented in CSP Subarray. This is an instance of the lmcbaseclasses
"
)
class
ConfigureCommand
(
SKASubarray
.
ConfigureCommand
):
@transaction_id
def
do
(
self
,
argin
):
# checks on State, adminMode and obsState values are performed inside the
# python decorators
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment