LinuxCommandLibrary

neutron

TLDR

List networks

$ openstack network list
copy
Create network
$ openstack network create [network_name]
copy
Create subnet
$ openstack subnet create --network [network] --subnet-range [192.168.1.0/24] [subnet_name]
copy
Create router
$ openstack router create [router_name]
copy
List ports
$ openstack port list
copy
Show network details
$ openstack network show [network_name]
copy

SYNOPSIS

openstack network command [options]

DESCRIPTION

Neutron is the OpenStack networking service (now accessed via unified openstack client). It provides network connectivity as a service, managing networks, subnets, routers, and ports.
Neutron supports various network topologies and plugins.

PARAMETERS

list

List networks.
create
Create network.
delete
Delete network.
show
Show network details.
set
Modify network.

NETWORK TYPES

$ flat       - Untagged network
vlan       - VLAN segmentation
vxlan      - Virtual overlay
gre        - GRE tunnels
geneve     - Geneve encapsulation
copy

COMPONENTS

$ neutron-server      - API server
neutron-l2-agent    - L2 connectivity
neutron-l3-agent    - L3 routing
neutron-dhcp-agent  - DHCP service
copy

CAVEATS

Requires OpenStack credentials. Plugin determines capabilities. Complex multi-tenant networking.

HISTORY

Neutron was originally called Quantum, renamed in 2013. It's part of OpenStack's core services for software-defined networking.

SEE ALSO

openstack(1), nova(1), ovs-vsctl(1)

Copied to clipboard