Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
start renaming AS to NetZone
authorMartin Quinson <martin.quinson@loria.fr>
Tue, 13 Dec 2016 08:55:07 +0000 (09:55 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Tue, 13 Dec 2016 08:55:39 +0000 (09:55 +0100)
These things are obviously not Autonomous Systems as in Internet:
they form a hierarchy...

That's an intrusive change ongoing, but we want the best for SimGrid,
don't we?

29 files changed:
src/kernel/EngineImpl.cpp
src/kernel/routing/ClusterZone.cpp [moved from src/kernel/routing/AsCluster.cpp with 99% similarity]
src/kernel/routing/ClusterZone.hpp [moved from src/kernel/routing/AsCluster.hpp with 96% similarity]
src/kernel/routing/DijkstraZone.cpp [moved from src/kernel/routing/AsDijkstra.cpp with 99% similarity]
src/kernel/routing/DijkstraZone.hpp [moved from src/kernel/routing/AsDijkstra.hpp with 97% similarity]
src/kernel/routing/DragonflyZone.cpp [moved from src/kernel/routing/AsClusterDragonfly.cpp with 99% similarity]
src/kernel/routing/DragonflyZone.hpp [moved from src/kernel/routing/AsClusterDragonfly.hpp with 98% similarity]
src/kernel/routing/EmptyZone.cpp [moved from src/kernel/routing/AsNone.cpp with 94% similarity]
src/kernel/routing/EmptyZone.hpp [moved from src/kernel/routing/AsNone.hpp with 94% similarity]
src/kernel/routing/FatTreeZone.cpp [moved from src/kernel/routing/AsClusterFatTree.cpp with 99% similarity]
src/kernel/routing/FatTreeZone.hpp [moved from src/kernel/routing/AsClusterFatTree.hpp with 99% similarity]
src/kernel/routing/FloydZone.cpp [moved from src/kernel/routing/AsFloyd.cpp with 99% similarity]
src/kernel/routing/FloydZone.hpp [moved from src/kernel/routing/AsFloyd.hpp with 95% similarity]
src/kernel/routing/FullZone.cpp [moved from src/kernel/routing/AsFull.cpp with 99% similarity]
src/kernel/routing/FullZone.hpp [moved from src/kernel/routing/AsFull.hpp with 94% similarity]
src/kernel/routing/NetCard.hpp
src/kernel/routing/NetZoneImpl.cpp [moved from src/kernel/routing/AsImpl.cpp with 99% similarity]
src/kernel/routing/NetZoneImpl.hpp [moved from src/kernel/routing/AsImpl.hpp with 100% similarity]
src/kernel/routing/RoutedZone.cpp [moved from src/kernel/routing/AsRoutedGraph.cpp with 99% similarity]
src/kernel/routing/RoutedZone.hpp [moved from src/kernel/routing/AsRoutedGraph.hpp with 95% similarity]
src/kernel/routing/TorusZone.cpp [moved from src/kernel/routing/AsClusterTorus.cpp with 99% similarity]
src/kernel/routing/TorusZone.hpp [moved from src/kernel/routing/AsClusterTorus.hpp with 95% similarity]
src/kernel/routing/VivaldiZone.cpp [moved from src/kernel/routing/AsVivaldi.cpp with 98% similarity]
src/kernel/routing/VivaldiZone.hpp [moved from src/kernel/routing/AsVivaldi.hpp with 95% similarity]
src/s4u/s4u_engine.cpp
src/surf/instr_routing.cpp
src/surf/sg_platf.cpp
src/surf/surf_routing.hpp
tools/cmake/DefinePackages.cmake

index 552b4b0..f45db53 100644 (file)
@@ -4,7 +4,7 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "src/kernel/EngineImpl.hpp"
-#include "src/kernel/routing/AsImpl.hpp"
+#include "src/kernel/routing/NetZoneImpl.hpp"
 #include <simgrid/s4u/host.hpp>
 
 namespace simgrid {
similarity index 99%
rename from src/kernel/routing/AsCluster.cpp
rename to src/kernel/routing/ClusterZone.cpp
index 548ef81..520ac66 100644 (file)
@@ -3,7 +3,7 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#include "src/kernel/routing/AsCluster.hpp"
+#include "src/kernel/routing/ClusterZone.hpp"
 #include "src/kernel/routing/NetCard.hpp"
 #include "src/surf/network_interface.hpp"
 
similarity index 96%
rename from src/kernel/routing/AsCluster.hpp
rename to src/kernel/routing/ClusterZone.hpp
index 14d07c8..8f08d19 100644 (file)
@@ -8,7 +8,7 @@
 
 #include <unordered_map>
 
-#include "src/kernel/routing/AsImpl.hpp"
+#include "src/kernel/routing/NetZoneImpl.hpp"
 
 namespace simgrid {
 namespace kernel {
similarity index 99%
rename from src/kernel/routing/AsDijkstra.cpp
rename to src/kernel/routing/DijkstraZone.cpp
index af50733..10a5cc9 100644 (file)
@@ -3,7 +3,7 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#include "src/kernel/routing/AsDijkstra.hpp"
+#include "src/kernel/routing/DijkstraZone.hpp"
 #include "src/kernel/routing/NetCard.hpp"
 
 #include "src/surf/network_interface.hpp"
similarity index 97%
rename from src/kernel/routing/AsDijkstra.hpp
rename to src/kernel/routing/DijkstraZone.hpp
index 95e89b7..34c2d0e 100644 (file)
@@ -6,7 +6,7 @@
 #ifndef SURF_ROUTING_DIJKSTRA_HPP_
 #define SURF_ROUTING_DIJKSTRA_HPP_
 
-#include "src/kernel/routing/AsRoutedGraph.hpp"
+#include "src/kernel/routing/RoutedZone.hpp"
 
 typedef struct graph_node_data {
   int id;
similarity index 99%
rename from src/kernel/routing/AsClusterDragonfly.cpp
rename to src/kernel/routing/DragonflyZone.cpp
index 11cbc8b..1ce8275 100644 (file)
@@ -3,7 +3,7 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#include "src/kernel/routing/AsClusterDragonfly.hpp"
+#include "src/kernel/routing/DragonflyZone.hpp"
 #include "src/kernel/routing/NetCard.hpp"
 #include "src/surf/network_interface.hpp"
 
similarity index 98%
rename from src/kernel/routing/AsClusterDragonfly.hpp
rename to src/kernel/routing/DragonflyZone.hpp
index 04aec20..6229455 100644 (file)
@@ -6,7 +6,7 @@
 #ifndef SURF_ROUTING_CLUSTER_DRAGONFLY_HPP_
 #define SURF_ROUTING_CLUSTER_DRAGONFLY_HPP_
 
-#include "src/kernel/routing/AsCluster.hpp"
+#include "src/kernel/routing/ClusterZone.hpp"
 
 namespace simgrid {
 namespace kernel {
similarity index 94%
rename from src/kernel/routing/AsNone.cpp
rename to src/kernel/routing/EmptyZone.cpp
index 5544222..50b9ac3 100644 (file)
@@ -7,7 +7,7 @@
 #include <xbt/graph.h>
 #include <xbt/log.h>
 
-#include "src/kernel/routing/AsNone.hpp"
+#include "src/kernel/routing/EmptyZone.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_none, surf, "Routing part of surf");
 
similarity index 94%
rename from src/kernel/routing/AsNone.hpp
rename to src/kernel/routing/EmptyZone.hpp
index 94dfa9a..c7e5ec3 100644 (file)
@@ -6,7 +6,7 @@
 #ifndef SURF_ROUTING_NONE_HPP_
 #define SURF_ROUTING_NONE_HPP_
 
-#include "src/kernel/routing/AsImpl.hpp"
+#include "src/kernel/routing/NetZoneImpl.hpp"
 
 namespace simgrid {
 namespace kernel {
similarity index 99%
rename from src/kernel/routing/AsClusterFatTree.cpp
rename to src/kernel/routing/FatTreeZone.cpp
index 47db2c3..ef040f9 100644 (file)
@@ -6,7 +6,7 @@
 #include <fstream>
 #include <sstream>
 
-#include "src/kernel/routing/AsClusterFatTree.hpp"
+#include "src/kernel/routing/FatTreeZone.hpp"
 #include "src/kernel/routing/NetCard.hpp"
 #include "src/surf/network_interface.hpp"
 
similarity index 99%
rename from src/kernel/routing/AsClusterFatTree.hpp
rename to src/kernel/routing/FatTreeZone.hpp
index 37690be..91f2c54 100644 (file)
@@ -6,7 +6,7 @@
 #ifndef SIMGRID_ROUTING_CLUSTER_FAT_TREE_HPP_
 #define SIMGRID_ROUTING_CLUSTER_FAT_TREE_HPP_
 
-#include "src/kernel/routing/AsCluster.hpp"
+#include "src/kernel/routing/ClusterZone.hpp"
 
 namespace simgrid {
 namespace kernel {
similarity index 99%
rename from src/kernel/routing/AsFloyd.cpp
rename to src/kernel/routing/FloydZone.cpp
index b9d098d..9a3333b 100644 (file)
@@ -5,7 +5,7 @@
 
 #include <limits>
 
-#include "src/kernel/routing/AsFloyd.hpp"
+#include "src/kernel/routing/FloydZone.hpp"
 #include "src/kernel/routing/NetCard.hpp"
 #include "src/surf/network_interface.hpp"
 #include "xbt/log.h"
similarity index 95%
rename from src/kernel/routing/AsFloyd.hpp
rename to src/kernel/routing/FloydZone.hpp
index b5580e4..1e5a87d 100644 (file)
@@ -6,7 +6,7 @@
 #ifndef SURF_ROUTING_FLOYD_HPP_
 #define SURF_ROUTING_FLOYD_HPP_
 
-#include "src/kernel/routing/AsRoutedGraph.hpp"
+#include "src/kernel/routing/RoutedZone.hpp"
 
 namespace simgrid {
 namespace kernel {
similarity index 99%
rename from src/kernel/routing/AsFull.cpp
rename to src/kernel/routing/FullZone.cpp
index eb84b0c..2d5f73e 100644 (file)
@@ -3,7 +3,7 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#include "src/kernel/routing/AsFull.hpp"
+#include "src/kernel/routing/FullZone.hpp"
 #include "src/kernel/routing/NetCard.hpp"
 #include "src/surf/network_interface.hpp"
 
similarity index 94%
rename from src/kernel/routing/AsFull.hpp
rename to src/kernel/routing/FullZone.hpp
index 00dc02b..ce252da 100644 (file)
@@ -6,7 +6,7 @@
 #ifndef SIMGRID_ROUTING_FULL_HPP_
 #define SIMGRID_ROUTING_FULL_HPP_
 
-#include "src/kernel/routing/AsRoutedGraph.hpp"
+#include "src/kernel/routing/RoutedZone.hpp"
 
 namespace simgrid {
 namespace kernel {
index c42b6c9..3be88da 100644 (file)
@@ -10,7 +10,7 @@
 #include <xbt/base.h>
 #include <xbt/signal.hpp>
 
-#include "src/kernel/routing/AsImpl.hpp"
+#include "src/kernel/routing/NetZoneImpl.hpp"
 /*
 #include <float.h>
 #include <vector>
similarity index 99%
rename from src/kernel/routing/AsImpl.cpp
rename to src/kernel/routing/NetZoneImpl.cpp
index d30d786..5e6bd31 100644 (file)
@@ -6,7 +6,7 @@
 #include "xbt/log.h"
 
 #include "simgrid/s4u/host.hpp"
-#include "src/kernel/routing/AsImpl.hpp"
+#include "src/kernel/routing/NetZoneImpl.hpp"
 #include "src/kernel/routing/NetCard.hpp"
 #include "src/surf/cpu_interface.hpp"
 #include "src/surf/network_interface.hpp"
similarity index 99%
rename from src/kernel/routing/AsRoutedGraph.cpp
rename to src/kernel/routing/RoutedZone.cpp
index 7a96768..4c67d85 100644 (file)
@@ -9,7 +9,7 @@
 #include "xbt/dynar.h"
 #include "xbt/graph.h"
 
-#include "src/kernel/routing/AsRoutedGraph.hpp"
+#include "src/kernel/routing/RoutedZone.hpp"
 #include "src/kernel/routing/NetCard.hpp"
 #include "src/surf/network_interface.hpp"
 
similarity index 95%
rename from src/kernel/routing/AsRoutedGraph.hpp
rename to src/kernel/routing/RoutedZone.hpp
index e5967d6..0ecf615 100644 (file)
@@ -6,7 +6,7 @@
 #ifndef SIMGRID_ROUTING_GENERIC_HPP_
 #define SIMGRID_ROUTING_GENERIC_HPP_
 
-#include "src/kernel/routing/AsImpl.hpp"
+#include "src/kernel/routing/NetZoneImpl.hpp"
 
 namespace simgrid {
 namespace kernel {
similarity index 99%
rename from src/kernel/routing/AsClusterTorus.cpp
rename to src/kernel/routing/TorusZone.cpp
index 495f5bb..7785d21 100644 (file)
@@ -3,7 +3,7 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#include "src/kernel/routing/AsClusterTorus.hpp"
+#include "src/kernel/routing/TorusZone.hpp"
 #include "src/kernel/routing/NetCard.hpp"
 
 #include "src/surf/network_interface.hpp"
similarity index 95%
rename from src/kernel/routing/AsClusterTorus.hpp
rename to src/kernel/routing/TorusZone.hpp
index 8229fcc..d53af2e 100644 (file)
@@ -6,7 +6,7 @@
 #ifndef SURF_ROUTING_CLUSTER_TORUS_HPP_
 #define SURF_ROUTING_CLUSTER_TORUS_HPP_
 
-#include "src/kernel/routing/AsCluster.hpp"
+#include "src/kernel/routing/ClusterZone.hpp"
 
 namespace simgrid {
 namespace kernel {
similarity index 98%
rename from src/kernel/routing/AsVivaldi.cpp
rename to src/kernel/routing/VivaldiZone.cpp
index 216b788..84bdcb3 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <simgrid/s4u/host.hpp>
 
-#include "src/kernel/routing/AsVivaldi.hpp"
+#include "src/kernel/routing/VivaldiZone.hpp"
 #include "src/kernel/routing/NetCard.hpp"
 #include "src/surf/network_interface.hpp"
 
similarity index 95%
rename from src/kernel/routing/AsVivaldi.hpp
rename to src/kernel/routing/VivaldiZone.hpp
index c348ce0..d757c9f 100644 (file)
@@ -6,7 +6,7 @@
 #ifndef SURF_ROUTING_VIVALDI_HPP_
 #define SURF_ROUTING_VIVALDI_HPP_
 
-#include "src/kernel/routing/AsCluster.hpp"
+#include "src/kernel/routing/ClusterZone.hpp"
 
 namespace simgrid {
 namespace kernel {
index 96f3fff..439771a 100644 (file)
@@ -15,7 +15,7 @@
 #include "simgrid/simix.h"
 #include "simgrid/simix.h"
 #include "src/kernel/EngineImpl.hpp"
-#include "src/kernel/routing/AsImpl.hpp"
+#include "src/kernel/routing/NetZoneImpl.hpp"
 
 #include "src/surf/network_interface.hpp"
 #include "src/surf/surf_routing.hpp" // routing_platf. FIXME:KILLME. SOON
index 0bf0be3..b28c1e0 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "simgrid/s4u/engine.hpp"
 #include "simgrid/s4u/host.hpp"
-#include "src/kernel/routing/AsImpl.hpp"
+#include "src/kernel/routing/NetZoneImpl.hpp"
 #include "src/surf/xml/platf_private.hpp"
 #include "surf/surf.h"
 #include "xbt/graph.h"
index b8b07ef..442574b 100644 (file)
 #include "src/surf/cpu_interface.hpp"
 #include "src/surf/network_interface.hpp"
 
-#include "src/kernel/routing/AsCluster.hpp"
-#include "src/kernel/routing/AsClusterDragonfly.hpp"
-#include "src/kernel/routing/AsClusterFatTree.hpp"
-#include "src/kernel/routing/AsClusterTorus.hpp"
-#include "src/kernel/routing/AsDijkstra.hpp"
-#include "src/kernel/routing/AsFloyd.hpp"
-#include "src/kernel/routing/AsFull.hpp"
-#include "src/kernel/routing/AsImpl.hpp"
-#include "src/kernel/routing/AsNone.hpp"
-#include "src/kernel/routing/AsVivaldi.hpp"
+#include "src/kernel/routing/ClusterZone.hpp"
+#include "src/kernel/routing/DragonflyZone.hpp"
+#include "src/kernel/routing/FatTreeZone.hpp"
+#include "src/kernel/routing/TorusZone.hpp"
+#include "src/kernel/routing/DijkstraZone.hpp"
+#include "src/kernel/routing/FloydZone.hpp"
+#include "src/kernel/routing/FullZone.hpp"
+#include "src/kernel/routing/NetZoneImpl.hpp"
+#include "src/kernel/routing/EmptyZone.hpp"
+#include "src/kernel/routing/VivaldiZone.hpp"
 #include "src/kernel/routing/NetCard.hpp"
 
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(surf_parse);
index 63cbd5a..0db638b 100644 (file)
@@ -10,7 +10,7 @@
 #include <xbt/signal.hpp>
 
 #include "surf_interface.hpp"
-#include "src/kernel/routing/AsImpl.hpp"
+#include "src/kernel/routing/NetZoneImpl.hpp"
 
 #include <float.h>
 #include <vector>
index 9a03640..e2f7c19 100644 (file)
@@ -63,19 +63,6 @@ set(EXTRA_DIST
   src/surf/xml/simgrid_dtd.c
   src/surf/xml/surfxml_sax_cb.cpp
 
-  src/kernel/routing/AsImpl.hpp
-  src/kernel/routing/AsCluster.hpp
-  src/kernel/routing/AsClusterFatTree.hpp
-  src/kernel/routing/AsClusterTorus.hpp
-  src/kernel/routing/AsClusterDragonfly.hpp
-  src/kernel/routing/AsDijkstra.hpp
-  src/kernel/routing/AsFloyd.hpp
-  src/kernel/routing/AsFull.hpp
-  src/kernel/routing/AsRoutedGraph.hpp
-  src/kernel/routing/AsNone.hpp
-  src/kernel/routing/AsVivaldi.hpp  
-  src/kernel/routing/NetCard.hpp
-
   src/surf/storage_interface.hpp
   src/surf/storage_n11.hpp
   src/surf/surf_interface.hpp
@@ -295,19 +282,31 @@ set(NS3_SRC  src/surf/network_ns3.cpp
              src/surf/ns3/ns3_simulator.cc )
 
 set(SURF_SRC
-  src/kernel/routing/AsImpl.cpp
-  src/kernel/routing/AsCluster.cpp
-  src/kernel/routing/AsClusterFatTree.cpp
-  src/kernel/routing/AsClusterTorus.cpp
-  src/kernel/routing/AsClusterDragonfly.cpp
-  src/kernel/routing/AsDijkstra.cpp
-  src/kernel/routing/AsFloyd.cpp
-  src/kernel/routing/AsFull.cpp
-  src/kernel/routing/AsRoutedGraph.cpp
-  src/kernel/routing/AsNone.cpp
-  src/kernel/routing/AsVivaldi.cpp
+  src/kernel/routing/ClusterZone.cpp
+  src/kernel/routing/ClusterZone.hpp
+  src/kernel/routing/DijkstraZone.cpp
+  src/kernel/routing/DijkstraZone.hpp
+  src/kernel/routing/DragonflyZone.cpp
+  src/kernel/routing/DragonflyZone.hpp
+  src/kernel/routing/EmptyZone.cpp
+  src/kernel/routing/EmptyZone.hpp
+  src/kernel/routing/FatTreeZone.cpp
+  src/kernel/routing/FatTreeZone.hpp
+  src/kernel/routing/FloydZone.cpp
+  src/kernel/routing/FloydZone.hpp
+  src/kernel/routing/FullZone.cpp
+  src/kernel/routing/FullZone.hpp
   src/kernel/routing/NetCard.cpp
-
+  src/kernel/routing/NetCard.hpp
+  src/kernel/routing/NetZoneImpl.cpp
+  src/kernel/routing/NetZoneImpl.hpp
+  src/kernel/routing/RoutedZone.cpp
+  src/kernel/routing/RoutedZone.hpp
+  src/kernel/routing/TorusZone.cpp
+  src/kernel/routing/TorusZone.hpp
+  src/kernel/routing/VivaldiZone.cpp
+  src/kernel/routing/VivaldiZone.hpp  
+  
   src/kernel/EngineImpl.cpp
   src/kernel/EngineImpl.hpp