Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
netvs-middleware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scc-net
netvs
netvs-middleware
Commits
dce0e301
Commit
dce0e301
authored
7 months ago
by
!! Julian Keck (old Account; do not use) !!
Browse files
Options
Downloads
Patches
Plain Diff
FIXUP
parent
811b371e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
api/patch_request.py
+3
-1
3 additions, 1 deletion
api/patch_request.py
with
3 additions
and
1 deletion
api/patch_request.py
+
3
−
1
View file @
dce0e301
...
...
@@ -344,13 +344,15 @@ def validate_patch_request_actions(conn, user, actions: list[APIPatchRequestActi
if
len
(
tmp_inner_conn_ports
)
>
0
:
inner_conn_port
=
tmp_inner_conn_ports
[
0
]
port_name
=
inner_port
[
'
name
'
]
if
(
internal_is_switch
or
inner_conn_port
is
None
)
else
inner_conn_port
[
'
name
'
],
internal_action
.
path_link
=
'
{netdb_base}/~netadmin/netdoc/adm/cmp/cmp_mdlpas.cgi?ND_MDL.NAME={mdl_name}
'
\
'
&ND_P_PORT.NAME={port_name}&ND_BLDG.NR={bldg_nr}&ND_ROOM.NR={room_nr}
'
\
'
&MDL_PKG=netdoc&FRAMESET_PKG=netdoc&MDL_NAME=cmp_mdlpas&MDL_ACTION=out_trace
'
\
.
format
(
netdb_base
=
settings
.
netdb_admin_base
,
mdl_name
=
inner_port
[
'
mdl_fq_name
'
],
port_name
=
inner_port
[
'
name
'
]
if
(
internal_is_switch
or
inner_conn_port
is
None
)
else
inner_conn_port
[
'
name
'
]
,
port_name
=
port_
name
,
bldg_nr
=
inner_port
[
'
mdl_bldg
'
],
room_nr
=
inner_port
[
'
mdl_room
'
]
)
...
...
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