Class TopologyNetwork

  • All Implemented Interfaces:
    EnvironmentPart

    public class TopologyNetwork
    extends Network
    TopologyNetwork class representing docker network with additional informations like calculated routes to other networks.
    • Constructor Detail

      • TopologyNetwork

        public TopologyNetwork()
        Instantiates a new TopologyNetwork.
      • TopologyNetwork

        public TopologyNetwork​(CalculatedRouteList<CalcRoute> calcRoutes,
                               String name)
        Instantiates a new TopologyNetwork.
        Parameters:
        calcRoutes - the calc routes
        name - the name
      • TopologyNetwork

        public TopologyNetwork​(CalculatedRouteList<CalcRoute> calcRoutes)
        Instantiates a new TopologyNetwork.
        Parameters:
        calcRoutes - the calc routes
    • Method Detail

      • setCalcRoutes

        public void setCalcRoutes​(CalculatedRouteList<CalcRoute> calcRoutes)
        Sets calc routes.
        Parameters:
        calcRoutes - the calc routes
      • getInternet

        public Boolean getInternet()
      • setInternet

        public void setInternet​(Boolean internet)
      • setCreator

        public void setCreator​(String creator)
      • getCreator

        public String getCreator()
        Description copied from interface: EnvironmentPart
        Returns creator identifier of env part.
        Returns:
        creator of this object
      • getInternetInterfaceIP

        public String getInternetInterfaceIP()
      • setInternetInterfaceIP

        public void setInternetInterfaceIP​(String internetInterfaceIP)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object