Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
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
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
TFS
controller
Commits
a4ddc9a4
Commit
a4ddc9a4
authored
2 years ago
by
martinezric
Browse files
Options
Downloads
Patches
Plain Diff
Updated the file headers
parent
898cc529
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!142
Release TeraFlowSDN 2.1
,
!100
PathComp Backend - Adding Logs and kpaths_return
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/pathcomp/backend/pathComp_sp.c
+7
-9
7 additions, 9 deletions
src/pathcomp/backend/pathComp_sp.c
src/pathcomp/backend/pathComp_tools.c
+4
-7
4 additions, 7 deletions
src/pathcomp/backend/pathComp_tools.c
src/pathcomp/backend/pathComp_tools.h
+4
-7
4 additions, 7 deletions
src/pathcomp/backend/pathComp_tools.h
with
15 additions
and
23 deletions
src/pathcomp/backend/pathComp_sp.c
+
7
−
9
View file @
a4ddc9a4
////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////
/*
*
/*
*
#
Copyright 2022
Centre Tecnolgic de Telecomunicacions de Catalunya (CTTC/CERCA) www.cttc.es
* Copyright 2022
-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/)
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -13,10 +13,8 @@
...
@@ -13,10 +13,8 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* See the License for the specific language governing permissions and
* limitations under the License.
* limitations under the License.
* Author: CTTC/CERCA PONS RU Ricardo Martnez (ricardo.martinez@cttc.es)
*/
*/
////////////////////////////////////////////////////////////////////////////////////////
#include
<stdio.h>
#include
<stdio.h>
#include
<stdlib.h>
#include
<stdlib.h>
#include
<sys/types.h>
#include
<sys/types.h>
...
@@ -51,7 +49,7 @@ GList* contextSet;
...
@@ -51,7 +49,7 @@ GList* contextSet;
* @param s
* @param s
* @param mapNodes
* @param mapNodes
*
*
* @author Ricardo Martnez <ricardo.martinez@cttc.es>
* @author Ricardo Mart
�
nez <ricardo.martinez@cttc.es>
* @date 2022
* @date 2022
*/
*/
/////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////
...
@@ -106,7 +104,7 @@ gint computation(struct pred_t* pred, struct graph_t* g, struct service_t* s, st
...
@@ -106,7 +104,7 @@ gint computation(struct pred_t* pred, struct graph_t* g, struct service_t* s, st
* @param path
* @param path
* @param g
* @param g
*
*
* @author Ricardo Martnez <ricardo.martinez@cttc.es>
* @author Ricardo Mart
�
nez <ricardo.martinez@cttc.es>
* @date 2022
* @date 2022
*/
*/
/////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////
...
@@ -186,7 +184,7 @@ void computation_shortest_path(struct service_t* s, struct compRouteOutput_t* pa
...
@@ -186,7 +184,7 @@ void computation_shortest_path(struct service_t* s, struct compRouteOutput_t* pa
*
*
* @param outputList
* @param outputList
*
*
* @author Ricardo Martnez <ricardo.martinez@cttc.es>
* @author Ricardo Mart
�
nez <ricardo.martinez@cttc.es>
* @date 2022
* @date 2022
*/
*/
void
sp_execution_services
(
struct
compRouteOutputList_t
*
oPathList
)
{
void
sp_execution_services
(
struct
compRouteOutputList_t
*
oPathList
)
{
...
@@ -247,7 +245,7 @@ void sp_execution_services(struct compRouteOutputList_t* oPathList) {
...
@@ -247,7 +245,7 @@ void sp_execution_services(struct compRouteOutputList_t* oPathList) {
*
*
* @param compRouteOutput
* @param compRouteOutput
*
*
* @author Ricardo Martnez <ricardo.martinez@cttc.es>
* @author Ricardo Mart
�
nez <ricardo.martinez@cttc.es>
* @date 2022
* @date 2022
*/
*/
/////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////
...
...
This diff is collapsed.
Click to expand it.
src/pathcomp/backend/pathComp_tools.c
+
4
−
7
View file @
a4ddc9a4
////////////////////////////////////////////////////////////////////////////////////////
/*
/**
* Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/)
* # Copyright 2022 Centre Tecnològic de Telecomunicacions de Catalunya (CTTC/CERCA) www.cttc.es
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -13,10 +12,8 @@
...
@@ -13,10 +12,8 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* See the License for the specific language governing permissions and
* limitations under the License.
* limitations under the License.
* Author: CTTC/CERCA PONS RU Ricardo Martínez (ricardo.martinez@cttc.es)
*/
*/
/////////////////////////////////////////////////////////////////////////////////////////
#include
<stdio.h>
#include
<stdio.h>
#include
<stdlib.h>
#include
<stdlib.h>
...
@@ -3398,4 +3395,4 @@ void alg_comp(struct service_t* s, struct compRouteOutput_t* path, struct graph_
...
@@ -3398,4 +3395,4 @@ void alg_comp(struct service_t* s, struct compRouteOutput_t* path, struct graph_
DEBUG_PC
(
"K-SP failed!!!"
);
DEBUG_PC
(
"K-SP failed!!!"
);
comp_route_connection_issue_handler
(
path
,
s
);
comp_route_connection_issue_handler
(
path
,
s
);
return
;
return
;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/pathcomp/backend/pathComp_tools.h
+
4
−
7
View file @
a4ddc9a4
////////////////////////////////////////////////////////////////////////////////////////
/*
/**
* Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/)
* # Copyright 2022 Centre Tecnol�gic de Telecomunicacions de Catalunya (CTTC/CERCA) www.cttc.es
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -13,10 +12,8 @@
...
@@ -13,10 +12,8 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* See the License for the specific language governing permissions and
* limitations under the License.
* limitations under the License.
* Author: CTTC/CERCA PONS RU Ricardo Mart�nez (ricardo.martinez@cttc.es)
*/
*/
/////////////////////////////////////////////////////////////////////////////////////////
#ifndef _PATHCOMP_TOOLS_H
#ifndef _PATHCOMP_TOOLS_H
#define _PATHCOMP_TOOLS_H
#define _PATHCOMP_TOOLS_H
...
@@ -621,4 +618,4 @@ void destroy_context(struct context_t*);
...
@@ -621,4 +618,4 @@ void destroy_context(struct context_t*);
void
dijkstra
(
gint
,
gint
,
struct
graph_t
*
,
struct
service_t
*
,
struct
map_nodes_t
*
,
struct
nodes_t
*
,
struct
compRouteOutputItem_t
*
,
guint
);
void
dijkstra
(
gint
,
gint
,
struct
graph_t
*
,
struct
service_t
*
,
struct
map_nodes_t
*
,
struct
nodes_t
*
,
struct
compRouteOutputItem_t
*
,
guint
);
void
set_path_attributes
(
struct
compRouteOutputItem_t
*
,
struct
map_t
*
);
void
set_path_attributes
(
struct
compRouteOutputItem_t
*
,
struct
map_t
*
);
void
alg_comp
(
struct
service_t
*
,
struct
compRouteOutput_t
*
,
struct
graph_t
*
,
guint
);
void
alg_comp
(
struct
service_t
*
,
struct
compRouteOutput_t
*
,
struct
graph_t
*
,
guint
);
#endif
#endif
\ No newline at end of file
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