Resource
Interfaces, Classes and Traits
- NetworkInterface
- Interface for a Network
- Network
- A network is an isolated virtual layer-2 broadcast domain that is typically reserved for the tenant who created it unless you configure the network to be shared. The network is the main entity in the Networking service. Ports ({@see \OpenCloud\Networking\Resource\Port}) and subnets ({@see \OpenCloud\Networking\Resource\Subnet}) are always associated with a network.
- Port
- A port represents a virtual switch port on a logical network switch, represented by {@see \OpenCloud\Networking\Resource\Network}. Virtual instances (such as servers created using the {@see \OpenCloud\Compute\Service}) attach their interfaces into ports. The port also defines the MAC address and the IP address(es) to be assigned to the interfaces plugged into them. When IP addresses are associated to a port, this also implies the port is associated with a {@see \OpenCloud\Networking\Resource\Subnet}, as the IP address is taken from the allocation pool for a specific subnet.
- SecurityGroup
- A security group is a named container for security group rules, each of which is represented by {@see \OpenCloud\Networking\Resource\SecurityGroupRule}.
- SecurityGroupRule
- Security group rules provide users the ability to specify the types of traffic that are allowed to pass through to and from ports (represented by {@see \OpenCloud\Networking\Resource\Port}) on a virtual server instance.
- Subnet
- A subnet represents an IP address block that can be used to assign IP addresses to virtual instances (such as servers created using the {@see \OpenCloud\Compute\Service}. Each subnet must have a CIDR and must be associated with a network.