Uses of Interface
io.patriot_framework.network.simulator.api.model.devices.Device
-
-
Uses of Device in io.patriot_framework.network_simulator.docker.control
Methods in io.patriot_framework.network_simulator.docker.control with parameters of type Device Modifier and Type Method Description void
DockerController. connectDeviceToNetwork(Device device, Network network)
void
DockerController. connectDeviceToNetwork(Device device, List<Network> networks)
void
DockerController. deployDevice(Device device, File file)
void
DockerController. deployDevice(Device device, String tag)
void
DockerController. deployDevice(Device device, String tag, String monitoringIP, int monitoringPort)
void
DockerController. deployDevice(Device device, String tag, String monitoringIP, int monitoringPort, List<String> envVars)
void
DockerController. deployDevice(Device device, String tag, List<String> envVars)
void
DockerController. destroyDevice(Device device)
void
DockerController. disconnectDevice(Device device, Network network)
void
DockerController. executeCommand(Device device, String command)
String
DockerController. findGWIPAddress(Device device)
Integer
DockerController. findGWMask(Device device)
String
DockerController. findGWNetworkIPAddress(Device device)
void
DockerController. startDevice(Device device)
void
DockerController. stopDevice(Device device)
-
Uses of Device in io.patriot_framework.network.simulator.api.control
Methods in io.patriot_framework.network.simulator.api.control with parameters of type Device Modifier and Type Method Description void
Controller. connectDeviceToNetwork(Device device, Network network)
Connects device to network.void
Controller. connectDeviceToNetwork(Device device, List<Network> networks)
Connects device to each network in network array.void
Controller. deployDevice(Device device, File file)
Builds image from file and then create container from built image.void
Controller. deployDevice(Device device, String tag)
Deploys device from built image.void
Controller. deployDevice(Device device, String tag, String monitoringIP, int monitoringPort)
Deploys device to network and set monitoring attributes to container.void
Controller. deployDevice(Device device, String tag, String monitoringIP, int monitoringPort, List<String> envVars)
Deploys device to network and set monitoring attributes to container.void
Controller. deployDevice(Device device, String tag, List<String> envVars)
Deploys device from built image.void
Controller. destroyDevice(Device device)
Destroys device means first stops device container and then remove container.void
Controller. disconnectDevice(Device device, Network network)
Disconnects device from network.void
Controller. executeCommand(Device device, String command)
Executes command in device.String
Controller. findGWIPAddress(Device device)
Returns ip address of default gw interface.Integer
Controller. findGWMask(Device device)
Returns network mask of default gw interface.String
Controller. findGWNetworkIPAddress(Device device)
Returns network ip address of default gw.void
Controller. startDevice(Device device)
Starts device.void
Controller. stopDevice(Device router)
Stops device. -
Uses of Device in io.patriot_framework.network.simulator.api.manager
Methods in io.patriot_framework.network.simulator.api.manager with parameters of type Device Modifier and Type Method Description void
Manager. deployDevice(Device device, String tag)
Deploys device to selected environment.void
Manager. deployDeviceToNetwork(Device device, TopologyNetwork network, Topology calculatedTopology, String tag, List<String> envVars)
Stops device, connects device to target network and again start device. -
Uses of Device in io.patriot_framework.network.simulator.api.model
Methods in io.patriot_framework.network.simulator.api.model that return types with arguments of type Device Modifier and Type Method Description Set<Device>
Topology. getDevices()
Methods in io.patriot_framework.network.simulator.api.model with parameters of type Device Modifier and Type Method Description void
Topology. addDevice(Device d)
Method parameters in io.patriot_framework.network.simulator.api.model with type arguments of type Device Modifier and Type Method Description void
Topology. setDevices(Set<Device> devices)
-
Uses of Device in io.patriot_framework.network.simulator.api.model.devices.application
Classes in io.patriot_framework.network.simulator.api.model.devices.application that implement Device Modifier and Type Class Description class
Application
Application can represent data generator or every container connected to topology. -
Uses of Device in io.patriot_framework.network.simulator.api.model.devices.router
Subinterfaces of Device in io.patriot_framework.network.simulator.api.model.devices.router Modifier and Type Interface Description interface
Router
Classes in io.patriot_framework.network.simulator.api.model.devices.router that implement Device Modifier and Type Class Description class
RouterImpl
RouterImpl class represents docker container built as router with network-control apis.
-