Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
opcua-asyncio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nikola Balog
opcua-asyncio
Commits
9609756f
Commit
9609756f
authored
Nov 28, 2016
by
olivier R-D
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log nodeid in addressspace
parent
1bd05593
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
opcua/server/address_space.py
opcua/server/address_space.py
+2
-2
No files found.
opcua/server/address_space.py
View file @
9609756f
...
@@ -197,7 +197,7 @@ class NodeManagementService(object):
...
@@ -197,7 +197,7 @@ class NodeManagementService(object):
nodedata
=
NodeData
(
item
.
RequestedNewNodeId
)
nodedata
=
NodeData
(
item
.
RequestedNewNodeId
)
if
nodedata
.
nodeid
in
self
.
_aspace
:
if
nodedata
.
nodeid
in
self
.
_aspace
:
self
.
logger
.
warning
(
"AddNodesItem:
node already exists"
)
self
.
logger
.
warning
(
"AddNodesItem:
Requested NodeId %s already exists"
,
nodedata
.
nodeid
)
result
.
StatusCode
=
ua
.
StatusCode
(
ua
.
StatusCodes
.
BadNodeIdExists
)
result
.
StatusCode
=
ua
.
StatusCode
(
ua
.
StatusCodes
.
BadNodeIdExists
)
return
result
return
result
...
@@ -286,7 +286,7 @@ class NodeManagementService(object):
...
@@ -286,7 +286,7 @@ class NodeManagementService(object):
return
ua
.
StatusCode
(
ua
.
StatusCodes
.
BadUserAccessDenied
)
return
ua
.
StatusCode
(
ua
.
StatusCodes
.
BadUserAccessDenied
)
if
item
.
NodeId
not
in
self
.
_aspace
:
if
item
.
NodeId
not
in
self
.
_aspace
:
self
.
logger
.
warning
(
"DeleteNodesItem:
node does not exists"
)
self
.
logger
.
warning
(
"DeleteNodesItem:
NodeId %s does not exists"
,
item
.
NodeId
)
return
ua
.
StatusCode
(
ua
.
StatusCodes
.
BadNodeIdUnknown
)
return
ua
.
StatusCode
(
ua
.
StatusCodes
.
BadNodeIdUnknown
)
if
item
.
DeleteTargetReferences
:
if
item
.
DeleteTargetReferences
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment