SimpleContinentCloud

Package: inet.examples.internetcloud.earthcloud

SimpleContinentCloud

network

(no description)

Router StandardHost StandardHost

Usage diagram

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Used in

Name Type Description
EarthCloud network (no description)

Parameters

Name Type Default value Description
numClients int

Properties

Name Value Description
isNetwork
display i=device/lan-ring

Gates

Name Direction Size Description
pppg [ ] inout

Unassigned submodule parameters

Name Type Default value Description
router.status.initialStatus string "UP"

TODO @signal, @statistic

router.pcapRecorder.verbose bool true

whether to log packets on the module output

router.pcapRecorder.pcapFile string ""

the PCAP file to be written

router.pcapRecorder.fileFormat string "pcapng"
router.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

router.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

router.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

router.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

router.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

router.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

router.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

router.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

router.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

router.pcapRecorder.displayStringTextFormat string "rec: %n pks"
router.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

router.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

router.cb.forwardServiceRegistration bool true
router.cb.forwardProtocolRegistration bool true
router.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

router.bl.forwardServiceRegistration bool true
router.bl.forwardProtocolRegistration bool true
router.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

router.li.forwardServiceRegistration bool true
router.li.forwardProtocolRegistration bool true
router.eth.bitrate double
router.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

router.nl.forwardServiceRegistration bool true
router.nl.forwardProtocolRegistration bool true
router.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

router.tn.forwardServiceRegistration bool true
router.tn.forwardProtocolRegistration bool true
router.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

router.at.forwardServiceRegistration bool true
router.at.forwardProtocolRegistration bool true
router.bgp.interfaceTableModule string

The path to the InterfaceTable module

router.bgp.routingTableModule string
router.bgp.ospfRoutingModule string parent.hasOspf ? "^.ospf" : ""
client.status.initialStatus string "UP"

TODO @signal, @statistic

client.pcapRecorder.verbose bool true

whether to log packets on the module output

client.pcapRecorder.pcapFile string ""

the PCAP file to be written

client.pcapRecorder.fileFormat string "pcapng"
client.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

client.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

client.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

client.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

client.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

client.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

client.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

client.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

client.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

client.pcapRecorder.displayStringTextFormat string "rec: %n pks"
client.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

client.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

client.cb.forwardServiceRegistration bool true
client.cb.forwardProtocolRegistration bool true
client.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

client.bl.forwardServiceRegistration bool true
client.bl.forwardProtocolRegistration bool true
client.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

client.li.forwardServiceRegistration bool true
client.li.forwardProtocolRegistration bool true
client.eth.bitrate double
client.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

client.nl.forwardServiceRegistration bool true
client.nl.forwardProtocolRegistration bool true
client.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

client.tn.forwardServiceRegistration bool true
client.tn.forwardProtocolRegistration bool true
client.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

client.at.forwardServiceRegistration bool true
client.at.forwardProtocolRegistration bool true
server.status.initialStatus string "UP"

TODO @signal, @statistic

server.pcapRecorder.verbose bool true

whether to log packets on the module output

server.pcapRecorder.pcapFile string ""

the PCAP file to be written

server.pcapRecorder.fileFormat string "pcapng"
server.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

server.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

server.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

server.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

server.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

server.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

server.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

server.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

server.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

server.pcapRecorder.displayStringTextFormat string "rec: %n pks"
server.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

server.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

server.cb.forwardServiceRegistration bool true
server.cb.forwardProtocolRegistration bool true
server.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

server.bl.forwardServiceRegistration bool true
server.bl.forwardProtocolRegistration bool true
server.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

server.li.forwardServiceRegistration bool true
server.li.forwardProtocolRegistration bool true
server.eth.bitrate double
server.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

server.nl.forwardServiceRegistration bool true
server.nl.forwardProtocolRegistration bool true
server.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

server.tn.forwardServiceRegistration bool true
server.tn.forwardProtocolRegistration bool true
server.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

server.at.forwardServiceRegistration bool true
server.at.forwardProtocolRegistration bool true

Source code

network SimpleContinentCloud
{
    parameters:
        int numClients;
        @display("i=device/lan-ring");
    gates:
        inout pppg[];
    submodules:
        router: Router {
            @display("p=250,100");
        }
        client[numClients]: StandardHost {
            @display("p=400,100,col,100");
        }
        server: StandardHost {
            @display("p=100,100");
        }
    connections:
        for i=0..sizeof(pppg)-1 {
            pppg[i] <--> router.pppg++;
        }
        router.ethg++ <--> Eth100M <--> server.ethg++;
        for i=0..numClients-1 {
            router.ethg++ <--> Eth100M <--> client[i].ethg++;
        }
}

File: examples/internetcloud/earthcloud/EarthCloud.ned