routerinsertion

package
v0.0.0-...-2804b72 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package routerinsertion implements the fwaasrouterinsertion FWaaS extension.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateOptsExt

type CreateOptsExt struct {
	firewalls.CreateOptsBuilder
	RouterIDs []string `json:"router_ids"`
}

CreateOptsExt adds a RouterIDs option to the base CreateOpts.

func (CreateOptsExt) ToFirewallCreateMap

func (opts CreateOptsExt) ToFirewallCreateMap() (map[string]interface{}, error)

ToFirewallCreateMap adds router_ids to the base firewall creation options.

type FirewallExt

type FirewallExt struct {
	// RouterIDs are the routers that the firewall is attached to.
	RouterIDs []string `json:"router_ids"`
}

FirewallExt is an extension to the base Firewall object

type UpdateOptsExt

type UpdateOptsExt struct {
	firewalls.UpdateOptsBuilder
	RouterIDs []string `json:"router_ids"`
}

UpdateOptsExt updates a RouterIDs option to the base UpdateOpts.

func (UpdateOptsExt) ToFirewallUpdateMap

func (opts UpdateOptsExt) ToFirewallUpdateMap() (map[string]interface{}, error)

ToFirewallUpdateMap adds router_ids to the base firewall update options.

Directories

Path Synopsis
networking_extensions_fwaas_extensions_routerinsertion_v2
networking_extensions_fwaas_extensions_routerinsertion_v2

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL