Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



Network Commands

Contents

addnetwork

addnetwork                   Create a new virtual network.

                             Usage: gcutil [--global_flags] addnetwork
                             [--command_flags] <network-name>

                             Flags for addnetwork:

gcutil_lib.network_cmds:
  --description: An optional network description.
    (default: '')
  --gateway: Specifies the IPv4 address of the gateway within the network. This
    is by default the first address in the range that does not end with '.0'.
  --range: Specifies the IPv4 address range of this network. By default, this is
    '10.0.0.0/8'.
    (default: '10.0.0.0/8')

gflags:
  --flagfile: Insert flag definitions from the given file into the command line.
    (default: '')
  --undefok: comma-separated list of flag names that it is okay to specify on
    the command line even if the program does not define a flag with that name.
    IMPORTANT: flags in this list that have arguments MUST use the --flag=value
    format.
    (default: '')

deletenetwork

deletenetwork                Delete one or more virtual networks.

                             If multiple network names are specified, the
                             networks will be deleted in parallel.

                             Usage: gcutil [--global_flags] deletenetwork
                             [--command_flags] <network-name-1> ...
                             <network-name-n>

                             Flags for deletenetwork:

gcutil_lib.command_base:
  -f,--[no]force: Override the "Delete network" prompt
    (default: 'false')

gflags:
  --flagfile: Insert flag definitions from the given file into the command line.
    (default: '')
  --undefok: comma-separated list of flag names that it is okay to specify on
    the command line even if the program does not define a flag with that name.
    IMPORTANT: flags in this list that have arguments MUST use the --flag=value
    format.
    (default: '')

getnetwork

getnetwork                   Get a virtual network.

                             Usage: gcutil [--global_flags] getnetwork
                             [--command_flags] <network-name>

listnetworks

listnetworks                 List the virtual networks for a project.

                             Usage: gcutil [--global_flags] listnetworks
                             [--command_flags]

                             Flags for listnetworks:

gcutil_lib.command_base:
  --columns: A comma-separated list of the desired columns to display. If 'all'
    is specified, then all possible columns will be included. Valid columns are
    <all|name|description|addresses|gateway>.
    (a comma separated list)
  --[no]fetch_all_pages: Deprecated flag.
    (default: 'true')
  --filter: Filter expression for filtering listed resources. See gcutil
    documentation for syntax of the filter expression here:
    http://developers.google.com/compute/docs/gcutil/tips#filtering
  --max_results: Maximum number of items to list [Default is to fetch all].
    (a positive integer)

gcutil_lib.gcutil_flags:
  --sort_by: <name|-name|addresses|-addresses|gateway|-gateway>: Sort output
    results by the given field name. Field names starting with a "-" will lead
    to a descending order.

gflags:
  --flagfile: Insert flag definitions from the given file into the command line.
    (default: '')
  --undefok: comma-separated list of flag names that it is okay to specify on
    the command line even if the program does not define a flag with that name.
    IMPORTANT: flags in this list that have arguments MUST use the --flag=value
    format.
    (default: '')

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.