Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BGPNeighbor ¶
type BGPNeighbor struct { ID string `json:"id"` Name string `json:"name"` Description string `json:"description"` DCBGPID string `json:"dc_bgp_id"` RemoteASN int `json:"remote_asn"` RemoteIP string `json:"remote_ip"` ForceIBGPNextHopSelf bool `json:"force_ibgp_next_hop_self"` AddPaths string `json:"add_paths"` BFDEnabled bool `json:"bfd_enabled"` FilterIn string `json:"filter_in"` FilterOut string `json:"filter_out"` Enabled bool `json:"enabled"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` }
type BGPNeighborCreate ¶
type BGPNeighborCreate struct {
BGPNeighbor *CreateOpts `json:"dc_bgp_neighbor"`
}
func (*BGPNeighborCreate) Map ¶
func (opts *BGPNeighborCreate) Map() (map[string]interface{}, error)
type BGPNeighborResp ¶
type BGPNeighborResp struct {
BGPNeighbor BGPNeighbor `json:"dc_bgp_neighbor"`
}
type BGPNeighborUpdate ¶
type BGPNeighborUpdate struct {
BGPNeighbor *UpdateOpts `json:"dc_bgp_neighbor"`
}
func (*BGPNeighborUpdate) Map ¶
func (opts *BGPNeighborUpdate) Map() (map[string]interface{}, error)
type CreateOpts ¶
type CreateOpts struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` DCBGPID string `json:"dc_bgp_id"` RemoteASN int `json:"remote_asn"` RemoteIP string `json:"remote_ip"` ForceIBGPNextHopSelf *bool `json:"force_ibgp_next_hop_self,omitempty"` AddPaths string `json:"add_paths,omitempty"` BFDEnabled *bool `json:"bfd_enabled,omitempty"` FilterIn string `json:"filter_in,omitempty"` FilterOut string `json:"filter_out,omitempty"` Enabled *bool `json:"enabled,omitempty"` }
type CreateResult ¶
type CreateResult struct {
// contains filtered or unexported fields
}
func Create ¶
func Create(client *gophercloud.ServiceClient, opts OptsBuilder) (r CreateResult)
func (CreateResult) Extract ¶
func (r CreateResult) Extract() (*BGPNeighbor, error)
type DeleteResult ¶
type DeleteResult struct {
gophercloud.ErrResult
}
func Delete ¶
func Delete(client *gophercloud.ServiceClient, id string) (r DeleteResult)
type GetResult ¶
type GetResult struct {
// contains filtered or unexported fields
}
func Get ¶
func Get(client *gophercloud.ServiceClient, id string) (r GetResult)
func (GetResult) Extract ¶
func (r GetResult) Extract() (*BGPNeighbor, error)
type OptsBuilder ¶
type UpdateOpts ¶
type UpdateOpts struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` ForceIBGPNextHopSelf *bool `json:"force_ibpg_next_hop_self,omitempty"` AddPaths string `json:"add_paths,omitempty"` BFDEnabled *bool `json:"bfd_enabled,omitempty"` FilterIn string `json:"filter_in,omitempty"` FilterOut string `json:"filter_out,omitempty"` Enabled *bool `json:"enabled,omitempty"` }
type UpdateResult ¶
type UpdateResult struct {
// contains filtered or unexported fields
}
func Update ¶
func Update(client *gophercloud.ServiceClient, id string, opts OptsBuilder) (r UpdateResult)
func (UpdateResult) Extract ¶
func (r UpdateResult) Extract() (*BGPNeighbor, error)
Click to show internal directories.
Click to hide internal directories.