JS API Reference

Interface: NetworkOptions

network/network.module.NetworkOptions

Table of contents

Properties

Properties

ip

Optional ip: string

The IP address of the network. May contain netmask, e.g. "192.168.0.0/24". This field can include the netmask directly in CIDR notation.

Default

"192.168.0.0"

Defined in

src/network/network.module.ts:17


ownerIp

Optional ownerIp: string

The desired IP address of the requestor node within the newly-created network. This field is optional and if not provided, the first available IP address will be assigned.

Defined in

src/network/network.module.ts:23


mask

Optional mask: string

Optional network mask given in dotted decimal notation. If the ip address was provided in Cidr notation this mask will override the mask from the Cidr notation

Defined in

src/network/network.module.ts:29


gateway

Optional gateway: string

Optional gateway address for the network. This field can be used to specify a gateway IP address for the network.

Defined in

src/network/network.module.ts:35