types

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TypeMap = map[string]reflect.Type{
		"domain":                     reflect.TypeOf(Domain{}),
		"global-vrouter-config":      reflect.TypeOf(GlobalVrouterConfig{}),
		"instance-ip":                reflect.TypeOf(InstanceIp{}),
		"network-policy":             reflect.TypeOf(NetworkPolicy{}),
		"loadbalancer-pool":          reflect.TypeOf(LoadbalancerPool{}),
		"virtual-DNS-record":         reflect.TypeOf(VirtualDnsRecord{}),
		"route-target":               reflect.TypeOf(RouteTarget{}),
		"floating-ip":                reflect.TypeOf(FloatingIp{}),
		"floating-ip-pool":           reflect.TypeOf(FloatingIpPool{}),
		"physical-router":            reflect.TypeOf(PhysicalRouter{}),
		"bgp-router":                 reflect.TypeOf(BgpRouter{}),
		"virtual-router":             reflect.TypeOf(VirtualRouter{}),
		"config-root":                reflect.TypeOf(ConfigRoot{}),
		"subnet":                     reflect.TypeOf(Subnet{}),
		"global-system-config":       reflect.TypeOf(GlobalSystemConfig{}),
		"service-appliance":          reflect.TypeOf(ServiceAppliance{}),
		"service-instance":           reflect.TypeOf(ServiceInstance{}),
		"namespace":                  reflect.TypeOf(Namespace{}),
		"logical-interface":          reflect.TypeOf(LogicalInterface{}),
		"route-table":                reflect.TypeOf(RouteTable{}),
		"physical-interface":         reflect.TypeOf(PhysicalInterface{}),
		"access-control-list":        reflect.TypeOf(AccessControlList{}),
		"analytics-node":             reflect.TypeOf(AnalyticsNode{}),
		"virtual-DNS":                reflect.TypeOf(VirtualDns{}),
		"customer-attachment":        reflect.TypeOf(CustomerAttachment{}),
		"service-appliance-set":      reflect.TypeOf(ServiceApplianceSet{}),
		"config-node":                reflect.TypeOf(ConfigNode{}),
		"qos-queue":                  reflect.TypeOf(QosQueue{}),
		"virtual-machine":            reflect.TypeOf(VirtualMachine{}),
		"interface-route-table":      reflect.TypeOf(InterfaceRouteTable{}),
		"service-template":           reflect.TypeOf(ServiceTemplate{}),
		"virtual-ip":                 reflect.TypeOf(VirtualIp{}),
		"loadbalancer-member":        reflect.TypeOf(LoadbalancerMember{}),
		"security-group":             reflect.TypeOf(SecurityGroup{}),
		"provider-attachment":        reflect.TypeOf(ProviderAttachment{}),
		"virtual-machine-interface":  reflect.TypeOf(VirtualMachineInterface{}),
		"loadbalancer-healthmonitor": reflect.TypeOf(LoadbalancerHealthmonitor{}),
		"virtual-network":            reflect.TypeOf(VirtualNetwork{}),
		"project":                    reflect.TypeOf(Project{}),
		"qos-forwarding-class":       reflect.TypeOf(QosForwardingClass{}),
		"database-node":              reflect.TypeOf(DatabaseNode{}),
		"routing-instance":           reflect.TypeOf(RoutingInstance{}),
		"network-ipam":               reflect.TypeOf(NetworkIpam{}),
		"logical-router":             reflect.TypeOf(LogicalRouter{}),
	}
)

Functions

This section is empty.

Types

type AccessControlList

type AccessControlList struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func AccessControlListByName

func AccessControlListByName(c contrail.ApiClient, fqn string) (*AccessControlList, error)

func AccessControlListByUuid

func AccessControlListByUuid(c contrail.ApiClient, uuid string) (*AccessControlList, error)

func (*AccessControlList) GetAccessControlListEntries

func (obj *AccessControlList) GetAccessControlListEntries() AclEntriesType

func (*AccessControlList) GetDefaultParent

func (obj *AccessControlList) GetDefaultParent() []string

func (*AccessControlList) GetDefaultParentType

func (obj *AccessControlList) GetDefaultParentType() string

func (*AccessControlList) GetDisplayName

func (obj *AccessControlList) GetDisplayName() string

func (*AccessControlList) GetIdPerms

func (obj *AccessControlList) GetIdPerms() IdPermsType

func (*AccessControlList) GetType

func (obj *AccessControlList) GetType() string

func (*AccessControlList) MarshalJSON

func (obj *AccessControlList) MarshalJSON() ([]byte, error)

func (*AccessControlList) SetAccessControlListEntries

func (obj *AccessControlList) SetAccessControlListEntries(value *AclEntriesType)

func (*AccessControlList) SetDisplayName

func (obj *AccessControlList) SetDisplayName(value string)

func (*AccessControlList) SetIdPerms

func (obj *AccessControlList) SetIdPerms(value *IdPermsType)

func (*AccessControlList) SetName

func (obj *AccessControlList) SetName(name string)

func (*AccessControlList) SetParent

func (obj *AccessControlList) SetParent(parent contrail.IObject)

func (*AccessControlList) UnmarshalJSON

func (obj *AccessControlList) UnmarshalJSON(body []byte) error

func (*AccessControlList) UpdateDone

func (obj *AccessControlList) UpdateDone()

func (*AccessControlList) UpdateObject

func (obj *AccessControlList) UpdateObject() ([]byte, error)

func (*AccessControlList) UpdateReferences

func (obj *AccessControlList) UpdateReferences() error

type AclEntriesType

type AclEntriesType struct {
	Dynamic bool          `json:"dynamic,omitempty"`
	AclRule []AclRuleType `json:"acl_rule,omitempty"`
}

func (*AclEntriesType) AddAclRule

func (obj *AclEntriesType) AddAclRule(value *AclRuleType)

type AclRuleType

type AclRuleType struct {
	MatchCondition *MatchConditionType `json:"match_condition,omitempty"`
	ActionList     *ActionListType     `json:"action_list,omitempty"`
	RuleUuid       string              `json:"rule_uuid,omitempty"`
}

type ActionListType

type ActionListType struct {
	SimpleAction          string            `json:"simple_action,omitempty"`
	GatewayName           string            `json:"gateway_name,omitempty"`
	ApplyService          []string          `json:"apply_service,omitempty"`
	MirrorTo              *MirrorActionType `json:"mirror_to,omitempty"`
	AssignRoutingInstance string            `json:"assign_routing_instance,omitempty"`
	Log                   bool              `json:"log,omitempty"`
	Alert                 bool              `json:"alert,omitempty"`
}

func (*ActionListType) AddApplyService

func (obj *ActionListType) AddApplyService(value string)

type AddressType

type AddressType struct {
	Subnet         *SubnetType `json:"subnet,omitempty"`
	VirtualNetwork string      `json:"virtual_network,omitempty"`
	SecurityGroup  string      `json:"security_group,omitempty"`
	NetworkPolicy  string      `json:"network_policy,omitempty"`
}

type AllocationPoolType

type AllocationPoolType struct {
	Start string `json:"start,omitempty"`
	End   string `json:"end,omitempty"`
}

type AllowedAddressPair

type AllowedAddressPair struct {
	Ip          *SubnetType `json:"ip,omitempty"`
	Mac         string      `json:"mac,omitempty"`
	AddressMode string      `json:"address_mode,omitempty"`
}

type AllowedAddressPairs

type AllowedAddressPairs struct {
	AllowedAddressPair []AllowedAddressPair `json:"allowed_address_pair,omitempty"`
}

func (*AllowedAddressPairs) AddAllowedAddressPair

func (obj *AllowedAddressPairs) AddAllowedAddressPair(value *AllowedAddressPair)

type AnalyticsNode

type AnalyticsNode struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func AnalyticsNodeByName

func AnalyticsNodeByName(c contrail.ApiClient, fqn string) (*AnalyticsNode, error)

func AnalyticsNodeByUuid

func AnalyticsNodeByUuid(c contrail.ApiClient, uuid string) (*AnalyticsNode, error)

func (*AnalyticsNode) GetAnalyticsNodeIpAddress

func (obj *AnalyticsNode) GetAnalyticsNodeIpAddress() string

func (*AnalyticsNode) GetDefaultParent

func (obj *AnalyticsNode) GetDefaultParent() []string

func (*AnalyticsNode) GetDefaultParentType

func (obj *AnalyticsNode) GetDefaultParentType() string

func (*AnalyticsNode) GetDisplayName

func (obj *AnalyticsNode) GetDisplayName() string

func (*AnalyticsNode) GetIdPerms

func (obj *AnalyticsNode) GetIdPerms() IdPermsType

func (*AnalyticsNode) GetType

func (obj *AnalyticsNode) GetType() string

func (*AnalyticsNode) MarshalJSON

func (obj *AnalyticsNode) MarshalJSON() ([]byte, error)

func (*AnalyticsNode) SetAnalyticsNodeIpAddress

func (obj *AnalyticsNode) SetAnalyticsNodeIpAddress(value string)

func (*AnalyticsNode) SetDisplayName

func (obj *AnalyticsNode) SetDisplayName(value string)

func (*AnalyticsNode) SetIdPerms

func (obj *AnalyticsNode) SetIdPerms(value *IdPermsType)

func (*AnalyticsNode) SetName

func (obj *AnalyticsNode) SetName(name string)

func (*AnalyticsNode) SetParent

func (obj *AnalyticsNode) SetParent(parent contrail.IObject)

func (*AnalyticsNode) UnmarshalJSON

func (obj *AnalyticsNode) UnmarshalJSON(body []byte) error

func (*AnalyticsNode) UpdateDone

func (obj *AnalyticsNode) UpdateDone()

func (*AnalyticsNode) UpdateObject

func (obj *AnalyticsNode) UpdateObject() ([]byte, error)

func (*AnalyticsNode) UpdateReferences

func (obj *AnalyticsNode) UpdateReferences() error

type ApiAccessListType

type ApiAccessListType struct {
	ApiAccess []ApiAccessType `json:"api_access,omitempty"`
}

func (*ApiAccessListType) AddApiAccess

func (obj *ApiAccessListType) AddApiAccess(value *ApiAccessType)

type ApiAccessType

type ApiAccessType struct {
	ApiName     string    `json:"api_name,omitempty"`
	Permissions *PermType `json:"permissions,omitempty"`
}

type BgpRouter

type BgpRouter struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func BgpRouterByName

func BgpRouterByName(c contrail.ApiClient, fqn string) (*BgpRouter, error)

func BgpRouterByUuid

func BgpRouterByUuid(c contrail.ApiClient, uuid string) (*BgpRouter, error)

func (*BgpRouter) GetDefaultParent

func (obj *BgpRouter) GetDefaultParent() []string

func (*BgpRouter) GetDefaultParentType

func (obj *BgpRouter) GetDefaultParentType() string

func (*BgpRouter) GetDisplayName

func (obj *BgpRouter) GetDisplayName() string

func (*BgpRouter) GetGlobalSystemConfigBackRefs

func (obj *BgpRouter) GetGlobalSystemConfigBackRefs() (
	contrail.ReferenceList, error)

func (*BgpRouter) GetIdPerms

func (obj *BgpRouter) GetIdPerms() IdPermsType

func (*BgpRouter) GetPhysicalRouterBackRefs

func (obj *BgpRouter) GetPhysicalRouterBackRefs() (
	contrail.ReferenceList, error)

func (*BgpRouter) GetType

func (obj *BgpRouter) GetType() string

func (*BgpRouter) GetVirtualRouterBackRefs

func (obj *BgpRouter) GetVirtualRouterBackRefs() (
	contrail.ReferenceList, error)

func (*BgpRouter) MarshalJSON

func (obj *BgpRouter) MarshalJSON() ([]byte, error)

func (*BgpRouter) SetDisplayName

func (obj *BgpRouter) SetDisplayName(value string)

func (*BgpRouter) SetIdPerms

func (obj *BgpRouter) SetIdPerms(value *IdPermsType)

func (*BgpRouter) SetName

func (obj *BgpRouter) SetName(name string)

func (*BgpRouter) SetParent

func (obj *BgpRouter) SetParent(parent contrail.IObject)

func (*BgpRouter) UnmarshalJSON

func (obj *BgpRouter) UnmarshalJSON(body []byte) error

func (*BgpRouter) UpdateDone

func (obj *BgpRouter) UpdateDone()

func (*BgpRouter) UpdateObject

func (obj *BgpRouter) UpdateObject() ([]byte, error)

func (*BgpRouter) UpdateReferences

func (obj *BgpRouter) UpdateReferences() error

type ConfigNode

type ConfigNode struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func ConfigNodeByName

func ConfigNodeByName(c contrail.ApiClient, fqn string) (*ConfigNode, error)

func ConfigNodeByUuid

func ConfigNodeByUuid(c contrail.ApiClient, uuid string) (*ConfigNode, error)

func (*ConfigNode) GetConfigNodeIpAddress

func (obj *ConfigNode) GetConfigNodeIpAddress() string

func (*ConfigNode) GetDefaultParent

func (obj *ConfigNode) GetDefaultParent() []string

func (*ConfigNode) GetDefaultParentType

func (obj *ConfigNode) GetDefaultParentType() string

func (*ConfigNode) GetDisplayName

func (obj *ConfigNode) GetDisplayName() string

func (*ConfigNode) GetIdPerms

func (obj *ConfigNode) GetIdPerms() IdPermsType

func (*ConfigNode) GetType

func (obj *ConfigNode) GetType() string

func (*ConfigNode) MarshalJSON

func (obj *ConfigNode) MarshalJSON() ([]byte, error)

func (*ConfigNode) SetConfigNodeIpAddress

func (obj *ConfigNode) SetConfigNodeIpAddress(value string)

func (*ConfigNode) SetDisplayName

func (obj *ConfigNode) SetDisplayName(value string)

func (*ConfigNode) SetIdPerms

func (obj *ConfigNode) SetIdPerms(value *IdPermsType)

func (*ConfigNode) SetName

func (obj *ConfigNode) SetName(name string)

func (*ConfigNode) SetParent

func (obj *ConfigNode) SetParent(parent contrail.IObject)

func (*ConfigNode) UnmarshalJSON

func (obj *ConfigNode) UnmarshalJSON(body []byte) error

func (*ConfigNode) UpdateDone

func (obj *ConfigNode) UpdateDone()

func (*ConfigNode) UpdateObject

func (obj *ConfigNode) UpdateObject() ([]byte, error)

func (*ConfigNode) UpdateReferences

func (obj *ConfigNode) UpdateReferences() error

type ConfigRoot

type ConfigRoot struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func ConfigRootByName

func ConfigRootByName(c contrail.ApiClient, fqn string) (*ConfigRoot, error)

func ConfigRootByUuid

func ConfigRootByUuid(c contrail.ApiClient, uuid string) (*ConfigRoot, error)

func (*ConfigRoot) GetApiAccessList

func (obj *ConfigRoot) GetApiAccessList() ApiAccessListType

func (*ConfigRoot) GetDefaultParent

func (obj *ConfigRoot) GetDefaultParent() []string

func (*ConfigRoot) GetDefaultParentType

func (obj *ConfigRoot) GetDefaultParentType() string

func (*ConfigRoot) GetDisplayName

func (obj *ConfigRoot) GetDisplayName() string

func (*ConfigRoot) GetDomains

func (obj *ConfigRoot) GetDomains() (
	contrail.ReferenceList, error)

func (*ConfigRoot) GetGlobalSystemConfigs

func (obj *ConfigRoot) GetGlobalSystemConfigs() (
	contrail.ReferenceList, error)

func (*ConfigRoot) GetIdPerms

func (obj *ConfigRoot) GetIdPerms() IdPermsType

func (*ConfigRoot) GetType

func (obj *ConfigRoot) GetType() string

func (*ConfigRoot) MarshalJSON

func (obj *ConfigRoot) MarshalJSON() ([]byte, error)

func (*ConfigRoot) SetApiAccessList

func (obj *ConfigRoot) SetApiAccessList(value *ApiAccessListType)

func (*ConfigRoot) SetDisplayName

func (obj *ConfigRoot) SetDisplayName(value string)

func (*ConfigRoot) SetIdPerms

func (obj *ConfigRoot) SetIdPerms(value *IdPermsType)

func (*ConfigRoot) SetName

func (obj *ConfigRoot) SetName(name string)

func (*ConfigRoot) SetParent

func (obj *ConfigRoot) SetParent(parent contrail.IObject)

func (*ConfigRoot) UnmarshalJSON

func (obj *ConfigRoot) UnmarshalJSON(body []byte) error

func (*ConfigRoot) UpdateDone

func (obj *ConfigRoot) UpdateDone()

func (*ConfigRoot) UpdateObject

func (obj *ConfigRoot) UpdateObject() ([]byte, error)

func (*ConfigRoot) UpdateReferences

func (obj *ConfigRoot) UpdateReferences() error

type CustomerAttachment

type CustomerAttachment struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func CustomerAttachmentByName

func CustomerAttachmentByName(c contrail.ApiClient, fqn string) (*CustomerAttachment, error)

func CustomerAttachmentByUuid

func CustomerAttachmentByUuid(c contrail.ApiClient, uuid string) (*CustomerAttachment, error)

func (*CustomerAttachment) AddFloatingIp

func (obj *CustomerAttachment) AddFloatingIp(
	rhs *FloatingIp) error

func (*CustomerAttachment) AddVirtualMachineInterface

func (obj *CustomerAttachment) AddVirtualMachineInterface(
	rhs *VirtualMachineInterface) error

func (*CustomerAttachment) ClearFloatingIp

func (obj *CustomerAttachment) ClearFloatingIp()

func (*CustomerAttachment) ClearVirtualMachineInterface

func (obj *CustomerAttachment) ClearVirtualMachineInterface()

func (*CustomerAttachment) DeleteFloatingIp

func (obj *CustomerAttachment) DeleteFloatingIp(uuid string) error

func (*CustomerAttachment) DeleteVirtualMachineInterface

func (obj *CustomerAttachment) DeleteVirtualMachineInterface(uuid string) error

func (*CustomerAttachment) GetDefaultParent

func (obj *CustomerAttachment) GetDefaultParent() []string

func (*CustomerAttachment) GetDefaultParentType

func (obj *CustomerAttachment) GetDefaultParentType() string

func (*CustomerAttachment) GetDisplayName

func (obj *CustomerAttachment) GetDisplayName() string

func (*CustomerAttachment) GetFloatingIpRefs

func (obj *CustomerAttachment) GetFloatingIpRefs() (
	contrail.ReferenceList, error)

func (*CustomerAttachment) GetIdPerms

func (obj *CustomerAttachment) GetIdPerms() IdPermsType

func (*CustomerAttachment) GetType

func (obj *CustomerAttachment) GetType() string

func (*CustomerAttachment) GetVirtualMachineInterfaceRefs

func (obj *CustomerAttachment) GetVirtualMachineInterfaceRefs() (
	contrail.ReferenceList, error)

func (*CustomerAttachment) MarshalJSON

func (obj *CustomerAttachment) MarshalJSON() ([]byte, error)

func (*CustomerAttachment) SetDisplayName

func (obj *CustomerAttachment) SetDisplayName(value string)

func (*CustomerAttachment) SetFloatingIpList

func (obj *CustomerAttachment) SetFloatingIpList(
	refList []contrail.ReferencePair)

func (*CustomerAttachment) SetIdPerms

func (obj *CustomerAttachment) SetIdPerms(value *IdPermsType)

func (*CustomerAttachment) SetName

func (obj *CustomerAttachment) SetName(name string)

func (*CustomerAttachment) SetParent

func (obj *CustomerAttachment) SetParent(parent contrail.IObject)

func (*CustomerAttachment) SetVirtualMachineInterfaceList

func (obj *CustomerAttachment) SetVirtualMachineInterfaceList(
	refList []contrail.ReferencePair)

func (*CustomerAttachment) UnmarshalJSON

func (obj *CustomerAttachment) UnmarshalJSON(body []byte) error

func (*CustomerAttachment) UpdateDone

func (obj *CustomerAttachment) UpdateDone()

func (*CustomerAttachment) UpdateObject

func (obj *CustomerAttachment) UpdateObject() ([]byte, error)

func (*CustomerAttachment) UpdateReferences

func (obj *CustomerAttachment) UpdateReferences() error

type DatabaseNode

type DatabaseNode struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func DatabaseNodeByName

func DatabaseNodeByName(c contrail.ApiClient, fqn string) (*DatabaseNode, error)

func DatabaseNodeByUuid

func DatabaseNodeByUuid(c contrail.ApiClient, uuid string) (*DatabaseNode, error)

func (*DatabaseNode) GetDatabaseNodeIpAddress

func (obj *DatabaseNode) GetDatabaseNodeIpAddress() string

func (*DatabaseNode) GetDefaultParent

func (obj *DatabaseNode) GetDefaultParent() []string

func (*DatabaseNode) GetDefaultParentType

func (obj *DatabaseNode) GetDefaultParentType() string

func (*DatabaseNode) GetDisplayName

func (obj *DatabaseNode) GetDisplayName() string

func (*DatabaseNode) GetIdPerms

func (obj *DatabaseNode) GetIdPerms() IdPermsType

func (*DatabaseNode) GetType

func (obj *DatabaseNode) GetType() string

func (*DatabaseNode) MarshalJSON

func (obj *DatabaseNode) MarshalJSON() ([]byte, error)

func (*DatabaseNode) SetDatabaseNodeIpAddress

func (obj *DatabaseNode) SetDatabaseNodeIpAddress(value string)

func (*DatabaseNode) SetDisplayName

func (obj *DatabaseNode) SetDisplayName(value string)

func (*DatabaseNode) SetIdPerms

func (obj *DatabaseNode) SetIdPerms(value *IdPermsType)

func (*DatabaseNode) SetName

func (obj *DatabaseNode) SetName(name string)

func (*DatabaseNode) SetParent

func (obj *DatabaseNode) SetParent(parent contrail.IObject)

func (*DatabaseNode) UnmarshalJSON

func (obj *DatabaseNode) UnmarshalJSON(body []byte) error

func (*DatabaseNode) UpdateDone

func (obj *DatabaseNode) UpdateDone()

func (*DatabaseNode) UpdateObject

func (obj *DatabaseNode) UpdateObject() ([]byte, error)

func (*DatabaseNode) UpdateReferences

func (obj *DatabaseNode) UpdateReferences() error

type DhcpOptionType

type DhcpOptionType struct {
	DhcpOptionName       string `json:"dhcp_option_name,omitempty"`
	DhcpOptionValue      string `json:"dhcp_option_value,omitempty"`
	DhcpOptionValueBytes string `json:"dhcp_option_value_bytes,omitempty"`
}

type DhcpOptionsListType

type DhcpOptionsListType struct {
	DhcpOption []DhcpOptionType `json:"dhcp_option,omitempty"`
}

func (*DhcpOptionsListType) AddDhcpOption

func (obj *DhcpOptionsListType) AddDhcpOption(value *DhcpOptionType)

type Domain

type Domain struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func DomainByName

func DomainByName(c contrail.ApiClient, fqn string) (*Domain, error)

func DomainByUuid

func DomainByUuid(c contrail.ApiClient, uuid string) (*Domain, error)

func (*Domain) GetApiAccessList

func (obj *Domain) GetApiAccessList() ApiAccessListType

func (*Domain) GetDefaultParent

func (obj *Domain) GetDefaultParent() []string

func (*Domain) GetDefaultParentType

func (obj *Domain) GetDefaultParentType() string

func (*Domain) GetDisplayName

func (obj *Domain) GetDisplayName() string

func (*Domain) GetDomainLimits

func (obj *Domain) GetDomainLimits() DomainLimitsType

func (*Domain) GetIdPerms

func (obj *Domain) GetIdPerms() IdPermsType

func (*Domain) GetNamespaces

func (obj *Domain) GetNamespaces() (
	contrail.ReferenceList, error)

func (*Domain) GetProjects

func (obj *Domain) GetProjects() (
	contrail.ReferenceList, error)

func (*Domain) GetServiceTemplates

func (obj *Domain) GetServiceTemplates() (
	contrail.ReferenceList, error)

func (*Domain) GetType

func (obj *Domain) GetType() string

func (*Domain) GetVirtualDnss

func (obj *Domain) GetVirtualDnss() (
	contrail.ReferenceList, error)

func (*Domain) MarshalJSON

func (obj *Domain) MarshalJSON() ([]byte, error)

func (*Domain) SetApiAccessList

func (obj *Domain) SetApiAccessList(value *ApiAccessListType)

func (*Domain) SetDisplayName

func (obj *Domain) SetDisplayName(value string)

func (*Domain) SetDomainLimits

func (obj *Domain) SetDomainLimits(value *DomainLimitsType)

func (*Domain) SetIdPerms

func (obj *Domain) SetIdPerms(value *IdPermsType)

func (*Domain) SetName

func (obj *Domain) SetName(name string)

func (*Domain) SetParent

func (obj *Domain) SetParent(parent contrail.IObject)

func (*Domain) UnmarshalJSON

func (obj *Domain) UnmarshalJSON(body []byte) error

func (*Domain) UpdateDone

func (obj *Domain) UpdateDone()

func (*Domain) UpdateObject

func (obj *Domain) UpdateObject() ([]byte, error)

func (*Domain) UpdateReferences

func (obj *Domain) UpdateReferences() error

type DomainLimitsType

type DomainLimitsType struct {
	ProjectLimit        int `json:"project_limit,omitempty"`
	VirtualNetworkLimit int `json:"virtual_network_limit,omitempty"`
	SecurityGroupLimit  int `json:"security_group_limit,omitempty"`
}

type EncapsulationPrioritiesType

type EncapsulationPrioritiesType struct {
	Encapsulation []string `json:"encapsulation,omitempty"`
}

func (*EncapsulationPrioritiesType) AddEncapsulation

func (obj *EncapsulationPrioritiesType) AddEncapsulation(value string)

type FatFlowProtocols

type FatFlowProtocols struct {
	FatFlowProtocol []ProtocolType `json:"fat_flow_protocol,omitempty"`
}

func (*FatFlowProtocols) AddFatFlowProtocol

func (obj *FatFlowProtocols) AddFatFlowProtocol(value *ProtocolType)

type FloatingIp

type FloatingIp struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func FloatingIpByName

func FloatingIpByName(c contrail.ApiClient, fqn string) (*FloatingIp, error)

func FloatingIpByUuid

func FloatingIpByUuid(c contrail.ApiClient, uuid string) (*FloatingIp, error)

func (*FloatingIp) AddProject

func (obj *FloatingIp) AddProject(
	rhs *Project) error

func (*FloatingIp) AddVirtualMachineInterface

func (obj *FloatingIp) AddVirtualMachineInterface(
	rhs *VirtualMachineInterface) error

func (*FloatingIp) ClearProject

func (obj *FloatingIp) ClearProject()

func (*FloatingIp) ClearVirtualMachineInterface

func (obj *FloatingIp) ClearVirtualMachineInterface()

func (*FloatingIp) DeleteProject

func (obj *FloatingIp) DeleteProject(uuid string) error

func (*FloatingIp) DeleteVirtualMachineInterface

func (obj *FloatingIp) DeleteVirtualMachineInterface(uuid string) error

func (*FloatingIp) GetCustomerAttachmentBackRefs

func (obj *FloatingIp) GetCustomerAttachmentBackRefs() (
	contrail.ReferenceList, error)

func (*FloatingIp) GetDefaultParent

func (obj *FloatingIp) GetDefaultParent() []string

func (*FloatingIp) GetDefaultParentType

func (obj *FloatingIp) GetDefaultParentType() string

func (*FloatingIp) GetDisplayName

func (obj *FloatingIp) GetDisplayName() string

func (*FloatingIp) GetFloatingIpAddress

func (obj *FloatingIp) GetFloatingIpAddress() string

func (*FloatingIp) GetFloatingIpAddressFamily

func (obj *FloatingIp) GetFloatingIpAddressFamily() string

func (*FloatingIp) GetFloatingIpFixedIpAddress

func (obj *FloatingIp) GetFloatingIpFixedIpAddress() string

func (*FloatingIp) GetFloatingIpIsVirtualIp

func (obj *FloatingIp) GetFloatingIpIsVirtualIp() bool

func (*FloatingIp) GetIdPerms

func (obj *FloatingIp) GetIdPerms() IdPermsType

func (*FloatingIp) GetProjectRefs

func (obj *FloatingIp) GetProjectRefs() (
	contrail.ReferenceList, error)

func (*FloatingIp) GetType

func (obj *FloatingIp) GetType() string

func (*FloatingIp) GetVirtualMachineInterfaceRefs

func (obj *FloatingIp) GetVirtualMachineInterfaceRefs() (
	contrail.ReferenceList, error)

func (*FloatingIp) MarshalJSON

func (obj *FloatingIp) MarshalJSON() ([]byte, error)

func (*FloatingIp) SetDisplayName

func (obj *FloatingIp) SetDisplayName(value string)

func (*FloatingIp) SetFloatingIpAddress

func (obj *FloatingIp) SetFloatingIpAddress(value string)

func (*FloatingIp) SetFloatingIpAddressFamily

func (obj *FloatingIp) SetFloatingIpAddressFamily(value string)

func (*FloatingIp) SetFloatingIpFixedIpAddress

func (obj *FloatingIp) SetFloatingIpFixedIpAddress(value string)

func (*FloatingIp) SetFloatingIpIsVirtualIp

func (obj *FloatingIp) SetFloatingIpIsVirtualIp(value bool)

func (*FloatingIp) SetIdPerms

func (obj *FloatingIp) SetIdPerms(value *IdPermsType)

func (*FloatingIp) SetName

func (obj *FloatingIp) SetName(name string)

func (*FloatingIp) SetParent

func (obj *FloatingIp) SetParent(parent contrail.IObject)

func (*FloatingIp) SetProjectList

func (obj *FloatingIp) SetProjectList(
	refList []contrail.ReferencePair)

func (*FloatingIp) SetVirtualMachineInterfaceList

func (obj *FloatingIp) SetVirtualMachineInterfaceList(
	refList []contrail.ReferencePair)

func (*FloatingIp) UnmarshalJSON

func (obj *FloatingIp) UnmarshalJSON(body []byte) error

func (*FloatingIp) UpdateDone

func (obj *FloatingIp) UpdateDone()

func (*FloatingIp) UpdateObject

func (obj *FloatingIp) UpdateObject() ([]byte, error)

func (*FloatingIp) UpdateReferences

func (obj *FloatingIp) UpdateReferences() error

type FloatingIpPool

type FloatingIpPool struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func FloatingIpPoolByName

func FloatingIpPoolByName(c contrail.ApiClient, fqn string) (*FloatingIpPool, error)

func FloatingIpPoolByUuid

func FloatingIpPoolByUuid(c contrail.ApiClient, uuid string) (*FloatingIpPool, error)

func (*FloatingIpPool) GetDefaultParent

func (obj *FloatingIpPool) GetDefaultParent() []string

func (*FloatingIpPool) GetDefaultParentType

func (obj *FloatingIpPool) GetDefaultParentType() string

func (*FloatingIpPool) GetDisplayName

func (obj *FloatingIpPool) GetDisplayName() string

func (*FloatingIpPool) GetFloatingIpPoolPrefixes

func (obj *FloatingIpPool) GetFloatingIpPoolPrefixes() FloatingIpPoolType

func (*FloatingIpPool) GetFloatingIps

func (obj *FloatingIpPool) GetFloatingIps() (
	contrail.ReferenceList, error)

func (*FloatingIpPool) GetIdPerms

func (obj *FloatingIpPool) GetIdPerms() IdPermsType

func (*FloatingIpPool) GetProjectBackRefs

func (obj *FloatingIpPool) GetProjectBackRefs() (
	contrail.ReferenceList, error)

func (*FloatingIpPool) GetType

func (obj *FloatingIpPool) GetType() string

func (*FloatingIpPool) MarshalJSON

func (obj *FloatingIpPool) MarshalJSON() ([]byte, error)

func (*FloatingIpPool) SetDisplayName

func (obj *FloatingIpPool) SetDisplayName(value string)

func (*FloatingIpPool) SetFloatingIpPoolPrefixes

func (obj *FloatingIpPool) SetFloatingIpPoolPrefixes(value *FloatingIpPoolType)

func (*FloatingIpPool) SetIdPerms

func (obj *FloatingIpPool) SetIdPerms(value *IdPermsType)

func (*FloatingIpPool) SetName

func (obj *FloatingIpPool) SetName(name string)

func (*FloatingIpPool) SetParent

func (obj *FloatingIpPool) SetParent(parent contrail.IObject)

func (*FloatingIpPool) UnmarshalJSON

func (obj *FloatingIpPool) UnmarshalJSON(body []byte) error

func (*FloatingIpPool) UpdateDone

func (obj *FloatingIpPool) UpdateDone()

func (*FloatingIpPool) UpdateObject

func (obj *FloatingIpPool) UpdateObject() ([]byte, error)

func (*FloatingIpPool) UpdateReferences

func (obj *FloatingIpPool) UpdateReferences() error

type FloatingIpPoolType

type FloatingIpPoolType struct {
	Subnet []SubnetType `json:"subnet,omitempty"`
}

func (*FloatingIpPoolType) AddSubnet

func (obj *FloatingIpPoolType) AddSubnet(value *SubnetType)

type FlowAgingTimeout

type FlowAgingTimeout struct {
	Protocol         string `json:"protocol,omitempty"`
	Port             int    `json:"port,omitempty"`
	TimeoutInSeconds int    `json:"timeout_in_seconds,omitempty"`
}

type FlowAgingTimeoutList

type FlowAgingTimeoutList struct {
	FlowAgingTimeout []FlowAgingTimeout `json:"flow_aging_timeout,omitempty"`
}

func (*FlowAgingTimeoutList) AddFlowAgingTimeout

func (obj *FlowAgingTimeoutList) AddFlowAgingTimeout(value *FlowAgingTimeout)

type GlobalSystemConfig

type GlobalSystemConfig struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func GlobalSystemConfigByName

func GlobalSystemConfigByName(c contrail.ApiClient, fqn string) (*GlobalSystemConfig, error)

func GlobalSystemConfigByUuid

func GlobalSystemConfigByUuid(c contrail.ApiClient, uuid string) (*GlobalSystemConfig, error)

func (*GlobalSystemConfig) AddBgpRouter

func (obj *GlobalSystemConfig) AddBgpRouter(
	rhs *BgpRouter) error

func (*GlobalSystemConfig) ClearBgpRouter

func (obj *GlobalSystemConfig) ClearBgpRouter()

func (*GlobalSystemConfig) DeleteBgpRouter

func (obj *GlobalSystemConfig) DeleteBgpRouter(uuid string) error

func (*GlobalSystemConfig) GetAnalyticsNodes

func (obj *GlobalSystemConfig) GetAnalyticsNodes() (
	contrail.ReferenceList, error)

func (*GlobalSystemConfig) GetAutonomousSystem

func (obj *GlobalSystemConfig) GetAutonomousSystem() int

func (*GlobalSystemConfig) GetBgpRouterRefs

func (obj *GlobalSystemConfig) GetBgpRouterRefs() (
	contrail.ReferenceList, error)

func (*GlobalSystemConfig) GetConfigNodes

func (obj *GlobalSystemConfig) GetConfigNodes() (
	contrail.ReferenceList, error)

func (*GlobalSystemConfig) GetConfigVersion

func (obj *GlobalSystemConfig) GetConfigVersion() string

func (*GlobalSystemConfig) GetDatabaseNodes

func (obj *GlobalSystemConfig) GetDatabaseNodes() (
	contrail.ReferenceList, error)

func (*GlobalSystemConfig) GetDefaultParent

func (obj *GlobalSystemConfig) GetDefaultParent() []string

func (*GlobalSystemConfig) GetDefaultParentType

func (obj *GlobalSystemConfig) GetDefaultParentType() string

func (*GlobalSystemConfig) GetDisplayName

func (obj *GlobalSystemConfig) GetDisplayName() string

func (*GlobalSystemConfig) GetGlobalVrouterConfigs

func (obj *GlobalSystemConfig) GetGlobalVrouterConfigs() (
	contrail.ReferenceList, error)

func (*GlobalSystemConfig) GetIbgpAutoMesh

func (obj *GlobalSystemConfig) GetIbgpAutoMesh() bool

func (*GlobalSystemConfig) GetIdPerms

func (obj *GlobalSystemConfig) GetIdPerms() IdPermsType

func (*GlobalSystemConfig) GetIpFabricSubnets

func (obj *GlobalSystemConfig) GetIpFabricSubnets() SubnetListType

func (*GlobalSystemConfig) GetPhysicalRouters

func (obj *GlobalSystemConfig) GetPhysicalRouters() (
	contrail.ReferenceList, error)

func (*GlobalSystemConfig) GetPluginTuning

func (obj *GlobalSystemConfig) GetPluginTuning() PluginProperties

func (*GlobalSystemConfig) GetServiceApplianceSets

func (obj *GlobalSystemConfig) GetServiceApplianceSets() (
	contrail.ReferenceList, error)

func (*GlobalSystemConfig) GetType

func (obj *GlobalSystemConfig) GetType() string

func (*GlobalSystemConfig) GetVirtualRouters

func (obj *GlobalSystemConfig) GetVirtualRouters() (
	contrail.ReferenceList, error)

func (*GlobalSystemConfig) MarshalJSON

func (obj *GlobalSystemConfig) MarshalJSON() ([]byte, error)

func (*GlobalSystemConfig) SetAutonomousSystem

func (obj *GlobalSystemConfig) SetAutonomousSystem(value int)

func (*GlobalSystemConfig) SetBgpRouterList

func (obj *GlobalSystemConfig) SetBgpRouterList(
	refList []contrail.ReferencePair)

func (*GlobalSystemConfig) SetConfigVersion

func (obj *GlobalSystemConfig) SetConfigVersion(value string)

func (*GlobalSystemConfig) SetDisplayName

func (obj *GlobalSystemConfig) SetDisplayName(value string)

func (*GlobalSystemConfig) SetIbgpAutoMesh

func (obj *GlobalSystemConfig) SetIbgpAutoMesh(value bool)

func (*GlobalSystemConfig) SetIdPerms

func (obj *GlobalSystemConfig) SetIdPerms(value *IdPermsType)

func (*GlobalSystemConfig) SetIpFabricSubnets

func (obj *GlobalSystemConfig) SetIpFabricSubnets(value *SubnetListType)

func (*GlobalSystemConfig) SetName

func (obj *GlobalSystemConfig) SetName(name string)

func (*GlobalSystemConfig) SetParent

func (obj *GlobalSystemConfig) SetParent(parent contrail.IObject)

func (*GlobalSystemConfig) SetPluginTuning

func (obj *GlobalSystemConfig) SetPluginTuning(value *PluginProperties)

func (*GlobalSystemConfig) UnmarshalJSON

func (obj *GlobalSystemConfig) UnmarshalJSON(body []byte) error

func (*GlobalSystemConfig) UpdateDone

func (obj *GlobalSystemConfig) UpdateDone()

func (*GlobalSystemConfig) UpdateObject

func (obj *GlobalSystemConfig) UpdateObject() ([]byte, error)

func (*GlobalSystemConfig) UpdateReferences

func (obj *GlobalSystemConfig) UpdateReferences() error

type GlobalVrouterConfig

type GlobalVrouterConfig struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func GlobalVrouterConfigByName

func GlobalVrouterConfigByName(c contrail.ApiClient, fqn string) (*GlobalVrouterConfig, error)

func GlobalVrouterConfigByUuid

func GlobalVrouterConfigByUuid(c contrail.ApiClient, uuid string) (*GlobalVrouterConfig, error)

func (*GlobalVrouterConfig) GetDefaultParent

func (obj *GlobalVrouterConfig) GetDefaultParent() []string

func (*GlobalVrouterConfig) GetDefaultParentType

func (obj *GlobalVrouterConfig) GetDefaultParentType() string

func (*GlobalVrouterConfig) GetDisplayName

func (obj *GlobalVrouterConfig) GetDisplayName() string

func (*GlobalVrouterConfig) GetEncapsulationPriorities

func (obj *GlobalVrouterConfig) GetEncapsulationPriorities() EncapsulationPrioritiesType

func (*GlobalVrouterConfig) GetFlowAgingTimeoutList

func (obj *GlobalVrouterConfig) GetFlowAgingTimeoutList() FlowAgingTimeoutList

func (*GlobalVrouterConfig) GetFlowExportRate

func (obj *GlobalVrouterConfig) GetFlowExportRate() int

func (*GlobalVrouterConfig) GetForwardingMode

func (obj *GlobalVrouterConfig) GetForwardingMode() string

func (*GlobalVrouterConfig) GetIdPerms

func (obj *GlobalVrouterConfig) GetIdPerms() IdPermsType

func (*GlobalVrouterConfig) GetLinklocalServices

func (obj *GlobalVrouterConfig) GetLinklocalServices() LinklocalServicesTypes

func (*GlobalVrouterConfig) GetType

func (obj *GlobalVrouterConfig) GetType() string

func (*GlobalVrouterConfig) GetVxlanNetworkIdentifierMode

func (obj *GlobalVrouterConfig) GetVxlanNetworkIdentifierMode() string

func (*GlobalVrouterConfig) MarshalJSON

func (obj *GlobalVrouterConfig) MarshalJSON() ([]byte, error)

func (*GlobalVrouterConfig) SetDisplayName

func (obj *GlobalVrouterConfig) SetDisplayName(value string)

func (*GlobalVrouterConfig) SetEncapsulationPriorities

func (obj *GlobalVrouterConfig) SetEncapsulationPriorities(value *EncapsulationPrioritiesType)

func (*GlobalVrouterConfig) SetFlowAgingTimeoutList

func (obj *GlobalVrouterConfig) SetFlowAgingTimeoutList(value *FlowAgingTimeoutList)

func (*GlobalVrouterConfig) SetFlowExportRate

func (obj *GlobalVrouterConfig) SetFlowExportRate(value int)

func (*GlobalVrouterConfig) SetForwardingMode

func (obj *GlobalVrouterConfig) SetForwardingMode(value string)

func (*GlobalVrouterConfig) SetIdPerms

func (obj *GlobalVrouterConfig) SetIdPerms(value *IdPermsType)

func (*GlobalVrouterConfig) SetLinklocalServices

func (obj *GlobalVrouterConfig) SetLinklocalServices(value *LinklocalServicesTypes)

func (*GlobalVrouterConfig) SetName

func (obj *GlobalVrouterConfig) SetName(name string)

func (*GlobalVrouterConfig) SetParent

func (obj *GlobalVrouterConfig) SetParent(parent contrail.IObject)

func (*GlobalVrouterConfig) SetVxlanNetworkIdentifierMode

func (obj *GlobalVrouterConfig) SetVxlanNetworkIdentifierMode(value string)

func (*GlobalVrouterConfig) UnmarshalJSON

func (obj *GlobalVrouterConfig) UnmarshalJSON(body []byte) error

func (*GlobalVrouterConfig) UpdateDone

func (obj *GlobalVrouterConfig) UpdateDone()

func (*GlobalVrouterConfig) UpdateObject

func (obj *GlobalVrouterConfig) UpdateObject() ([]byte, error)

func (*GlobalVrouterConfig) UpdateReferences

func (obj *GlobalVrouterConfig) UpdateReferences() error

type IdPermsType

type IdPermsType struct {
	Permissions  *PermType `json:"permissions,omitempty"`
	Uuid         *UuidType `json:"uuid,omitempty"`
	Enable       bool      `json:"enable,omitempty"`
	Created      string    `json:"created,omitempty"`
	LastModified string    `json:"last_modified,omitempty"`
	Description  string    `json:"description,omitempty"`
	UserVisible  bool      `json:"user_visible,omitempty"`
	Creator      string    `json:"creator,omitempty"`
}

type InstanceIp

type InstanceIp struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func InstanceIpByName

func InstanceIpByName(c contrail.ApiClient, fqn string) (*InstanceIp, error)

func InstanceIpByUuid

func InstanceIpByUuid(c contrail.ApiClient, uuid string) (*InstanceIp, error)

func (*InstanceIp) AddVirtualMachineInterface

func (obj *InstanceIp) AddVirtualMachineInterface(
	rhs *VirtualMachineInterface) error

func (*InstanceIp) AddVirtualNetwork

func (obj *InstanceIp) AddVirtualNetwork(
	rhs *VirtualNetwork) error

func (*InstanceIp) ClearVirtualMachineInterface

func (obj *InstanceIp) ClearVirtualMachineInterface()

func (*InstanceIp) ClearVirtualNetwork

func (obj *InstanceIp) ClearVirtualNetwork()

func (*InstanceIp) DeleteVirtualMachineInterface

func (obj *InstanceIp) DeleteVirtualMachineInterface(uuid string) error

func (*InstanceIp) DeleteVirtualNetwork

func (obj *InstanceIp) DeleteVirtualNetwork(uuid string) error

func (*InstanceIp) GetDefaultParent

func (obj *InstanceIp) GetDefaultParent() []string

func (*InstanceIp) GetDefaultParentType

func (obj *InstanceIp) GetDefaultParentType() string

func (*InstanceIp) GetDisplayName

func (obj *InstanceIp) GetDisplayName() string

func (*InstanceIp) GetIdPerms

func (obj *InstanceIp) GetIdPerms() IdPermsType

func (*InstanceIp) GetInstanceIpAddress

func (obj *InstanceIp) GetInstanceIpAddress() string

func (*InstanceIp) GetInstanceIpFamily

func (obj *InstanceIp) GetInstanceIpFamily() string

func (*InstanceIp) GetInstanceIpMode

func (obj *InstanceIp) GetInstanceIpMode() string

func (*InstanceIp) GetInstanceIpSecondary

func (obj *InstanceIp) GetInstanceIpSecondary() bool

func (*InstanceIp) GetSubnetUuid

func (obj *InstanceIp) GetSubnetUuid() string

func (*InstanceIp) GetType

func (obj *InstanceIp) GetType() string

func (*InstanceIp) GetVirtualMachineInterfaceRefs

func (obj *InstanceIp) GetVirtualMachineInterfaceRefs() (
	contrail.ReferenceList, error)

func (*InstanceIp) GetVirtualNetworkRefs

func (obj *InstanceIp) GetVirtualNetworkRefs() (
	contrail.ReferenceList, error)

func (*InstanceIp) MarshalJSON

func (obj *InstanceIp) MarshalJSON() ([]byte, error)

func (*InstanceIp) SetDisplayName

func (obj *InstanceIp) SetDisplayName(value string)

func (*InstanceIp) SetIdPerms

func (obj *InstanceIp) SetIdPerms(value *IdPermsType)

func (*InstanceIp) SetInstanceIpAddress

func (obj *InstanceIp) SetInstanceIpAddress(value string)

func (*InstanceIp) SetInstanceIpFamily

func (obj *InstanceIp) SetInstanceIpFamily(value string)

func (*InstanceIp) SetInstanceIpMode

func (obj *InstanceIp) SetInstanceIpMode(value string)

func (*InstanceIp) SetInstanceIpSecondary

func (obj *InstanceIp) SetInstanceIpSecondary(value bool)

func (*InstanceIp) SetName

func (obj *InstanceIp) SetName(name string)

func (*InstanceIp) SetParent

func (obj *InstanceIp) SetParent(parent contrail.IObject)

func (*InstanceIp) SetSubnetUuid

func (obj *InstanceIp) SetSubnetUuid(value string)

func (*InstanceIp) SetVirtualMachineInterfaceList

func (obj *InstanceIp) SetVirtualMachineInterfaceList(
	refList []contrail.ReferencePair)

func (*InstanceIp) SetVirtualNetworkList

func (obj *InstanceIp) SetVirtualNetworkList(
	refList []contrail.ReferencePair)

func (*InstanceIp) UnmarshalJSON

func (obj *InstanceIp) UnmarshalJSON(body []byte) error

func (*InstanceIp) UpdateDone

func (obj *InstanceIp) UpdateDone()

func (*InstanceIp) UpdateObject

func (obj *InstanceIp) UpdateObject() ([]byte, error)

func (*InstanceIp) UpdateReferences

func (obj *InstanceIp) UpdateReferences() error

type InterfaceMirrorType

type InterfaceMirrorType struct {
	TrafficDirection string            `json:"traffic_direction,omitempty"`
	MirrorTo         *MirrorActionType `json:"mirror_to,omitempty"`
}

type InterfaceRouteTable

type InterfaceRouteTable struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func InterfaceRouteTableByName

func InterfaceRouteTableByName(c contrail.ApiClient, fqn string) (*InterfaceRouteTable, error)

func InterfaceRouteTableByUuid

func InterfaceRouteTableByUuid(c contrail.ApiClient, uuid string) (*InterfaceRouteTable, error)

func (*InterfaceRouteTable) GetDefaultParent

func (obj *InterfaceRouteTable) GetDefaultParent() []string

func (*InterfaceRouteTable) GetDefaultParentType

func (obj *InterfaceRouteTable) GetDefaultParentType() string

func (*InterfaceRouteTable) GetDisplayName

func (obj *InterfaceRouteTable) GetDisplayName() string

func (*InterfaceRouteTable) GetIdPerms

func (obj *InterfaceRouteTable) GetIdPerms() IdPermsType

func (*InterfaceRouteTable) GetInterfaceRouteTableRoutes

func (obj *InterfaceRouteTable) GetInterfaceRouteTableRoutes() RouteTableType

func (*InterfaceRouteTable) GetType

func (obj *InterfaceRouteTable) GetType() string

func (*InterfaceRouteTable) GetVirtualMachineInterfaceBackRefs

func (obj *InterfaceRouteTable) GetVirtualMachineInterfaceBackRefs() (
	contrail.ReferenceList, error)

func (*InterfaceRouteTable) MarshalJSON

func (obj *InterfaceRouteTable) MarshalJSON() ([]byte, error)

func (*InterfaceRouteTable) SetDisplayName

func (obj *InterfaceRouteTable) SetDisplayName(value string)

func (*InterfaceRouteTable) SetIdPerms

func (obj *InterfaceRouteTable) SetIdPerms(value *IdPermsType)

func (*InterfaceRouteTable) SetInterfaceRouteTableRoutes

func (obj *InterfaceRouteTable) SetInterfaceRouteTableRoutes(value *RouteTableType)

func (*InterfaceRouteTable) SetName

func (obj *InterfaceRouteTable) SetName(name string)

func (*InterfaceRouteTable) SetParent

func (obj *InterfaceRouteTable) SetParent(parent contrail.IObject)

func (*InterfaceRouteTable) UnmarshalJSON

func (obj *InterfaceRouteTable) UnmarshalJSON(body []byte) error

func (*InterfaceRouteTable) UpdateDone

func (obj *InterfaceRouteTable) UpdateDone()

func (*InterfaceRouteTable) UpdateObject

func (obj *InterfaceRouteTable) UpdateObject() ([]byte, error)

func (*InterfaceRouteTable) UpdateReferences

func (obj *InterfaceRouteTable) UpdateReferences() error

type IpAddressesType

type IpAddressesType struct {
	IpAddress []string `json:"ip_address,omitempty"`
}

func (*IpAddressesType) AddIpAddress

func (obj *IpAddressesType) AddIpAddress(value string)

type IpamDnsAddressType

type IpamDnsAddressType struct {
	TenantDnsServerAddress *IpAddressesType `json:"tenant_dns_server_address,omitempty"`
	VirtualDnsServerName   string           `json:"virtual_dns_server_name,omitempty"`
}

type IpamSubnetType

type IpamSubnetType struct {
	Subnet           *SubnetType          `json:"subnet,omitempty"`
	DefaultGateway   string               `json:"default_gateway,omitempty"`
	DnsServerAddress string               `json:"dns_server_address,omitempty"`
	SubnetUuid       string               `json:"subnet_uuid,omitempty"`
	EnableDhcp       bool                 `json:"enable_dhcp,omitempty"`
	DnsNameservers   []string             `json:"dns_nameservers,omitempty"`
	AllocationPools  []AllocationPoolType `json:"allocation_pools,omitempty"`
	AddrFromStart    bool                 `json:"addr_from_start,omitempty"`
	DhcpOptionList   *DhcpOptionsListType `json:"dhcp_option_list,omitempty"`
	HostRoutes       *RouteTableType      `json:"host_routes,omitempty"`
	SubnetName       string               `json:"subnet_name,omitempty"`
}

func (*IpamSubnetType) AddAllocationPools

func (obj *IpamSubnetType) AddAllocationPools(value *AllocationPoolType)

func (*IpamSubnetType) AddDnsNameservers

func (obj *IpamSubnetType) AddDnsNameservers(value string)

type IpamType

type IpamType struct {
	IpamMethod     string               `json:"ipam_method,omitempty"`
	IpamDnsMethod  string               `json:"ipam_dns_method,omitempty"`
	IpamDnsServer  *IpamDnsAddressType  `json:"ipam_dns_server,omitempty"`
	DhcpOptionList *DhcpOptionsListType `json:"dhcp_option_list,omitempty"`
	CidrBlock      *SubnetType          `json:"cidr_block,omitempty"`
	HostRoutes     *RouteTableType      `json:"host_routes,omitempty"`
}

type JunosServicePorts

type JunosServicePorts struct {
	ServicePort []string `json:"service_port,omitempty"`
}

func (*JunosServicePorts) AddServicePort

func (obj *JunosServicePorts) AddServicePort(value string)

type KeyValuePair

type KeyValuePair struct {
	Key   string `json:"key,omitempty"`
	Value string `json:"value,omitempty"`
}

type KeyValuePairs

type KeyValuePairs struct {
	KeyValuePair []KeyValuePair `json:"key_value_pair,omitempty"`
}

func (*KeyValuePairs) AddKeyValuePair

func (obj *KeyValuePairs) AddKeyValuePair(value *KeyValuePair)

type LinklocalServiceEntryType

type LinklocalServiceEntryType struct {
	LinklocalServiceName   string   `json:"linklocal_service_name,omitempty"`
	LinklocalServiceIp     string   `json:"linklocal_service_ip,omitempty"`
	LinklocalServicePort   int      `json:"linklocal_service_port,omitempty"`
	IpFabricDnsServiceName string   `json:"ip_fabric_DNS_service_name,omitempty"`
	IpFabricServicePort    int      `json:"ip_fabric_service_port,omitempty"`
	IpFabricServiceIp      []string `json:"ip_fabric_service_ip,omitempty"`
}

func (*LinklocalServiceEntryType) AddIpFabricServiceIp

func (obj *LinklocalServiceEntryType) AddIpFabricServiceIp(value string)

type LinklocalServicesTypes

type LinklocalServicesTypes struct {
	LinklocalServiceEntry []LinklocalServiceEntryType `json:"linklocal_service_entry,omitempty"`
}

func (*LinklocalServicesTypes) AddLinklocalServiceEntry

func (obj *LinklocalServicesTypes) AddLinklocalServiceEntry(value *LinklocalServiceEntryType)

type LoadbalancerHealthmonitor

type LoadbalancerHealthmonitor struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func LoadbalancerHealthmonitorByName

func LoadbalancerHealthmonitorByName(c contrail.ApiClient, fqn string) (*LoadbalancerHealthmonitor, error)

func LoadbalancerHealthmonitorByUuid

func LoadbalancerHealthmonitorByUuid(c contrail.ApiClient, uuid string) (*LoadbalancerHealthmonitor, error)

func (*LoadbalancerHealthmonitor) GetDefaultParent

func (obj *LoadbalancerHealthmonitor) GetDefaultParent() []string

func (*LoadbalancerHealthmonitor) GetDefaultParentType

func (obj *LoadbalancerHealthmonitor) GetDefaultParentType() string

func (*LoadbalancerHealthmonitor) GetDisplayName

func (obj *LoadbalancerHealthmonitor) GetDisplayName() string

func (*LoadbalancerHealthmonitor) GetIdPerms

func (obj *LoadbalancerHealthmonitor) GetIdPerms() IdPermsType

func (*LoadbalancerHealthmonitor) GetLoadbalancerHealthmonitorProperties

func (obj *LoadbalancerHealthmonitor) GetLoadbalancerHealthmonitorProperties() LoadbalancerHealthmonitorType

func (*LoadbalancerHealthmonitor) GetLoadbalancerPoolBackRefs

func (obj *LoadbalancerHealthmonitor) GetLoadbalancerPoolBackRefs() (
	contrail.ReferenceList, error)

func (*LoadbalancerHealthmonitor) GetType

func (obj *LoadbalancerHealthmonitor) GetType() string

func (*LoadbalancerHealthmonitor) MarshalJSON

func (obj *LoadbalancerHealthmonitor) MarshalJSON() ([]byte, error)

func (*LoadbalancerHealthmonitor) SetDisplayName

func (obj *LoadbalancerHealthmonitor) SetDisplayName(value string)

func (*LoadbalancerHealthmonitor) SetIdPerms

func (obj *LoadbalancerHealthmonitor) SetIdPerms(value *IdPermsType)

func (*LoadbalancerHealthmonitor) SetLoadbalancerHealthmonitorProperties

func (obj *LoadbalancerHealthmonitor) SetLoadbalancerHealthmonitorProperties(value *LoadbalancerHealthmonitorType)

func (*LoadbalancerHealthmonitor) SetName

func (obj *LoadbalancerHealthmonitor) SetName(name string)

func (*LoadbalancerHealthmonitor) SetParent

func (obj *LoadbalancerHealthmonitor) SetParent(parent contrail.IObject)

func (*LoadbalancerHealthmonitor) UnmarshalJSON

func (obj *LoadbalancerHealthmonitor) UnmarshalJSON(body []byte) error

func (*LoadbalancerHealthmonitor) UpdateDone

func (obj *LoadbalancerHealthmonitor) UpdateDone()

func (*LoadbalancerHealthmonitor) UpdateObject

func (obj *LoadbalancerHealthmonitor) UpdateObject() ([]byte, error)

func (*LoadbalancerHealthmonitor) UpdateReferences

func (obj *LoadbalancerHealthmonitor) UpdateReferences() error

type LoadbalancerHealthmonitorType

type LoadbalancerHealthmonitorType struct {
	AdminState    bool   `json:"admin_state,omitempty"`
	MonitorType   string `json:"monitor_type,omitempty"`
	Delay         int    `json:"delay,omitempty"`
	Timeout       int    `json:"timeout,omitempty"`
	MaxRetries    int    `json:"max_retries,omitempty"`
	HttpMethod    string `json:"http_method,omitempty"`
	UrlPath       string `json:"url_path,omitempty"`
	ExpectedCodes string `json:"expected_codes,omitempty"`
}

type LoadbalancerMember

type LoadbalancerMember struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func LoadbalancerMemberByName

func LoadbalancerMemberByName(c contrail.ApiClient, fqn string) (*LoadbalancerMember, error)

func LoadbalancerMemberByUuid

func LoadbalancerMemberByUuid(c contrail.ApiClient, uuid string) (*LoadbalancerMember, error)

func (*LoadbalancerMember) GetDefaultParent

func (obj *LoadbalancerMember) GetDefaultParent() []string

func (*LoadbalancerMember) GetDefaultParentType

func (obj *LoadbalancerMember) GetDefaultParentType() string

func (*LoadbalancerMember) GetDisplayName

func (obj *LoadbalancerMember) GetDisplayName() string

func (*LoadbalancerMember) GetIdPerms

func (obj *LoadbalancerMember) GetIdPerms() IdPermsType

func (*LoadbalancerMember) GetLoadbalancerMemberProperties

func (obj *LoadbalancerMember) GetLoadbalancerMemberProperties() LoadbalancerMemberType

func (*LoadbalancerMember) GetType

func (obj *LoadbalancerMember) GetType() string

func (*LoadbalancerMember) MarshalJSON

func (obj *LoadbalancerMember) MarshalJSON() ([]byte, error)

func (*LoadbalancerMember) SetDisplayName

func (obj *LoadbalancerMember) SetDisplayName(value string)

func (*LoadbalancerMember) SetIdPerms

func (obj *LoadbalancerMember) SetIdPerms(value *IdPermsType)

func (*LoadbalancerMember) SetLoadbalancerMemberProperties

func (obj *LoadbalancerMember) SetLoadbalancerMemberProperties(value *LoadbalancerMemberType)

func (*LoadbalancerMember) SetName

func (obj *LoadbalancerMember) SetName(name string)

func (*LoadbalancerMember) SetParent

func (obj *LoadbalancerMember) SetParent(parent contrail.IObject)

func (*LoadbalancerMember) UnmarshalJSON

func (obj *LoadbalancerMember) UnmarshalJSON(body []byte) error

func (*LoadbalancerMember) UpdateDone

func (obj *LoadbalancerMember) UpdateDone()

func (*LoadbalancerMember) UpdateObject

func (obj *LoadbalancerMember) UpdateObject() ([]byte, error)

func (*LoadbalancerMember) UpdateReferences

func (obj *LoadbalancerMember) UpdateReferences() error

type LoadbalancerMemberType

type LoadbalancerMemberType struct {
	AdminState        bool   `json:"admin_state,omitempty"`
	Status            string `json:"status,omitempty"`
	StatusDescription string `json:"status_description,omitempty"`
	ProtocolPort      int    `json:"protocol_port,omitempty"`
	Weight            int    `json:"weight,omitempty"`
	Address           string `json:"address,omitempty"`
}

type LoadbalancerPool

type LoadbalancerPool struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func LoadbalancerPoolByName

func LoadbalancerPoolByName(c contrail.ApiClient, fqn string) (*LoadbalancerPool, error)

func LoadbalancerPoolByUuid

func LoadbalancerPoolByUuid(c contrail.ApiClient, uuid string) (*LoadbalancerPool, error)

func (*LoadbalancerPool) AddLoadbalancerHealthmonitor

func (obj *LoadbalancerPool) AddLoadbalancerHealthmonitor(
	rhs *LoadbalancerHealthmonitor) error

func (*LoadbalancerPool) AddServiceApplianceSet

func (obj *LoadbalancerPool) AddServiceApplianceSet(
	rhs *ServiceApplianceSet) error

func (*LoadbalancerPool) AddServiceInstance

func (obj *LoadbalancerPool) AddServiceInstance(
	rhs *ServiceInstance) error

func (*LoadbalancerPool) AddVirtualMachineInterface

func (obj *LoadbalancerPool) AddVirtualMachineInterface(
	rhs *VirtualMachineInterface) error

func (*LoadbalancerPool) ClearLoadbalancerHealthmonitor

func (obj *LoadbalancerPool) ClearLoadbalancerHealthmonitor()

func (*LoadbalancerPool) ClearServiceApplianceSet

func (obj *LoadbalancerPool) ClearServiceApplianceSet()

func (*LoadbalancerPool) ClearServiceInstance

func (obj *LoadbalancerPool) ClearServiceInstance()

func (*LoadbalancerPool) ClearVirtualMachineInterface

func (obj *LoadbalancerPool) ClearVirtualMachineInterface()

func (*LoadbalancerPool) DeleteLoadbalancerHealthmonitor

func (obj *LoadbalancerPool) DeleteLoadbalancerHealthmonitor(uuid string) error

func (*LoadbalancerPool) DeleteServiceApplianceSet

func (obj *LoadbalancerPool) DeleteServiceApplianceSet(uuid string) error

func (*LoadbalancerPool) DeleteServiceInstance

func (obj *LoadbalancerPool) DeleteServiceInstance(uuid string) error

func (*LoadbalancerPool) DeleteVirtualMachineInterface

func (obj *LoadbalancerPool) DeleteVirtualMachineInterface(uuid string) error

func (*LoadbalancerPool) GetDefaultParent

func (obj *LoadbalancerPool) GetDefaultParent() []string

func (*LoadbalancerPool) GetDefaultParentType

func (obj *LoadbalancerPool) GetDefaultParentType() string

func (*LoadbalancerPool) GetDisplayName

func (obj *LoadbalancerPool) GetDisplayName() string

func (*LoadbalancerPool) GetIdPerms

func (obj *LoadbalancerPool) GetIdPerms() IdPermsType

func (*LoadbalancerPool) GetLoadbalancerHealthmonitorRefs

func (obj *LoadbalancerPool) GetLoadbalancerHealthmonitorRefs() (
	contrail.ReferenceList, error)

func (*LoadbalancerPool) GetLoadbalancerMembers

func (obj *LoadbalancerPool) GetLoadbalancerMembers() (
	contrail.ReferenceList, error)

func (*LoadbalancerPool) GetLoadbalancerPoolCustomAttributes

func (obj *LoadbalancerPool) GetLoadbalancerPoolCustomAttributes() KeyValuePairs

func (*LoadbalancerPool) GetLoadbalancerPoolProperties

func (obj *LoadbalancerPool) GetLoadbalancerPoolProperties() LoadbalancerPoolType

func (*LoadbalancerPool) GetLoadbalancerPoolProvider

func (obj *LoadbalancerPool) GetLoadbalancerPoolProvider() string

func (*LoadbalancerPool) GetServiceApplianceSetRefs

func (obj *LoadbalancerPool) GetServiceApplianceSetRefs() (
	contrail.ReferenceList, error)

func (*LoadbalancerPool) GetServiceInstanceRefs

func (obj *LoadbalancerPool) GetServiceInstanceRefs() (
	contrail.ReferenceList, error)

func (*LoadbalancerPool) GetType

func (obj *LoadbalancerPool) GetType() string

func (*LoadbalancerPool) GetVirtualIpBackRefs

func (obj *LoadbalancerPool) GetVirtualIpBackRefs() (
	contrail.ReferenceList, error)

func (*LoadbalancerPool) GetVirtualMachineInterfaceRefs

func (obj *LoadbalancerPool) GetVirtualMachineInterfaceRefs() (
	contrail.ReferenceList, error)

func (*LoadbalancerPool) MarshalJSON

func (obj *LoadbalancerPool) MarshalJSON() ([]byte, error)

func (*LoadbalancerPool) SetDisplayName

func (obj *LoadbalancerPool) SetDisplayName(value string)

func (*LoadbalancerPool) SetIdPerms

func (obj *LoadbalancerPool) SetIdPerms(value *IdPermsType)

func (*LoadbalancerPool) SetLoadbalancerHealthmonitorList

func (obj *LoadbalancerPool) SetLoadbalancerHealthmonitorList(
	refList []contrail.ReferencePair)

func (*LoadbalancerPool) SetLoadbalancerPoolCustomAttributes

func (obj *LoadbalancerPool) SetLoadbalancerPoolCustomAttributes(value *KeyValuePairs)

func (*LoadbalancerPool) SetLoadbalancerPoolProperties

func (obj *LoadbalancerPool) SetLoadbalancerPoolProperties(value *LoadbalancerPoolType)

func (*LoadbalancerPool) SetLoadbalancerPoolProvider

func (obj *LoadbalancerPool) SetLoadbalancerPoolProvider(value string)

func (*LoadbalancerPool) SetName

func (obj *LoadbalancerPool) SetName(name string)

func (*LoadbalancerPool) SetParent

func (obj *LoadbalancerPool) SetParent(parent contrail.IObject)

func (*LoadbalancerPool) SetServiceApplianceSetList

func (obj *LoadbalancerPool) SetServiceApplianceSetList(
	refList []contrail.ReferencePair)

func (*LoadbalancerPool) SetServiceInstanceList

func (obj *LoadbalancerPool) SetServiceInstanceList(
	refList []contrail.ReferencePair)

func (*LoadbalancerPool) SetVirtualMachineInterfaceList

func (obj *LoadbalancerPool) SetVirtualMachineInterfaceList(
	refList []contrail.ReferencePair)

func (*LoadbalancerPool) UnmarshalJSON

func (obj *LoadbalancerPool) UnmarshalJSON(body []byte) error

func (*LoadbalancerPool) UpdateDone

func (obj *LoadbalancerPool) UpdateDone()

func (*LoadbalancerPool) UpdateObject

func (obj *LoadbalancerPool) UpdateObject() ([]byte, error)

func (*LoadbalancerPool) UpdateReferences

func (obj *LoadbalancerPool) UpdateReferences() error

type LoadbalancerPoolType

type LoadbalancerPoolType struct {
	Status             string `json:"status,omitempty"`
	StatusDescription  string `json:"status_description,omitempty"`
	AdminState         bool   `json:"admin_state,omitempty"`
	Protocol           string `json:"protocol,omitempty"`
	LoadbalancerMethod string `json:"loadbalancer_method,omitempty"`
	SubnetId           string `json:"subnet_id,omitempty"`
}

type LogicalInterface

type LogicalInterface struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func LogicalInterfaceByName

func LogicalInterfaceByName(c contrail.ApiClient, fqn string) (*LogicalInterface, error)

func LogicalInterfaceByUuid

func LogicalInterfaceByUuid(c contrail.ApiClient, uuid string) (*LogicalInterface, error)

func (*LogicalInterface) AddVirtualMachineInterface

func (obj *LogicalInterface) AddVirtualMachineInterface(
	rhs *VirtualMachineInterface) error

func (*LogicalInterface) ClearVirtualMachineInterface

func (obj *LogicalInterface) ClearVirtualMachineInterface()

func (*LogicalInterface) DeleteVirtualMachineInterface

func (obj *LogicalInterface) DeleteVirtualMachineInterface(uuid string) error

func (*LogicalInterface) GetDefaultParent

func (obj *LogicalInterface) GetDefaultParent() []string

func (*LogicalInterface) GetDefaultParentType

func (obj *LogicalInterface) GetDefaultParentType() string

func (*LogicalInterface) GetDisplayName

func (obj *LogicalInterface) GetDisplayName() string

func (*LogicalInterface) GetIdPerms

func (obj *LogicalInterface) GetIdPerms() IdPermsType

func (*LogicalInterface) GetLogicalInterfaceType

func (obj *LogicalInterface) GetLogicalInterfaceType() string

func (*LogicalInterface) GetLogicalInterfaceVlanTag

func (obj *LogicalInterface) GetLogicalInterfaceVlanTag() int

func (*LogicalInterface) GetType

func (obj *LogicalInterface) GetType() string

func (*LogicalInterface) GetVirtualMachineInterfaceRefs

func (obj *LogicalInterface) GetVirtualMachineInterfaceRefs() (
	contrail.ReferenceList, error)

func (*LogicalInterface) MarshalJSON

func (obj *LogicalInterface) MarshalJSON() ([]byte, error)

func (*LogicalInterface) SetDisplayName

func (obj *LogicalInterface) SetDisplayName(value string)

func (*LogicalInterface) SetIdPerms

func (obj *LogicalInterface) SetIdPerms(value *IdPermsType)

func (*LogicalInterface) SetLogicalInterfaceType

func (obj *LogicalInterface) SetLogicalInterfaceType(value string)

func (*LogicalInterface) SetLogicalInterfaceVlanTag

func (obj *LogicalInterface) SetLogicalInterfaceVlanTag(value int)

func (*LogicalInterface) SetName

func (obj *LogicalInterface) SetName(name string)

func (*LogicalInterface) SetParent

func (obj *LogicalInterface) SetParent(parent contrail.IObject)

func (*LogicalInterface) SetVirtualMachineInterfaceList

func (obj *LogicalInterface) SetVirtualMachineInterfaceList(
	refList []contrail.ReferencePair)

func (*LogicalInterface) UnmarshalJSON

func (obj *LogicalInterface) UnmarshalJSON(body []byte) error

func (*LogicalInterface) UpdateDone

func (obj *LogicalInterface) UpdateDone()

func (*LogicalInterface) UpdateObject

func (obj *LogicalInterface) UpdateObject() ([]byte, error)

func (*LogicalInterface) UpdateReferences

func (obj *LogicalInterface) UpdateReferences() error

type LogicalRouter

type LogicalRouter struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func LogicalRouterByName

func LogicalRouterByName(c contrail.ApiClient, fqn string) (*LogicalRouter, error)

func LogicalRouterByUuid

func LogicalRouterByUuid(c contrail.ApiClient, uuid string) (*LogicalRouter, error)

func (*LogicalRouter) AddRouteTarget

func (obj *LogicalRouter) AddRouteTarget(
	rhs *RouteTarget) error

func (*LogicalRouter) AddServiceInstance

func (obj *LogicalRouter) AddServiceInstance(
	rhs *ServiceInstance) error

func (*LogicalRouter) AddVirtualMachineInterface

func (obj *LogicalRouter) AddVirtualMachineInterface(
	rhs *VirtualMachineInterface) error

func (*LogicalRouter) AddVirtualNetwork

func (obj *LogicalRouter) AddVirtualNetwork(
	rhs *VirtualNetwork) error

func (*LogicalRouter) ClearRouteTarget

func (obj *LogicalRouter) ClearRouteTarget()

func (*LogicalRouter) ClearServiceInstance

func (obj *LogicalRouter) ClearServiceInstance()

func (*LogicalRouter) ClearVirtualMachineInterface

func (obj *LogicalRouter) ClearVirtualMachineInterface()

func (*LogicalRouter) ClearVirtualNetwork

func (obj *LogicalRouter) ClearVirtualNetwork()

func (*LogicalRouter) DeleteRouteTarget

func (obj *LogicalRouter) DeleteRouteTarget(uuid string) error

func (*LogicalRouter) DeleteServiceInstance

func (obj *LogicalRouter) DeleteServiceInstance(uuid string) error

func (*LogicalRouter) DeleteVirtualMachineInterface

func (obj *LogicalRouter) DeleteVirtualMachineInterface(uuid string) error

func (*LogicalRouter) DeleteVirtualNetwork

func (obj *LogicalRouter) DeleteVirtualNetwork(uuid string) error

func (*LogicalRouter) GetDefaultParent

func (obj *LogicalRouter) GetDefaultParent() []string

func (*LogicalRouter) GetDefaultParentType

func (obj *LogicalRouter) GetDefaultParentType() string

func (*LogicalRouter) GetDisplayName

func (obj *LogicalRouter) GetDisplayName() string

func (*LogicalRouter) GetIdPerms

func (obj *LogicalRouter) GetIdPerms() IdPermsType

func (*LogicalRouter) GetRouteTargetRefs

func (obj *LogicalRouter) GetRouteTargetRefs() (
	contrail.ReferenceList, error)

func (*LogicalRouter) GetServiceInstanceRefs

func (obj *LogicalRouter) GetServiceInstanceRefs() (
	contrail.ReferenceList, error)

func (*LogicalRouter) GetType

func (obj *LogicalRouter) GetType() string

func (*LogicalRouter) GetVirtualMachineInterfaceRefs

func (obj *LogicalRouter) GetVirtualMachineInterfaceRefs() (
	contrail.ReferenceList, error)

func (*LogicalRouter) GetVirtualNetworkRefs

func (obj *LogicalRouter) GetVirtualNetworkRefs() (
	contrail.ReferenceList, error)

func (*LogicalRouter) MarshalJSON

func (obj *LogicalRouter) MarshalJSON() ([]byte, error)

func (*LogicalRouter) SetDisplayName

func (obj *LogicalRouter) SetDisplayName(value string)

func (*LogicalRouter) SetIdPerms

func (obj *LogicalRouter) SetIdPerms(value *IdPermsType)

func (*LogicalRouter) SetName

func (obj *LogicalRouter) SetName(name string)

func (*LogicalRouter) SetParent

func (obj *LogicalRouter) SetParent(parent contrail.IObject)

func (*LogicalRouter) SetRouteTargetList

func (obj *LogicalRouter) SetRouteTargetList(
	refList []contrail.ReferencePair)

func (*LogicalRouter) SetServiceInstanceList

func (obj *LogicalRouter) SetServiceInstanceList(
	refList []contrail.ReferencePair)

func (*LogicalRouter) SetVirtualMachineInterfaceList

func (obj *LogicalRouter) SetVirtualMachineInterfaceList(
	refList []contrail.ReferencePair)

func (*LogicalRouter) SetVirtualNetworkList

func (obj *LogicalRouter) SetVirtualNetworkList(
	refList []contrail.ReferencePair)

func (*LogicalRouter) UnmarshalJSON

func (obj *LogicalRouter) UnmarshalJSON(body []byte) error

func (*LogicalRouter) UpdateDone

func (obj *LogicalRouter) UpdateDone()

func (*LogicalRouter) UpdateObject

func (obj *LogicalRouter) UpdateObject() ([]byte, error)

func (*LogicalRouter) UpdateReferences

func (obj *LogicalRouter) UpdateReferences() error

type MacAddressesType

type MacAddressesType struct {
	MacAddress []string `json:"mac_address,omitempty"`
}

func (*MacAddressesType) AddMacAddress

func (obj *MacAddressesType) AddMacAddress(value string)

type MatchConditionType

type MatchConditionType struct {
	Protocol   string       `json:"protocol,omitempty"`
	SrcAddress *AddressType `json:"src_address,omitempty"`
	SrcPort    *PortType    `json:"src_port,omitempty"`
	DstAddress *AddressType `json:"dst_address,omitempty"`
	DstPort    *PortType    `json:"dst_port,omitempty"`
	Ethertype  string       `json:"ethertype,omitempty"`
}

type MirrorActionType

type MirrorActionType struct {
	AnalyzerName      string `json:"analyzer_name,omitempty"`
	Encapsulation     string `json:"encapsulation,omitempty"`
	AnalyzerIpAddress string `json:"analyzer_ip_address,omitempty"`
	RoutingInstance   string `json:"routing_instance,omitempty"`
	UdpPort           int    `json:"udp_port,omitempty"`
}

type Namespace

type Namespace struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func NamespaceByName

func NamespaceByName(c contrail.ApiClient, fqn string) (*Namespace, error)

func NamespaceByUuid

func NamespaceByUuid(c contrail.ApiClient, uuid string) (*Namespace, error)

func (*Namespace) GetDefaultParent

func (obj *Namespace) GetDefaultParent() []string

func (*Namespace) GetDefaultParentType

func (obj *Namespace) GetDefaultParentType() string

func (*Namespace) GetDisplayName

func (obj *Namespace) GetDisplayName() string

func (*Namespace) GetIdPerms

func (obj *Namespace) GetIdPerms() IdPermsType

func (*Namespace) GetNamespaceCidr

func (obj *Namespace) GetNamespaceCidr() SubnetType

func (*Namespace) GetProjectBackRefs

func (obj *Namespace) GetProjectBackRefs() (
	contrail.ReferenceList, error)

func (*Namespace) GetType

func (obj *Namespace) GetType() string

func (*Namespace) MarshalJSON

func (obj *Namespace) MarshalJSON() ([]byte, error)

func (*Namespace) SetDisplayName

func (obj *Namespace) SetDisplayName(value string)

func (*Namespace) SetIdPerms

func (obj *Namespace) SetIdPerms(value *IdPermsType)

func (*Namespace) SetName

func (obj *Namespace) SetName(name string)

func (*Namespace) SetNamespaceCidr

func (obj *Namespace) SetNamespaceCidr(value *SubnetType)

func (*Namespace) SetParent

func (obj *Namespace) SetParent(parent contrail.IObject)

func (*Namespace) UnmarshalJSON

func (obj *Namespace) UnmarshalJSON(body []byte) error

func (*Namespace) UpdateDone

func (obj *Namespace) UpdateDone()

func (*Namespace) UpdateObject

func (obj *Namespace) UpdateObject() ([]byte, error)

func (*Namespace) UpdateReferences

func (obj *Namespace) UpdateReferences() error

type NetworkIpam

type NetworkIpam struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func NetworkIpamByName

func NetworkIpamByName(c contrail.ApiClient, fqn string) (*NetworkIpam, error)

func NetworkIpamByUuid

func NetworkIpamByUuid(c contrail.ApiClient, uuid string) (*NetworkIpam, error)

func (*NetworkIpam) AddVirtualDns

func (obj *NetworkIpam) AddVirtualDns(
	rhs *VirtualDns) error

func (*NetworkIpam) ClearVirtualDns

func (obj *NetworkIpam) ClearVirtualDns()

func (*NetworkIpam) DeleteVirtualDns

func (obj *NetworkIpam) DeleteVirtualDns(uuid string) error

func (*NetworkIpam) GetDefaultParent

func (obj *NetworkIpam) GetDefaultParent() []string

func (*NetworkIpam) GetDefaultParentType

func (obj *NetworkIpam) GetDefaultParentType() string

func (*NetworkIpam) GetDisplayName

func (obj *NetworkIpam) GetDisplayName() string

func (*NetworkIpam) GetIdPerms

func (obj *NetworkIpam) GetIdPerms() IdPermsType

func (*NetworkIpam) GetNetworkIpamMgmt

func (obj *NetworkIpam) GetNetworkIpamMgmt() IpamType

func (*NetworkIpam) GetType

func (obj *NetworkIpam) GetType() string

func (*NetworkIpam) GetVirtualDnsRefs

func (obj *NetworkIpam) GetVirtualDnsRefs() (
	contrail.ReferenceList, error)

func (*NetworkIpam) GetVirtualNetworkBackRefs

func (obj *NetworkIpam) GetVirtualNetworkBackRefs() (
	contrail.ReferenceList, error)

func (*NetworkIpam) MarshalJSON

func (obj *NetworkIpam) MarshalJSON() ([]byte, error)

func (*NetworkIpam) SetDisplayName

func (obj *NetworkIpam) SetDisplayName(value string)

func (*NetworkIpam) SetIdPerms

func (obj *NetworkIpam) SetIdPerms(value *IdPermsType)

func (*NetworkIpam) SetName

func (obj *NetworkIpam) SetName(name string)

func (*NetworkIpam) SetNetworkIpamMgmt

func (obj *NetworkIpam) SetNetworkIpamMgmt(value *IpamType)

func (*NetworkIpam) SetParent

func (obj *NetworkIpam) SetParent(parent contrail.IObject)

func (*NetworkIpam) SetVirtualDnsList

func (obj *NetworkIpam) SetVirtualDnsList(
	refList []contrail.ReferencePair)

func (*NetworkIpam) UnmarshalJSON

func (obj *NetworkIpam) UnmarshalJSON(body []byte) error

func (*NetworkIpam) UpdateDone

func (obj *NetworkIpam) UpdateDone()

func (*NetworkIpam) UpdateObject

func (obj *NetworkIpam) UpdateObject() ([]byte, error)

func (*NetworkIpam) UpdateReferences

func (obj *NetworkIpam) UpdateReferences() error

type NetworkPolicy

type NetworkPolicy struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func NetworkPolicyByName

func NetworkPolicyByName(c contrail.ApiClient, fqn string) (*NetworkPolicy, error)

func NetworkPolicyByUuid

func NetworkPolicyByUuid(c contrail.ApiClient, uuid string) (*NetworkPolicy, error)

func (*NetworkPolicy) GetDefaultParent

func (obj *NetworkPolicy) GetDefaultParent() []string

func (*NetworkPolicy) GetDefaultParentType

func (obj *NetworkPolicy) GetDefaultParentType() string

func (*NetworkPolicy) GetDisplayName

func (obj *NetworkPolicy) GetDisplayName() string

func (*NetworkPolicy) GetIdPerms

func (obj *NetworkPolicy) GetIdPerms() IdPermsType

func (*NetworkPolicy) GetNetworkPolicyEntries

func (obj *NetworkPolicy) GetNetworkPolicyEntries() PolicyEntriesType

func (*NetworkPolicy) GetType

func (obj *NetworkPolicy) GetType() string

func (*NetworkPolicy) GetVirtualNetworkBackRefs

func (obj *NetworkPolicy) GetVirtualNetworkBackRefs() (
	contrail.ReferenceList, error)

func (*NetworkPolicy) MarshalJSON

func (obj *NetworkPolicy) MarshalJSON() ([]byte, error)

func (*NetworkPolicy) SetDisplayName

func (obj *NetworkPolicy) SetDisplayName(value string)

func (*NetworkPolicy) SetIdPerms

func (obj *NetworkPolicy) SetIdPerms(value *IdPermsType)

func (*NetworkPolicy) SetName

func (obj *NetworkPolicy) SetName(name string)

func (*NetworkPolicy) SetNetworkPolicyEntries

func (obj *NetworkPolicy) SetNetworkPolicyEntries(value *PolicyEntriesType)

func (*NetworkPolicy) SetParent

func (obj *NetworkPolicy) SetParent(parent contrail.IObject)

func (*NetworkPolicy) UnmarshalJSON

func (obj *NetworkPolicy) UnmarshalJSON(body []byte) error

func (*NetworkPolicy) UpdateDone

func (obj *NetworkPolicy) UpdateDone()

func (*NetworkPolicy) UpdateObject

func (obj *NetworkPolicy) UpdateObject() ([]byte, error)

func (*NetworkPolicy) UpdateReferences

func (obj *NetworkPolicy) UpdateReferences() error

type PermType

type PermType struct {
	Owner       string `json:"owner,omitempty"`
	OwnerAccess int    `json:"owner_access,omitempty"`
	Group       string `json:"group,omitempty"`
	GroupAccess int    `json:"group_access,omitempty"`
	OtherAccess int    `json:"other_access,omitempty"`
}

type PhysicalInterface

type PhysicalInterface struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func PhysicalInterfaceByName

func PhysicalInterfaceByName(c contrail.ApiClient, fqn string) (*PhysicalInterface, error)

func PhysicalInterfaceByUuid

func PhysicalInterfaceByUuid(c contrail.ApiClient, uuid string) (*PhysicalInterface, error)

func (*PhysicalInterface) GetDefaultParent

func (obj *PhysicalInterface) GetDefaultParent() []string

func (*PhysicalInterface) GetDefaultParentType

func (obj *PhysicalInterface) GetDefaultParentType() string

func (*PhysicalInterface) GetDisplayName

func (obj *PhysicalInterface) GetDisplayName() string

func (*PhysicalInterface) GetIdPerms

func (obj *PhysicalInterface) GetIdPerms() IdPermsType

func (*PhysicalInterface) GetLogicalInterfaces

func (obj *PhysicalInterface) GetLogicalInterfaces() (
	contrail.ReferenceList, error)

func (*PhysicalInterface) GetType

func (obj *PhysicalInterface) GetType() string

func (*PhysicalInterface) MarshalJSON

func (obj *PhysicalInterface) MarshalJSON() ([]byte, error)

func (*PhysicalInterface) SetDisplayName

func (obj *PhysicalInterface) SetDisplayName(value string)

func (*PhysicalInterface) SetIdPerms

func (obj *PhysicalInterface) SetIdPerms(value *IdPermsType)

func (*PhysicalInterface) SetName

func (obj *PhysicalInterface) SetName(name string)

func (*PhysicalInterface) SetParent

func (obj *PhysicalInterface) SetParent(parent contrail.IObject)

func (*PhysicalInterface) UnmarshalJSON

func (obj *PhysicalInterface) UnmarshalJSON(body []byte) error

func (*PhysicalInterface) UpdateDone

func (obj *PhysicalInterface) UpdateDone()

func (*PhysicalInterface) UpdateObject

func (obj *PhysicalInterface) UpdateObject() ([]byte, error)

func (*PhysicalInterface) UpdateReferences

func (obj *PhysicalInterface) UpdateReferences() error

type PhysicalRouter

type PhysicalRouter struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func PhysicalRouterByName

func PhysicalRouterByName(c contrail.ApiClient, fqn string) (*PhysicalRouter, error)

func PhysicalRouterByUuid

func PhysicalRouterByUuid(c contrail.ApiClient, uuid string) (*PhysicalRouter, error)

func (*PhysicalRouter) AddBgpRouter

func (obj *PhysicalRouter) AddBgpRouter(
	rhs *BgpRouter) error

func (*PhysicalRouter) AddVirtualNetwork

func (obj *PhysicalRouter) AddVirtualNetwork(
	rhs *VirtualNetwork) error

func (*PhysicalRouter) AddVirtualRouter

func (obj *PhysicalRouter) AddVirtualRouter(
	rhs *VirtualRouter) error

func (*PhysicalRouter) ClearBgpRouter

func (obj *PhysicalRouter) ClearBgpRouter()

func (*PhysicalRouter) ClearVirtualNetwork

func (obj *PhysicalRouter) ClearVirtualNetwork()

func (*PhysicalRouter) ClearVirtualRouter

func (obj *PhysicalRouter) ClearVirtualRouter()

func (*PhysicalRouter) DeleteBgpRouter

func (obj *PhysicalRouter) DeleteBgpRouter(uuid string) error

func (*PhysicalRouter) DeleteVirtualNetwork

func (obj *PhysicalRouter) DeleteVirtualNetwork(uuid string) error

func (*PhysicalRouter) DeleteVirtualRouter

func (obj *PhysicalRouter) DeleteVirtualRouter(uuid string) error

func (*PhysicalRouter) GetBgpRouterRefs

func (obj *PhysicalRouter) GetBgpRouterRefs() (
	contrail.ReferenceList, error)

func (*PhysicalRouter) GetDefaultParent

func (obj *PhysicalRouter) GetDefaultParent() []string

func (*PhysicalRouter) GetDefaultParentType

func (obj *PhysicalRouter) GetDefaultParentType() string

func (*PhysicalRouter) GetDisplayName

func (obj *PhysicalRouter) GetDisplayName() string

func (*PhysicalRouter) GetIdPerms

func (obj *PhysicalRouter) GetIdPerms() IdPermsType

func (*PhysicalRouter) GetLogicalInterfaces

func (obj *PhysicalRouter) GetLogicalInterfaces() (
	contrail.ReferenceList, error)

func (*PhysicalRouter) GetPhysicalInterfaces

func (obj *PhysicalRouter) GetPhysicalInterfaces() (
	contrail.ReferenceList, error)

func (*PhysicalRouter) GetPhysicalRouterDataplaneIp

func (obj *PhysicalRouter) GetPhysicalRouterDataplaneIp() string

func (*PhysicalRouter) GetPhysicalRouterJunosServicePorts

func (obj *PhysicalRouter) GetPhysicalRouterJunosServicePorts() JunosServicePorts

func (*PhysicalRouter) GetPhysicalRouterManagementIp

func (obj *PhysicalRouter) GetPhysicalRouterManagementIp() string

func (*PhysicalRouter) GetPhysicalRouterProductName

func (obj *PhysicalRouter) GetPhysicalRouterProductName() string

func (*PhysicalRouter) GetPhysicalRouterSnmpCredentials

func (obj *PhysicalRouter) GetPhysicalRouterSnmpCredentials() SNMPCredentials

func (*PhysicalRouter) GetPhysicalRouterUserCredentials

func (obj *PhysicalRouter) GetPhysicalRouterUserCredentials() UserCredentials

func (*PhysicalRouter) GetPhysicalRouterVendorName

func (obj *PhysicalRouter) GetPhysicalRouterVendorName() string

func (*PhysicalRouter) GetPhysicalRouterVncManaged

func (obj *PhysicalRouter) GetPhysicalRouterVncManaged() bool

func (*PhysicalRouter) GetType

func (obj *PhysicalRouter) GetType() string

func (*PhysicalRouter) GetVirtualNetworkRefs

func (obj *PhysicalRouter) GetVirtualNetworkRefs() (
	contrail.ReferenceList, error)

func (*PhysicalRouter) GetVirtualRouterRefs

func (obj *PhysicalRouter) GetVirtualRouterRefs() (
	contrail.ReferenceList, error)

func (*PhysicalRouter) MarshalJSON

func (obj *PhysicalRouter) MarshalJSON() ([]byte, error)

func (*PhysicalRouter) SetBgpRouterList

func (obj *PhysicalRouter) SetBgpRouterList(
	refList []contrail.ReferencePair)

func (*PhysicalRouter) SetDisplayName

func (obj *PhysicalRouter) SetDisplayName(value string)

func (*PhysicalRouter) SetIdPerms

func (obj *PhysicalRouter) SetIdPerms(value *IdPermsType)

func (*PhysicalRouter) SetName

func (obj *PhysicalRouter) SetName(name string)

func (*PhysicalRouter) SetParent

func (obj *PhysicalRouter) SetParent(parent contrail.IObject)

func (*PhysicalRouter) SetPhysicalRouterDataplaneIp

func (obj *PhysicalRouter) SetPhysicalRouterDataplaneIp(value string)

func (*PhysicalRouter) SetPhysicalRouterJunosServicePorts

func (obj *PhysicalRouter) SetPhysicalRouterJunosServicePorts(value *JunosServicePorts)

func (*PhysicalRouter) SetPhysicalRouterManagementIp

func (obj *PhysicalRouter) SetPhysicalRouterManagementIp(value string)

func (*PhysicalRouter) SetPhysicalRouterProductName

func (obj *PhysicalRouter) SetPhysicalRouterProductName(value string)

func (*PhysicalRouter) SetPhysicalRouterSnmpCredentials

func (obj *PhysicalRouter) SetPhysicalRouterSnmpCredentials(value *SNMPCredentials)

func (*PhysicalRouter) SetPhysicalRouterUserCredentials

func (obj *PhysicalRouter) SetPhysicalRouterUserCredentials(value *UserCredentials)

func (*PhysicalRouter) SetPhysicalRouterVendorName

func (obj *PhysicalRouter) SetPhysicalRouterVendorName(value string)

func (*PhysicalRouter) SetPhysicalRouterVncManaged

func (obj *PhysicalRouter) SetPhysicalRouterVncManaged(value bool)

func (*PhysicalRouter) SetVirtualNetworkList

func (obj *PhysicalRouter) SetVirtualNetworkList(
	refList []contrail.ReferencePair)

func (*PhysicalRouter) SetVirtualRouterList

func (obj *PhysicalRouter) SetVirtualRouterList(
	refList []contrail.ReferencePair)

func (*PhysicalRouter) UnmarshalJSON

func (obj *PhysicalRouter) UnmarshalJSON(body []byte) error

func (*PhysicalRouter) UpdateDone

func (obj *PhysicalRouter) UpdateDone()

func (*PhysicalRouter) UpdateObject

func (obj *PhysicalRouter) UpdateObject() ([]byte, error)

func (*PhysicalRouter) UpdateReferences

func (obj *PhysicalRouter) UpdateReferences() error

type PluginProperties

type PluginProperties struct {
	PluginProperty []PluginProperty `json:"plugin_property,omitempty"`
}

func (*PluginProperties) AddPluginProperty

func (obj *PluginProperties) AddPluginProperty(value *PluginProperty)

type PluginProperty

type PluginProperty struct {
	Property string `json:"property,omitempty"`
	Value    string `json:"value,omitempty"`
}

type PolicyBasedForwardingRuleType

type PolicyBasedForwardingRuleType struct {
	Direction           string `json:"direction,omitempty"`
	VlanTag             int    `json:"vlan_tag,omitempty"`
	SrcMac              string `json:"src_mac,omitempty"`
	DstMac              string `json:"dst_mac,omitempty"`
	MplsLabel           int    `json:"mpls_label,omitempty"`
	ServiceChainAddress string `json:"service_chain_address,omitempty"`
	Protocol            string `json:"protocol,omitempty"`
}

type PolicyEntriesType

type PolicyEntriesType struct {
	PolicyRule []PolicyRuleType `json:"policy_rule,omitempty"`
}

func (*PolicyEntriesType) AddPolicyRule

func (obj *PolicyEntriesType) AddPolicyRule(value *PolicyRuleType)

type PolicyRuleType

type PolicyRuleType struct {
	RuleSequence *SequenceType   `json:"rule_sequence,omitempty"`
	RuleUuid     string          `json:"rule_uuid,omitempty"`
	Direction    string          `json:"direction,omitempty"`
	Protocol     string          `json:"protocol,omitempty"`
	SrcAddresses []AddressType   `json:"src_addresses,omitempty"`
	SrcPorts     []PortType      `json:"src_ports,omitempty"`
	Application  []string        `json:"application,omitempty"`
	DstAddresses []AddressType   `json:"dst_addresses,omitempty"`
	DstPorts     []PortType      `json:"dst_ports,omitempty"`
	ActionList   *ActionListType `json:"action_list,omitempty"`
	Ethertype    string          `json:"ethertype,omitempty"`
}

func (*PolicyRuleType) AddApplication

func (obj *PolicyRuleType) AddApplication(value string)

func (*PolicyRuleType) AddDstAddresses

func (obj *PolicyRuleType) AddDstAddresses(value *AddressType)

func (*PolicyRuleType) AddDstPorts

func (obj *PolicyRuleType) AddDstPorts(value *PortType)

func (*PolicyRuleType) AddSrcAddresses

func (obj *PolicyRuleType) AddSrcAddresses(value *AddressType)

func (*PolicyRuleType) AddSrcPorts

func (obj *PolicyRuleType) AddSrcPorts(value *PortType)

type PortType

type PortType struct {
	StartPort int `json:"start_port,omitempty"`
	EndPort   int `json:"end_port,omitempty"`
}

type Project

type Project struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func ProjectByName

func ProjectByName(c contrail.ApiClient, fqn string) (*Project, error)

func ProjectByUuid

func ProjectByUuid(c contrail.ApiClient, uuid string) (*Project, error)

func (*Project) AddFloatingIpPool

func (obj *Project) AddFloatingIpPool(
	rhs *FloatingIpPool) error

func (*Project) AddNamespace

func (obj *Project) AddNamespace(
	rhs *Namespace, data SubnetType) error

func (*Project) ClearFloatingIpPool

func (obj *Project) ClearFloatingIpPool()

func (*Project) ClearNamespace

func (obj *Project) ClearNamespace()

func (*Project) DeleteFloatingIpPool

func (obj *Project) DeleteFloatingIpPool(uuid string) error

func (*Project) DeleteNamespace

func (obj *Project) DeleteNamespace(uuid string) error

func (*Project) GetDefaultParent

func (obj *Project) GetDefaultParent() []string

func (*Project) GetDefaultParentType

func (obj *Project) GetDefaultParentType() string

func (*Project) GetDisplayName

func (obj *Project) GetDisplayName() string

func (*Project) GetFloatingIpBackRefs

func (obj *Project) GetFloatingIpBackRefs() (
	contrail.ReferenceList, error)

func (*Project) GetFloatingIpPoolRefs

func (obj *Project) GetFloatingIpPoolRefs() (
	contrail.ReferenceList, error)

func (*Project) GetIdPerms

func (obj *Project) GetIdPerms() IdPermsType

func (*Project) GetInterfaceRouteTables

func (obj *Project) GetInterfaceRouteTables() (
	contrail.ReferenceList, error)

func (*Project) GetLoadbalancerHealthmonitors

func (obj *Project) GetLoadbalancerHealthmonitors() (
	contrail.ReferenceList, error)

func (*Project) GetLoadbalancerPools

func (obj *Project) GetLoadbalancerPools() (
	contrail.ReferenceList, error)

func (*Project) GetLogicalRouters

func (obj *Project) GetLogicalRouters() (
	contrail.ReferenceList, error)

func (*Project) GetNamespaceRefs

func (obj *Project) GetNamespaceRefs() (
	contrail.ReferenceList, error)

func (*Project) GetNetworkIpams

func (obj *Project) GetNetworkIpams() (
	contrail.ReferenceList, error)

func (*Project) GetNetworkPolicys

func (obj *Project) GetNetworkPolicys() (
	contrail.ReferenceList, error)

func (*Project) GetQosForwardingClasss

func (obj *Project) GetQosForwardingClasss() (
	contrail.ReferenceList, error)

func (*Project) GetQosQueues

func (obj *Project) GetQosQueues() (
	contrail.ReferenceList, error)

func (*Project) GetQuota

func (obj *Project) GetQuota() QuotaType

func (*Project) GetRouteTables

func (obj *Project) GetRouteTables() (
	contrail.ReferenceList, error)

func (*Project) GetSecurityGroups

func (obj *Project) GetSecurityGroups() (
	contrail.ReferenceList, error)

func (*Project) GetServiceInstances

func (obj *Project) GetServiceInstances() (
	contrail.ReferenceList, error)

func (*Project) GetType

func (obj *Project) GetType() string

func (*Project) GetVirtualIps

func (obj *Project) GetVirtualIps() (
	contrail.ReferenceList, error)

func (*Project) GetVirtualMachineInterfaces

func (obj *Project) GetVirtualMachineInterfaces() (
	contrail.ReferenceList, error)

func (*Project) GetVirtualNetworks

func (obj *Project) GetVirtualNetworks() (
	contrail.ReferenceList, error)

func (*Project) MarshalJSON

func (obj *Project) MarshalJSON() ([]byte, error)

func (*Project) SetDisplayName

func (obj *Project) SetDisplayName(value string)

func (*Project) SetFloatingIpPoolList

func (obj *Project) SetFloatingIpPoolList(
	refList []contrail.ReferencePair)

func (*Project) SetIdPerms

func (obj *Project) SetIdPerms(value *IdPermsType)

func (*Project) SetName

func (obj *Project) SetName(name string)

func (*Project) SetNamespaceList

func (obj *Project) SetNamespaceList(
	refList []contrail.ReferencePair)

func (*Project) SetParent

func (obj *Project) SetParent(parent contrail.IObject)

func (*Project) SetQuota

func (obj *Project) SetQuota(value *QuotaType)

func (*Project) UnmarshalJSON

func (obj *Project) UnmarshalJSON(body []byte) error

func (*Project) UpdateDone

func (obj *Project) UpdateDone()

func (*Project) UpdateObject

func (obj *Project) UpdateObject() ([]byte, error)

func (*Project) UpdateReferences

func (obj *Project) UpdateReferences() error

type ProtocolType

type ProtocolType struct {
	Protocol string `json:"protocol,omitempty"`
	Port     int    `json:"port,omitempty"`
}

type ProviderAttachment

type ProviderAttachment struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func ProviderAttachmentByName

func ProviderAttachmentByName(c contrail.ApiClient, fqn string) (*ProviderAttachment, error)

func ProviderAttachmentByUuid

func ProviderAttachmentByUuid(c contrail.ApiClient, uuid string) (*ProviderAttachment, error)

func (*ProviderAttachment) AddVirtualRouter

func (obj *ProviderAttachment) AddVirtualRouter(
	rhs *VirtualRouter) error

func (*ProviderAttachment) ClearVirtualRouter

func (obj *ProviderAttachment) ClearVirtualRouter()

func (*ProviderAttachment) DeleteVirtualRouter

func (obj *ProviderAttachment) DeleteVirtualRouter(uuid string) error

func (*ProviderAttachment) GetDefaultParent

func (obj *ProviderAttachment) GetDefaultParent() []string

func (*ProviderAttachment) GetDefaultParentType

func (obj *ProviderAttachment) GetDefaultParentType() string

func (*ProviderAttachment) GetDisplayName

func (obj *ProviderAttachment) GetDisplayName() string

func (*ProviderAttachment) GetIdPerms

func (obj *ProviderAttachment) GetIdPerms() IdPermsType

func (*ProviderAttachment) GetType

func (obj *ProviderAttachment) GetType() string

func (*ProviderAttachment) GetVirtualRouterRefs

func (obj *ProviderAttachment) GetVirtualRouterRefs() (
	contrail.ReferenceList, error)

func (*ProviderAttachment) MarshalJSON

func (obj *ProviderAttachment) MarshalJSON() ([]byte, error)

func (*ProviderAttachment) SetDisplayName

func (obj *ProviderAttachment) SetDisplayName(value string)

func (*ProviderAttachment) SetIdPerms

func (obj *ProviderAttachment) SetIdPerms(value *IdPermsType)

func (*ProviderAttachment) SetName

func (obj *ProviderAttachment) SetName(name string)

func (*ProviderAttachment) SetParent

func (obj *ProviderAttachment) SetParent(parent contrail.IObject)

func (*ProviderAttachment) SetVirtualRouterList

func (obj *ProviderAttachment) SetVirtualRouterList(
	refList []contrail.ReferencePair)

func (*ProviderAttachment) UnmarshalJSON

func (obj *ProviderAttachment) UnmarshalJSON(body []byte) error

func (*ProviderAttachment) UpdateDone

func (obj *ProviderAttachment) UpdateDone()

func (*ProviderAttachment) UpdateObject

func (obj *ProviderAttachment) UpdateObject() ([]byte, error)

func (*ProviderAttachment) UpdateReferences

func (obj *ProviderAttachment) UpdateReferences() error

type QosForwardingClass

type QosForwardingClass struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func QosForwardingClassByName

func QosForwardingClassByName(c contrail.ApiClient, fqn string) (*QosForwardingClass, error)

func QosForwardingClassByUuid

func QosForwardingClassByUuid(c contrail.ApiClient, uuid string) (*QosForwardingClass, error)

func (*QosForwardingClass) AddQosQueue

func (obj *QosForwardingClass) AddQosQueue(
	rhs *QosQueue) error

func (*QosForwardingClass) ClearQosQueue

func (obj *QosForwardingClass) ClearQosQueue()

func (*QosForwardingClass) DeleteQosQueue

func (obj *QosForwardingClass) DeleteQosQueue(uuid string) error

func (*QosForwardingClass) GetDefaultParent

func (obj *QosForwardingClass) GetDefaultParent() []string

func (*QosForwardingClass) GetDefaultParentType

func (obj *QosForwardingClass) GetDefaultParentType() string

func (*QosForwardingClass) GetDisplayName

func (obj *QosForwardingClass) GetDisplayName() string

func (*QosForwardingClass) GetDscp

func (obj *QosForwardingClass) GetDscp() int

func (*QosForwardingClass) GetIdPerms

func (obj *QosForwardingClass) GetIdPerms() IdPermsType

func (*QosForwardingClass) GetQosQueueRefs

func (obj *QosForwardingClass) GetQosQueueRefs() (
	contrail.ReferenceList, error)

func (*QosForwardingClass) GetTrusted

func (obj *QosForwardingClass) GetTrusted() bool

func (*QosForwardingClass) GetType

func (obj *QosForwardingClass) GetType() string

func (*QosForwardingClass) GetVirtualMachineInterfaceBackRefs

func (obj *QosForwardingClass) GetVirtualMachineInterfaceBackRefs() (
	contrail.ReferenceList, error)

func (*QosForwardingClass) GetVirtualNetworkBackRefs

func (obj *QosForwardingClass) GetVirtualNetworkBackRefs() (
	contrail.ReferenceList, error)

func (*QosForwardingClass) MarshalJSON

func (obj *QosForwardingClass) MarshalJSON() ([]byte, error)

func (*QosForwardingClass) SetDisplayName

func (obj *QosForwardingClass) SetDisplayName(value string)

func (*QosForwardingClass) SetDscp

func (obj *QosForwardingClass) SetDscp(value int)

func (*QosForwardingClass) SetIdPerms

func (obj *QosForwardingClass) SetIdPerms(value *IdPermsType)

func (*QosForwardingClass) SetName

func (obj *QosForwardingClass) SetName(name string)

func (*QosForwardingClass) SetParent

func (obj *QosForwardingClass) SetParent(parent contrail.IObject)

func (*QosForwardingClass) SetQosQueueList

func (obj *QosForwardingClass) SetQosQueueList(
	refList []contrail.ReferencePair)

func (*QosForwardingClass) SetTrusted

func (obj *QosForwardingClass) SetTrusted(value bool)

func (*QosForwardingClass) UnmarshalJSON

func (obj *QosForwardingClass) UnmarshalJSON(body []byte) error

func (*QosForwardingClass) UpdateDone

func (obj *QosForwardingClass) UpdateDone()

func (*QosForwardingClass) UpdateObject

func (obj *QosForwardingClass) UpdateObject() ([]byte, error)

func (*QosForwardingClass) UpdateReferences

func (obj *QosForwardingClass) UpdateReferences() error

type QosQueue

type QosQueue struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func QosQueueByName

func QosQueueByName(c contrail.ApiClient, fqn string) (*QosQueue, error)

func QosQueueByUuid

func QosQueueByUuid(c contrail.ApiClient, uuid string) (*QosQueue, error)

func (*QosQueue) GetDefaultParent

func (obj *QosQueue) GetDefaultParent() []string

func (*QosQueue) GetDefaultParentType

func (obj *QosQueue) GetDefaultParentType() string

func (*QosQueue) GetDisplayName

func (obj *QosQueue) GetDisplayName() string

func (*QosQueue) GetIdPerms

func (obj *QosQueue) GetIdPerms() IdPermsType

func (*QosQueue) GetMaxBandwidth

func (obj *QosQueue) GetMaxBandwidth() int

func (*QosQueue) GetMinBandwidth

func (obj *QosQueue) GetMinBandwidth() int

func (*QosQueue) GetQosForwardingClassBackRefs

func (obj *QosQueue) GetQosForwardingClassBackRefs() (
	contrail.ReferenceList, error)

func (*QosQueue) GetType

func (obj *QosQueue) GetType() string

func (*QosQueue) MarshalJSON

func (obj *QosQueue) MarshalJSON() ([]byte, error)

func (*QosQueue) SetDisplayName

func (obj *QosQueue) SetDisplayName(value string)

func (*QosQueue) SetIdPerms

func (obj *QosQueue) SetIdPerms(value *IdPermsType)

func (*QosQueue) SetMaxBandwidth

func (obj *QosQueue) SetMaxBandwidth(value int)

func (*QosQueue) SetMinBandwidth

func (obj *QosQueue) SetMinBandwidth(value int)

func (*QosQueue) SetName

func (obj *QosQueue) SetName(name string)

func (*QosQueue) SetParent

func (obj *QosQueue) SetParent(parent contrail.IObject)

func (*QosQueue) UnmarshalJSON

func (obj *QosQueue) UnmarshalJSON(body []byte) error

func (*QosQueue) UpdateDone

func (obj *QosQueue) UpdateDone()

func (*QosQueue) UpdateObject

func (obj *QosQueue) UpdateObject() ([]byte, error)

func (*QosQueue) UpdateReferences

func (obj *QosQueue) UpdateReferences() error

type QuotaType

type QuotaType struct {
	Defaults                  int `json:"defaults,omitempty"`
	FloatingIp                int `json:"floating_ip,omitempty"`
	InstanceIp                int `json:"instance_ip,omitempty"`
	VirtualMachineInterface   int `json:"virtual_machine_interface,omitempty"`
	VirtualNetwork            int `json:"virtual_network,omitempty"`
	VirtualRouter             int `json:"virtual_router,omitempty"`
	VirtualDns                int `json:"virtual_DNS,omitempty"`
	VirtualDnsRecord          int `json:"virtual_DNS_record,omitempty"`
	BgpRouter                 int `json:"bgp_router,omitempty"`
	NetworkIpam               int `json:"network_ipam,omitempty"`
	AccessControlList         int `json:"access_control_list,omitempty"`
	FloatingIpPool            int `json:"floating_ip_pool,omitempty"`
	ServiceTemplate           int `json:"service_template,omitempty"`
	ServiceInstance           int `json:"service_instance,omitempty"`
	LogicalRouter             int `json:"logical_router,omitempty"`
	SecurityGroup             int `json:"security_group,omitempty"`
	SecurityGroupRule         int `json:"security_group_rule,omitempty"`
	Subnet                    int `json:"subnet,omitempty"`
	GlobalVrouterConfig       int `json:"global_vrouter_config,omitempty"`
	LoadbalancerPool          int `json:"loadbalancer_pool,omitempty"`
	LoadbalancerMember        int `json:"loadbalancer_member,omitempty"`
	LoadbalancerHealthmonitor int `json:"loadbalancer_healthmonitor,omitempty"`
	VirtualIp                 int `json:"virtual_ip,omitempty"`
}

type RouteTable

type RouteTable struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func RouteTableByName

func RouteTableByName(c contrail.ApiClient, fqn string) (*RouteTable, error)

func RouteTableByUuid

func RouteTableByUuid(c contrail.ApiClient, uuid string) (*RouteTable, error)

func (*RouteTable) GetDefaultParent

func (obj *RouteTable) GetDefaultParent() []string

func (*RouteTable) GetDefaultParentType

func (obj *RouteTable) GetDefaultParentType() string

func (*RouteTable) GetDisplayName

func (obj *RouteTable) GetDisplayName() string

func (*RouteTable) GetIdPerms

func (obj *RouteTable) GetIdPerms() IdPermsType

func (*RouteTable) GetRoutes

func (obj *RouteTable) GetRoutes() RouteTableType

func (*RouteTable) GetType

func (obj *RouteTable) GetType() string

func (*RouteTable) GetVirtualNetworkBackRefs

func (obj *RouteTable) GetVirtualNetworkBackRefs() (
	contrail.ReferenceList, error)

func (*RouteTable) MarshalJSON

func (obj *RouteTable) MarshalJSON() ([]byte, error)

func (*RouteTable) SetDisplayName

func (obj *RouteTable) SetDisplayName(value string)

func (*RouteTable) SetIdPerms

func (obj *RouteTable) SetIdPerms(value *IdPermsType)

func (*RouteTable) SetName

func (obj *RouteTable) SetName(name string)

func (*RouteTable) SetParent

func (obj *RouteTable) SetParent(parent contrail.IObject)

func (*RouteTable) SetRoutes

func (obj *RouteTable) SetRoutes(value *RouteTableType)

func (*RouteTable) UnmarshalJSON

func (obj *RouteTable) UnmarshalJSON(body []byte) error

func (*RouteTable) UpdateDone

func (obj *RouteTable) UpdateDone()

func (*RouteTable) UpdateObject

func (obj *RouteTable) UpdateObject() ([]byte, error)

func (*RouteTable) UpdateReferences

func (obj *RouteTable) UpdateReferences() error

type RouteTableType

type RouteTableType struct {
	Route []RouteType `json:"route,omitempty"`
}

func (*RouteTableType) AddRoute

func (obj *RouteTableType) AddRoute(value *RouteType)

type RouteTarget

type RouteTarget struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func RouteTargetByName

func RouteTargetByName(c contrail.ApiClient, fqn string) (*RouteTarget, error)

func RouteTargetByUuid

func RouteTargetByUuid(c contrail.ApiClient, uuid string) (*RouteTarget, error)

func (*RouteTarget) GetDefaultParent

func (obj *RouteTarget) GetDefaultParent() []string

func (*RouteTarget) GetDefaultParentType

func (obj *RouteTarget) GetDefaultParentType() string

func (*RouteTarget) GetDisplayName

func (obj *RouteTarget) GetDisplayName() string

func (*RouteTarget) GetIdPerms

func (obj *RouteTarget) GetIdPerms() IdPermsType

func (*RouteTarget) GetLogicalRouterBackRefs

func (obj *RouteTarget) GetLogicalRouterBackRefs() (
	contrail.ReferenceList, error)

func (*RouteTarget) GetType

func (obj *RouteTarget) GetType() string

func (*RouteTarget) MarshalJSON

func (obj *RouteTarget) MarshalJSON() ([]byte, error)

func (*RouteTarget) SetDisplayName

func (obj *RouteTarget) SetDisplayName(value string)

func (*RouteTarget) SetIdPerms

func (obj *RouteTarget) SetIdPerms(value *IdPermsType)

func (*RouteTarget) SetName

func (obj *RouteTarget) SetName(name string)

func (*RouteTarget) SetParent

func (obj *RouteTarget) SetParent(parent contrail.IObject)

func (*RouteTarget) UnmarshalJSON

func (obj *RouteTarget) UnmarshalJSON(body []byte) error

func (*RouteTarget) UpdateDone

func (obj *RouteTarget) UpdateDone()

func (*RouteTarget) UpdateObject

func (obj *RouteTarget) UpdateObject() ([]byte, error)

func (*RouteTarget) UpdateReferences

func (obj *RouteTarget) UpdateReferences() error

type RouteTargetList

type RouteTargetList struct {
	RouteTarget []string `json:"route_target,omitempty"`
}

func (*RouteTargetList) AddRouteTarget

func (obj *RouteTargetList) AddRouteTarget(value string)

type RouteType

type RouteType struct {
	Prefix      string `json:"prefix,omitempty"`
	NextHop     string `json:"next_hop,omitempty"`
	NextHopType string `json:"next_hop_type,omitempty"`
}

type RoutingInstance

type RoutingInstance struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func RoutingInstanceByName

func RoutingInstanceByName(c contrail.ApiClient, fqn string) (*RoutingInstance, error)

func RoutingInstanceByUuid

func RoutingInstanceByUuid(c contrail.ApiClient, uuid string) (*RoutingInstance, error)

func (*RoutingInstance) GetDefaultParent

func (obj *RoutingInstance) GetDefaultParent() []string

func (*RoutingInstance) GetDefaultParentType

func (obj *RoutingInstance) GetDefaultParentType() string

func (*RoutingInstance) GetDisplayName

func (obj *RoutingInstance) GetDisplayName() string

func (*RoutingInstance) GetIdPerms

func (obj *RoutingInstance) GetIdPerms() IdPermsType

func (*RoutingInstance) GetType

func (obj *RoutingInstance) GetType() string

func (*RoutingInstance) GetVirtualMachineInterfaceBackRefs

func (obj *RoutingInstance) GetVirtualMachineInterfaceBackRefs() (
	contrail.ReferenceList, error)

func (*RoutingInstance) MarshalJSON

func (obj *RoutingInstance) MarshalJSON() ([]byte, error)

func (*RoutingInstance) SetDisplayName

func (obj *RoutingInstance) SetDisplayName(value string)

func (*RoutingInstance) SetIdPerms

func (obj *RoutingInstance) SetIdPerms(value *IdPermsType)

func (*RoutingInstance) SetName

func (obj *RoutingInstance) SetName(name string)

func (*RoutingInstance) SetParent

func (obj *RoutingInstance) SetParent(parent contrail.IObject)

func (*RoutingInstance) UnmarshalJSON

func (obj *RoutingInstance) UnmarshalJSON(body []byte) error

func (*RoutingInstance) UpdateDone

func (obj *RoutingInstance) UpdateDone()

func (*RoutingInstance) UpdateObject

func (obj *RoutingInstance) UpdateObject() ([]byte, error)

func (*RoutingInstance) UpdateReferences

func (obj *RoutingInstance) UpdateReferences() error

type SNMPCredentials

type SNMPCredentials struct {
	Version                  int    `json:"version,omitempty"`
	LocalPort                int    `json:"local_port,omitempty"`
	Retries                  int    `json:"retries,omitempty"`
	Timeout                  int    `json:"timeout,omitempty"`
	V2Community              string `json:"v2_community,omitempty"`
	V3SecurityName           string `json:"v3_security_name,omitempty"`
	V3SecurityLevel          string `json:"v3_security_level,omitempty"`
	V3SecurityEngineId       string `json:"v3_security_engine_id,omitempty"`
	V3Context                string `json:"v3_context,omitempty"`
	V3ContextEngineId        string `json:"v3_context_engine_id,omitempty"`
	V3AuthenticationProtocol string `json:"v3_authentication_protocol,omitempty"`
	V3AuthenticationPassword string `json:"v3_authentication_password,omitempty"`
	V3PrivacyProtocol        string `json:"v3_privacy_protocol,omitempty"`
	V3PrivacyPassword        string `json:"v3_privacy_password,omitempty"`
	V3EngineId               string `json:"v3_engine_id,omitempty"`
	V3EngineBoots            int    `json:"v3_engine_boots,omitempty"`
	V3EngineTime             int    `json:"v3_engine_time,omitempty"`
}

type SecurityGroup

type SecurityGroup struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func SecurityGroupByName

func SecurityGroupByName(c contrail.ApiClient, fqn string) (*SecurityGroup, error)

func SecurityGroupByUuid

func SecurityGroupByUuid(c contrail.ApiClient, uuid string) (*SecurityGroup, error)

func (*SecurityGroup) GetAccessControlLists

func (obj *SecurityGroup) GetAccessControlLists() (
	contrail.ReferenceList, error)

func (*SecurityGroup) GetConfiguredSecurityGroupId

func (obj *SecurityGroup) GetConfiguredSecurityGroupId() int

func (*SecurityGroup) GetDefaultParent

func (obj *SecurityGroup) GetDefaultParent() []string

func (*SecurityGroup) GetDefaultParentType

func (obj *SecurityGroup) GetDefaultParentType() string

func (*SecurityGroup) GetDisplayName

func (obj *SecurityGroup) GetDisplayName() string

func (*SecurityGroup) GetIdPerms

func (obj *SecurityGroup) GetIdPerms() IdPermsType

func (*SecurityGroup) GetSecurityGroupEntries

func (obj *SecurityGroup) GetSecurityGroupEntries() PolicyEntriesType

func (*SecurityGroup) GetSecurityGroupId

func (obj *SecurityGroup) GetSecurityGroupId() int

func (*SecurityGroup) GetType

func (obj *SecurityGroup) GetType() string

func (*SecurityGroup) GetVirtualMachineInterfaceBackRefs

func (obj *SecurityGroup) GetVirtualMachineInterfaceBackRefs() (
	contrail.ReferenceList, error)

func (*SecurityGroup) MarshalJSON

func (obj *SecurityGroup) MarshalJSON() ([]byte, error)

func (*SecurityGroup) SetConfiguredSecurityGroupId

func (obj *SecurityGroup) SetConfiguredSecurityGroupId(value int)

func (*SecurityGroup) SetDisplayName

func (obj *SecurityGroup) SetDisplayName(value string)

func (*SecurityGroup) SetIdPerms

func (obj *SecurityGroup) SetIdPerms(value *IdPermsType)

func (*SecurityGroup) SetName

func (obj *SecurityGroup) SetName(name string)

func (*SecurityGroup) SetParent

func (obj *SecurityGroup) SetParent(parent contrail.IObject)

func (*SecurityGroup) SetSecurityGroupEntries

func (obj *SecurityGroup) SetSecurityGroupEntries(value *PolicyEntriesType)

func (*SecurityGroup) SetSecurityGroupId

func (obj *SecurityGroup) SetSecurityGroupId(value int)

func (*SecurityGroup) UnmarshalJSON

func (obj *SecurityGroup) UnmarshalJSON(body []byte) error

func (*SecurityGroup) UpdateDone

func (obj *SecurityGroup) UpdateDone()

func (*SecurityGroup) UpdateObject

func (obj *SecurityGroup) UpdateObject() ([]byte, error)

func (*SecurityGroup) UpdateReferences

func (obj *SecurityGroup) UpdateReferences() error

type SequenceType

type SequenceType struct {
	Major int `json:"major,omitempty"`
	Minor int `json:"minor,omitempty"`
}

type ServiceAppliance

type ServiceAppliance struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func ServiceApplianceByName

func ServiceApplianceByName(c contrail.ApiClient, fqn string) (*ServiceAppliance, error)

func ServiceApplianceByUuid

func ServiceApplianceByUuid(c contrail.ApiClient, uuid string) (*ServiceAppliance, error)

func (*ServiceAppliance) GetDefaultParent

func (obj *ServiceAppliance) GetDefaultParent() []string

func (*ServiceAppliance) GetDefaultParentType

func (obj *ServiceAppliance) GetDefaultParentType() string

func (*ServiceAppliance) GetDisplayName

func (obj *ServiceAppliance) GetDisplayName() string

func (*ServiceAppliance) GetIdPerms

func (obj *ServiceAppliance) GetIdPerms() IdPermsType

func (*ServiceAppliance) GetServiceApplianceIpAddress

func (obj *ServiceAppliance) GetServiceApplianceIpAddress() string

func (*ServiceAppliance) GetServiceApplianceProperties

func (obj *ServiceAppliance) GetServiceApplianceProperties() KeyValuePairs

func (*ServiceAppliance) GetServiceApplianceUserCredentials

func (obj *ServiceAppliance) GetServiceApplianceUserCredentials() UserCredentials

func (*ServiceAppliance) GetType

func (obj *ServiceAppliance) GetType() string

func (*ServiceAppliance) MarshalJSON

func (obj *ServiceAppliance) MarshalJSON() ([]byte, error)

func (*ServiceAppliance) SetDisplayName

func (obj *ServiceAppliance) SetDisplayName(value string)

func (*ServiceAppliance) SetIdPerms

func (obj *ServiceAppliance) SetIdPerms(value *IdPermsType)

func (*ServiceAppliance) SetName

func (obj *ServiceAppliance) SetName(name string)

func (*ServiceAppliance) SetParent

func (obj *ServiceAppliance) SetParent(parent contrail.IObject)

func (*ServiceAppliance) SetServiceApplianceIpAddress

func (obj *ServiceAppliance) SetServiceApplianceIpAddress(value string)

func (*ServiceAppliance) SetServiceApplianceProperties

func (obj *ServiceAppliance) SetServiceApplianceProperties(value *KeyValuePairs)

func (*ServiceAppliance) SetServiceApplianceUserCredentials

func (obj *ServiceAppliance) SetServiceApplianceUserCredentials(value *UserCredentials)

func (*ServiceAppliance) UnmarshalJSON

func (obj *ServiceAppliance) UnmarshalJSON(body []byte) error

func (*ServiceAppliance) UpdateDone

func (obj *ServiceAppliance) UpdateDone()

func (*ServiceAppliance) UpdateObject

func (obj *ServiceAppliance) UpdateObject() ([]byte, error)

func (*ServiceAppliance) UpdateReferences

func (obj *ServiceAppliance) UpdateReferences() error

type ServiceApplianceSet

type ServiceApplianceSet struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func ServiceApplianceSetByName

func ServiceApplianceSetByName(c contrail.ApiClient, fqn string) (*ServiceApplianceSet, error)

func ServiceApplianceSetByUuid

func ServiceApplianceSetByUuid(c contrail.ApiClient, uuid string) (*ServiceApplianceSet, error)

func (*ServiceApplianceSet) GetDefaultParent

func (obj *ServiceApplianceSet) GetDefaultParent() []string

func (*ServiceApplianceSet) GetDefaultParentType

func (obj *ServiceApplianceSet) GetDefaultParentType() string

func (*ServiceApplianceSet) GetDisplayName

func (obj *ServiceApplianceSet) GetDisplayName() string

func (*ServiceApplianceSet) GetIdPerms

func (obj *ServiceApplianceSet) GetIdPerms() IdPermsType

func (*ServiceApplianceSet) GetLoadbalancerPoolBackRefs

func (obj *ServiceApplianceSet) GetLoadbalancerPoolBackRefs() (
	contrail.ReferenceList, error)

func (*ServiceApplianceSet) GetServiceApplianceDriver

func (obj *ServiceApplianceSet) GetServiceApplianceDriver() string

func (*ServiceApplianceSet) GetServiceApplianceHaMode

func (obj *ServiceApplianceSet) GetServiceApplianceHaMode() string

func (*ServiceApplianceSet) GetServiceApplianceSetProperties

func (obj *ServiceApplianceSet) GetServiceApplianceSetProperties() KeyValuePairs

func (*ServiceApplianceSet) GetServiceAppliances

func (obj *ServiceApplianceSet) GetServiceAppliances() (
	contrail.ReferenceList, error)

func (*ServiceApplianceSet) GetType

func (obj *ServiceApplianceSet) GetType() string

func (*ServiceApplianceSet) MarshalJSON

func (obj *ServiceApplianceSet) MarshalJSON() ([]byte, error)

func (*ServiceApplianceSet) SetDisplayName

func (obj *ServiceApplianceSet) SetDisplayName(value string)

func (*ServiceApplianceSet) SetIdPerms

func (obj *ServiceApplianceSet) SetIdPerms(value *IdPermsType)

func (*ServiceApplianceSet) SetName

func (obj *ServiceApplianceSet) SetName(name string)

func (*ServiceApplianceSet) SetParent

func (obj *ServiceApplianceSet) SetParent(parent contrail.IObject)

func (*ServiceApplianceSet) SetServiceApplianceDriver

func (obj *ServiceApplianceSet) SetServiceApplianceDriver(value string)

func (*ServiceApplianceSet) SetServiceApplianceHaMode

func (obj *ServiceApplianceSet) SetServiceApplianceHaMode(value string)

func (*ServiceApplianceSet) SetServiceApplianceSetProperties

func (obj *ServiceApplianceSet) SetServiceApplianceSetProperties(value *KeyValuePairs)

func (*ServiceApplianceSet) UnmarshalJSON

func (obj *ServiceApplianceSet) UnmarshalJSON(body []byte) error

func (*ServiceApplianceSet) UpdateDone

func (obj *ServiceApplianceSet) UpdateDone()

func (*ServiceApplianceSet) UpdateObject

func (obj *ServiceApplianceSet) UpdateObject() ([]byte, error)

func (*ServiceApplianceSet) UpdateReferences

func (obj *ServiceApplianceSet) UpdateReferences() error

type ServiceInstance

type ServiceInstance struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func ServiceInstanceByName

func ServiceInstanceByName(c contrail.ApiClient, fqn string) (*ServiceInstance, error)

func ServiceInstanceByUuid

func ServiceInstanceByUuid(c contrail.ApiClient, uuid string) (*ServiceInstance, error)

func (*ServiceInstance) AddServiceTemplate

func (obj *ServiceInstance) AddServiceTemplate(
	rhs *ServiceTemplate) error

func (*ServiceInstance) ClearServiceTemplate

func (obj *ServiceInstance) ClearServiceTemplate()

func (*ServiceInstance) DeleteServiceTemplate

func (obj *ServiceInstance) DeleteServiceTemplate(uuid string) error

func (*ServiceInstance) GetDefaultParent

func (obj *ServiceInstance) GetDefaultParent() []string

func (*ServiceInstance) GetDefaultParentType

func (obj *ServiceInstance) GetDefaultParentType() string

func (*ServiceInstance) GetDisplayName

func (obj *ServiceInstance) GetDisplayName() string

func (*ServiceInstance) GetIdPerms

func (obj *ServiceInstance) GetIdPerms() IdPermsType

func (*ServiceInstance) GetLoadbalancerPoolBackRefs

func (obj *ServiceInstance) GetLoadbalancerPoolBackRefs() (
	contrail.ReferenceList, error)

func (*ServiceInstance) GetLogicalRouterBackRefs

func (obj *ServiceInstance) GetLogicalRouterBackRefs() (
	contrail.ReferenceList, error)

func (*ServiceInstance) GetServiceInstanceProperties

func (obj *ServiceInstance) GetServiceInstanceProperties() ServiceInstanceType

func (*ServiceInstance) GetServiceTemplateRefs

func (obj *ServiceInstance) GetServiceTemplateRefs() (
	contrail.ReferenceList, error)

func (*ServiceInstance) GetType

func (obj *ServiceInstance) GetType() string

func (*ServiceInstance) GetVirtualMachineBackRefs

func (obj *ServiceInstance) GetVirtualMachineBackRefs() (
	contrail.ReferenceList, error)

func (*ServiceInstance) MarshalJSON

func (obj *ServiceInstance) MarshalJSON() ([]byte, error)

func (*ServiceInstance) SetDisplayName

func (obj *ServiceInstance) SetDisplayName(value string)

func (*ServiceInstance) SetIdPerms

func (obj *ServiceInstance) SetIdPerms(value *IdPermsType)

func (*ServiceInstance) SetName

func (obj *ServiceInstance) SetName(name string)

func (*ServiceInstance) SetParent

func (obj *ServiceInstance) SetParent(parent contrail.IObject)

func (*ServiceInstance) SetServiceInstanceProperties

func (obj *ServiceInstance) SetServiceInstanceProperties(value *ServiceInstanceType)

func (*ServiceInstance) SetServiceTemplateList

func (obj *ServiceInstance) SetServiceTemplateList(
	refList []contrail.ReferencePair)

func (*ServiceInstance) UnmarshalJSON

func (obj *ServiceInstance) UnmarshalJSON(body []byte) error

func (*ServiceInstance) UpdateDone

func (obj *ServiceInstance) UpdateDone()

func (*ServiceInstance) UpdateObject

func (obj *ServiceInstance) UpdateObject() ([]byte, error)

func (*ServiceInstance) UpdateReferences

func (obj *ServiceInstance) UpdateReferences() error

type ServiceInstanceInterfaceType

type ServiceInstanceInterfaceType struct {
	VirtualNetwork string          `json:"virtual_network,omitempty"`
	IpAddress      string          `json:"ip_address,omitempty"`
	StaticRoutes   *RouteTableType `json:"static_routes,omitempty"`
}

type ServiceInstanceType

type ServiceInstanceType struct {
	AutoPolicy               bool                           `json:"auto_policy,omitempty"`
	AvailabilityZone         string                         `json:"availability_zone,omitempty"`
	ManagementVirtualNetwork string                         `json:"management_virtual_network,omitempty"`
	LeftVirtualNetwork       string                         `json:"left_virtual_network,omitempty"`
	LeftIpAddress            string                         `json:"left_ip_address,omitempty"`
	RightVirtualNetwork      string                         `json:"right_virtual_network,omitempty"`
	RightIpAddress           string                         `json:"right_ip_address,omitempty"`
	InterfaceList            []ServiceInstanceInterfaceType `json:"interface_list,omitempty"`
	ScaleOut                 *ServiceScaleOutType           `json:"scale_out,omitempty"`
	HaMode                   string                         `json:"ha_mode,omitempty"`
	VirtualRouterId          string                         `json:"virtual_router_id,omitempty"`
}

func (*ServiceInstanceType) AddInterfaceList

func (obj *ServiceInstanceType) AddInterfaceList(value *ServiceInstanceInterfaceType)

type ServiceScaleOutType

type ServiceScaleOutType struct {
	MaxInstances int  `json:"max_instances,omitempty"`
	AutoScale    bool `json:"auto_scale,omitempty"`
}

type ServiceTemplate

type ServiceTemplate struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func ServiceTemplateByName

func ServiceTemplateByName(c contrail.ApiClient, fqn string) (*ServiceTemplate, error)

func ServiceTemplateByUuid

func ServiceTemplateByUuid(c contrail.ApiClient, uuid string) (*ServiceTemplate, error)

func (*ServiceTemplate) GetDefaultParent

func (obj *ServiceTemplate) GetDefaultParent() []string

func (*ServiceTemplate) GetDefaultParentType

func (obj *ServiceTemplate) GetDefaultParentType() string

func (*ServiceTemplate) GetDisplayName

func (obj *ServiceTemplate) GetDisplayName() string

func (*ServiceTemplate) GetIdPerms

func (obj *ServiceTemplate) GetIdPerms() IdPermsType

func (*ServiceTemplate) GetServiceInstanceBackRefs

func (obj *ServiceTemplate) GetServiceInstanceBackRefs() (
	contrail.ReferenceList, error)

func (*ServiceTemplate) GetServiceTemplateProperties

func (obj *ServiceTemplate) GetServiceTemplateProperties() ServiceTemplateType

func (*ServiceTemplate) GetType

func (obj *ServiceTemplate) GetType() string

func (*ServiceTemplate) MarshalJSON

func (obj *ServiceTemplate) MarshalJSON() ([]byte, error)

func (*ServiceTemplate) SetDisplayName

func (obj *ServiceTemplate) SetDisplayName(value string)

func (*ServiceTemplate) SetIdPerms

func (obj *ServiceTemplate) SetIdPerms(value *IdPermsType)

func (*ServiceTemplate) SetName

func (obj *ServiceTemplate) SetName(name string)

func (*ServiceTemplate) SetParent

func (obj *ServiceTemplate) SetParent(parent contrail.IObject)

func (*ServiceTemplate) SetServiceTemplateProperties

func (obj *ServiceTemplate) SetServiceTemplateProperties(value *ServiceTemplateType)

func (*ServiceTemplate) UnmarshalJSON

func (obj *ServiceTemplate) UnmarshalJSON(body []byte) error

func (*ServiceTemplate) UpdateDone

func (obj *ServiceTemplate) UpdateDone()

func (*ServiceTemplate) UpdateObject

func (obj *ServiceTemplate) UpdateObject() ([]byte, error)

func (*ServiceTemplate) UpdateReferences

func (obj *ServiceTemplate) UpdateReferences() error

type ServiceTemplateInterfaceType

type ServiceTemplateInterfaceType struct {
	ServiceInterfaceType string `json:"service_interface_type,omitempty"`
	SharedIp             bool   `json:"shared_ip,omitempty"`
	StaticRouteEnable    bool   `json:"static_route_enable,omitempty"`
}

type ServiceTemplateType

type ServiceTemplateType struct {
	ServiceMode               string                         `json:"service_mode,omitempty"`
	ServiceType               string                         `json:"service_type,omitempty"`
	ImageName                 string                         `json:"image_name,omitempty"`
	ServiceScaling            bool                           `json:"service_scaling,omitempty"`
	InterfaceType             []ServiceTemplateInterfaceType `json:"interface_type,omitempty"`
	Flavor                    string                         `json:"flavor,omitempty"`
	OrderedInterfaces         bool                           `json:"ordered_interfaces,omitempty"`
	ServiceVirtualizationType string                         `json:"service_virtualization_type,omitempty"`
	AvailabilityZoneEnable    bool                           `json:"availability_zone_enable,omitempty"`
	VrouterInstanceType       string                         `json:"vrouter_instance_type,omitempty"`
	InstanceData              string                         `json:"instance_data,omitempty"`
}

func (*ServiceTemplateType) AddInterfaceType

func (obj *ServiceTemplateType) AddInterfaceType(value *ServiceTemplateInterfaceType)

type Subnet

type Subnet struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func SubnetByName

func SubnetByName(c contrail.ApiClient, fqn string) (*Subnet, error)

func SubnetByUuid

func SubnetByUuid(c contrail.ApiClient, uuid string) (*Subnet, error)

func (*Subnet) AddVirtualMachineInterface

func (obj *Subnet) AddVirtualMachineInterface(
	rhs *VirtualMachineInterface) error

func (*Subnet) ClearVirtualMachineInterface

func (obj *Subnet) ClearVirtualMachineInterface()

func (*Subnet) DeleteVirtualMachineInterface

func (obj *Subnet) DeleteVirtualMachineInterface(uuid string) error

func (*Subnet) GetDefaultParent

func (obj *Subnet) GetDefaultParent() []string

func (*Subnet) GetDefaultParentType

func (obj *Subnet) GetDefaultParentType() string

func (*Subnet) GetDisplayName

func (obj *Subnet) GetDisplayName() string

func (*Subnet) GetIdPerms

func (obj *Subnet) GetIdPerms() IdPermsType

func (*Subnet) GetSubnetIpPrefix

func (obj *Subnet) GetSubnetIpPrefix() SubnetType

func (*Subnet) GetType

func (obj *Subnet) GetType() string

func (*Subnet) GetVirtualMachineInterfaceRefs

func (obj *Subnet) GetVirtualMachineInterfaceRefs() (
	contrail.ReferenceList, error)

func (*Subnet) MarshalJSON

func (obj *Subnet) MarshalJSON() ([]byte, error)

func (*Subnet) SetDisplayName

func (obj *Subnet) SetDisplayName(value string)

func (*Subnet) SetIdPerms

func (obj *Subnet) SetIdPerms(value *IdPermsType)

func (*Subnet) SetName

func (obj *Subnet) SetName(name string)

func (*Subnet) SetParent

func (obj *Subnet) SetParent(parent contrail.IObject)

func (*Subnet) SetSubnetIpPrefix

func (obj *Subnet) SetSubnetIpPrefix(value *SubnetType)

func (*Subnet) SetVirtualMachineInterfaceList

func (obj *Subnet) SetVirtualMachineInterfaceList(
	refList []contrail.ReferencePair)

func (*Subnet) UnmarshalJSON

func (obj *Subnet) UnmarshalJSON(body []byte) error

func (*Subnet) UpdateDone

func (obj *Subnet) UpdateDone()

func (*Subnet) UpdateObject

func (obj *Subnet) UpdateObject() ([]byte, error)

func (*Subnet) UpdateReferences

func (obj *Subnet) UpdateReferences() error

type SubnetListType

type SubnetListType struct {
	Subnet []SubnetType `json:"subnet,omitempty"`
}

func (*SubnetListType) AddSubnet

func (obj *SubnetListType) AddSubnet(value *SubnetType)

type SubnetType

type SubnetType struct {
	IpPrefix    string `json:"ip_prefix,omitempty"`
	IpPrefixLen int    `json:"ip_prefix_len,omitempty"`
}

type TimerType

type TimerType struct {
	StartTime   string `json:"start_time,omitempty"`
	OnInterval  uint64 `json:"on_interval,omitempty"`
	OffInterval uint64 `json:"off_interval,omitempty"`
	EndTime     string `json:"end_time,omitempty"`
}

type UserCredentials

type UserCredentials struct {
	Username string `json:"username,omitempty"`
	Password string `json:"password,omitempty"`
}

type UuidType

type UuidType struct {
	UuidMslong uint64 `json:"uuid_mslong,omitempty"`
	UuidLslong uint64 `json:"uuid_lslong,omitempty"`
}

type VirtualDns

type VirtualDns struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func VirtualDnsByName

func VirtualDnsByName(c contrail.ApiClient, fqn string) (*VirtualDns, error)

func VirtualDnsByUuid

func VirtualDnsByUuid(c contrail.ApiClient, uuid string) (*VirtualDns, error)

func (*VirtualDns) GetDefaultParent

func (obj *VirtualDns) GetDefaultParent() []string

func (*VirtualDns) GetDefaultParentType

func (obj *VirtualDns) GetDefaultParentType() string

func (*VirtualDns) GetDisplayName

func (obj *VirtualDns) GetDisplayName() string

func (*VirtualDns) GetIdPerms

func (obj *VirtualDns) GetIdPerms() IdPermsType

func (*VirtualDns) GetNetworkIpamBackRefs

func (obj *VirtualDns) GetNetworkIpamBackRefs() (
	contrail.ReferenceList, error)

func (*VirtualDns) GetType

func (obj *VirtualDns) GetType() string

func (*VirtualDns) GetVirtualDnsData

func (obj *VirtualDns) GetVirtualDnsData() VirtualDnsType

func (*VirtualDns) GetVirtualDnsRecords

func (obj *VirtualDns) GetVirtualDnsRecords() (
	contrail.ReferenceList, error)

func (*VirtualDns) MarshalJSON

func (obj *VirtualDns) MarshalJSON() ([]byte, error)

func (*VirtualDns) SetDisplayName

func (obj *VirtualDns) SetDisplayName(value string)

func (*VirtualDns) SetIdPerms

func (obj *VirtualDns) SetIdPerms(value *IdPermsType)

func (*VirtualDns) SetName

func (obj *VirtualDns) SetName(name string)

func (*VirtualDns) SetParent

func (obj *VirtualDns) SetParent(parent contrail.IObject)

func (*VirtualDns) SetVirtualDnsData

func (obj *VirtualDns) SetVirtualDnsData(value *VirtualDnsType)

func (*VirtualDns) UnmarshalJSON

func (obj *VirtualDns) UnmarshalJSON(body []byte) error

func (*VirtualDns) UpdateDone

func (obj *VirtualDns) UpdateDone()

func (*VirtualDns) UpdateObject

func (obj *VirtualDns) UpdateObject() ([]byte, error)

func (*VirtualDns) UpdateReferences

func (obj *VirtualDns) UpdateReferences() error

type VirtualDnsRecord

type VirtualDnsRecord struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func VirtualDnsRecordByName

func VirtualDnsRecordByName(c contrail.ApiClient, fqn string) (*VirtualDnsRecord, error)

func VirtualDnsRecordByUuid

func VirtualDnsRecordByUuid(c contrail.ApiClient, uuid string) (*VirtualDnsRecord, error)

func (*VirtualDnsRecord) GetDefaultParent

func (obj *VirtualDnsRecord) GetDefaultParent() []string

func (*VirtualDnsRecord) GetDefaultParentType

func (obj *VirtualDnsRecord) GetDefaultParentType() string

func (*VirtualDnsRecord) GetDisplayName

func (obj *VirtualDnsRecord) GetDisplayName() string

func (*VirtualDnsRecord) GetIdPerms

func (obj *VirtualDnsRecord) GetIdPerms() IdPermsType

func (*VirtualDnsRecord) GetType

func (obj *VirtualDnsRecord) GetType() string

func (*VirtualDnsRecord) GetVirtualDnsRecordData

func (obj *VirtualDnsRecord) GetVirtualDnsRecordData() VirtualDnsRecordType

func (*VirtualDnsRecord) MarshalJSON

func (obj *VirtualDnsRecord) MarshalJSON() ([]byte, error)

func (*VirtualDnsRecord) SetDisplayName

func (obj *VirtualDnsRecord) SetDisplayName(value string)

func (*VirtualDnsRecord) SetIdPerms

func (obj *VirtualDnsRecord) SetIdPerms(value *IdPermsType)

func (*VirtualDnsRecord) SetName

func (obj *VirtualDnsRecord) SetName(name string)

func (*VirtualDnsRecord) SetParent

func (obj *VirtualDnsRecord) SetParent(parent contrail.IObject)

func (*VirtualDnsRecord) SetVirtualDnsRecordData

func (obj *VirtualDnsRecord) SetVirtualDnsRecordData(value *VirtualDnsRecordType)

func (*VirtualDnsRecord) UnmarshalJSON

func (obj *VirtualDnsRecord) UnmarshalJSON(body []byte) error

func (*VirtualDnsRecord) UpdateDone

func (obj *VirtualDnsRecord) UpdateDone()

func (*VirtualDnsRecord) UpdateObject

func (obj *VirtualDnsRecord) UpdateObject() ([]byte, error)

func (*VirtualDnsRecord) UpdateReferences

func (obj *VirtualDnsRecord) UpdateReferences() error

type VirtualDnsRecordType

type VirtualDnsRecordType struct {
	RecordName         string `json:"record_name,omitempty"`
	RecordType         string `json:"record_type,omitempty"`
	RecordClass        string `json:"record_class,omitempty"`
	RecordData         string `json:"record_data,omitempty"`
	RecordTtlSeconds   int    `json:"record_ttl_seconds,omitempty"`
	RecordMxPreference int    `json:"record_mx_preference,omitempty"`
}

type VirtualDnsType

type VirtualDnsType struct {
	DomainName               string `json:"domain_name,omitempty"`
	DynamicRecordsFromClient bool   `json:"dynamic_records_from_client,omitempty"`
	RecordOrder              string `json:"record_order,omitempty"`
	DefaultTtlSeconds        int    `json:"default_ttl_seconds,omitempty"`
	NextVirtualDns           string `json:"next_virtual_DNS,omitempty"`
	FloatingIpRecord         string `json:"floating_ip_record,omitempty"`
	ExternalVisible          bool   `json:"external_visible,omitempty"`
	ReverseResolution        bool   `json:"reverse_resolution,omitempty"`
}

type VirtualIp

type VirtualIp struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func VirtualIpByName

func VirtualIpByName(c contrail.ApiClient, fqn string) (*VirtualIp, error)

func VirtualIpByUuid

func VirtualIpByUuid(c contrail.ApiClient, uuid string) (*VirtualIp, error)

func (*VirtualIp) AddLoadbalancerPool

func (obj *VirtualIp) AddLoadbalancerPool(
	rhs *LoadbalancerPool) error

func (*VirtualIp) AddVirtualMachineInterface

func (obj *VirtualIp) AddVirtualMachineInterface(
	rhs *VirtualMachineInterface) error

func (*VirtualIp) ClearLoadbalancerPool

func (obj *VirtualIp) ClearLoadbalancerPool()

func (*VirtualIp) ClearVirtualMachineInterface

func (obj *VirtualIp) ClearVirtualMachineInterface()

func (*VirtualIp) DeleteLoadbalancerPool

func (obj *VirtualIp) DeleteLoadbalancerPool(uuid string) error

func (*VirtualIp) DeleteVirtualMachineInterface

func (obj *VirtualIp) DeleteVirtualMachineInterface(uuid string) error

func (*VirtualIp) GetDefaultParent

func (obj *VirtualIp) GetDefaultParent() []string

func (*VirtualIp) GetDefaultParentType

func (obj *VirtualIp) GetDefaultParentType() string

func (*VirtualIp) GetDisplayName

func (obj *VirtualIp) GetDisplayName() string

func (*VirtualIp) GetIdPerms

func (obj *VirtualIp) GetIdPerms() IdPermsType

func (*VirtualIp) GetLoadbalancerPoolRefs

func (obj *VirtualIp) GetLoadbalancerPoolRefs() (
	contrail.ReferenceList, error)

func (*VirtualIp) GetType

func (obj *VirtualIp) GetType() string

func (*VirtualIp) GetVirtualIpProperties

func (obj *VirtualIp) GetVirtualIpProperties() VirtualIpType

func (*VirtualIp) GetVirtualMachineInterfaceRefs

func (obj *VirtualIp) GetVirtualMachineInterfaceRefs() (
	contrail.ReferenceList, error)

func (*VirtualIp) MarshalJSON

func (obj *VirtualIp) MarshalJSON() ([]byte, error)

func (*VirtualIp) SetDisplayName

func (obj *VirtualIp) SetDisplayName(value string)

func (*VirtualIp) SetIdPerms

func (obj *VirtualIp) SetIdPerms(value *IdPermsType)

func (*VirtualIp) SetLoadbalancerPoolList

func (obj *VirtualIp) SetLoadbalancerPoolList(
	refList []contrail.ReferencePair)

func (*VirtualIp) SetName

func (obj *VirtualIp) SetName(name string)

func (*VirtualIp) SetParent

func (obj *VirtualIp) SetParent(parent contrail.IObject)

func (*VirtualIp) SetVirtualIpProperties

func (obj *VirtualIp) SetVirtualIpProperties(value *VirtualIpType)

func (*VirtualIp) SetVirtualMachineInterfaceList

func (obj *VirtualIp) SetVirtualMachineInterfaceList(
	refList []contrail.ReferencePair)

func (*VirtualIp) UnmarshalJSON

func (obj *VirtualIp) UnmarshalJSON(body []byte) error

func (*VirtualIp) UpdateDone

func (obj *VirtualIp) UpdateDone()

func (*VirtualIp) UpdateObject

func (obj *VirtualIp) UpdateObject() ([]byte, error)

func (*VirtualIp) UpdateReferences

func (obj *VirtualIp) UpdateReferences() error

type VirtualIpType

type VirtualIpType struct {
	Address               string `json:"address,omitempty"`
	Status                string `json:"status,omitempty"`
	StatusDescription     string `json:"status_description,omitempty"`
	AdminState            bool   `json:"admin_state,omitempty"`
	Protocol              string `json:"protocol,omitempty"`
	ProtocolPort          int    `json:"protocol_port,omitempty"`
	ConnectionLimit       int    `json:"connection_limit,omitempty"`
	SubnetId              string `json:"subnet_id,omitempty"`
	PersistenceCookieName string `json:"persistence_cookie_name,omitempty"`
	PersistenceType       string `json:"persistence_type,omitempty"`
}

type VirtualMachine

type VirtualMachine struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func VirtualMachineByName

func VirtualMachineByName(c contrail.ApiClient, fqn string) (*VirtualMachine, error)

func VirtualMachineByUuid

func VirtualMachineByUuid(c contrail.ApiClient, uuid string) (*VirtualMachine, error)

func (*VirtualMachine) AddServiceInstance

func (obj *VirtualMachine) AddServiceInstance(
	rhs *ServiceInstance) error

func (*VirtualMachine) ClearServiceInstance

func (obj *VirtualMachine) ClearServiceInstance()

func (*VirtualMachine) DeleteServiceInstance

func (obj *VirtualMachine) DeleteServiceInstance(uuid string) error

func (*VirtualMachine) GetDefaultParent

func (obj *VirtualMachine) GetDefaultParent() []string

func (*VirtualMachine) GetDefaultParentType

func (obj *VirtualMachine) GetDefaultParentType() string

func (*VirtualMachine) GetDisplayName

func (obj *VirtualMachine) GetDisplayName() string

func (*VirtualMachine) GetIdPerms

func (obj *VirtualMachine) GetIdPerms() IdPermsType

func (*VirtualMachine) GetServiceInstanceRefs

func (obj *VirtualMachine) GetServiceInstanceRefs() (
	contrail.ReferenceList, error)

func (*VirtualMachine) GetType

func (obj *VirtualMachine) GetType() string

func (*VirtualMachine) GetVirtualMachineInterfaceBackRefs

func (obj *VirtualMachine) GetVirtualMachineInterfaceBackRefs() (
	contrail.ReferenceList, error)

func (*VirtualMachine) GetVirtualMachineInterfaces

func (obj *VirtualMachine) GetVirtualMachineInterfaces() (
	contrail.ReferenceList, error)

func (*VirtualMachine) GetVirtualRouterBackRefs

func (obj *VirtualMachine) GetVirtualRouterBackRefs() (
	contrail.ReferenceList, error)

func (*VirtualMachine) MarshalJSON

func (obj *VirtualMachine) MarshalJSON() ([]byte, error)

func (*VirtualMachine) SetDisplayName

func (obj *VirtualMachine) SetDisplayName(value string)

func (*VirtualMachine) SetIdPerms

func (obj *VirtualMachine) SetIdPerms(value *IdPermsType)

func (*VirtualMachine) SetName

func (obj *VirtualMachine) SetName(name string)

func (*VirtualMachine) SetParent

func (obj *VirtualMachine) SetParent(parent contrail.IObject)

func (*VirtualMachine) SetServiceInstanceList

func (obj *VirtualMachine) SetServiceInstanceList(
	refList []contrail.ReferencePair)

func (*VirtualMachine) UnmarshalJSON

func (obj *VirtualMachine) UnmarshalJSON(body []byte) error

func (*VirtualMachine) UpdateDone

func (obj *VirtualMachine) UpdateDone()

func (*VirtualMachine) UpdateObject

func (obj *VirtualMachine) UpdateObject() ([]byte, error)

func (*VirtualMachine) UpdateReferences

func (obj *VirtualMachine) UpdateReferences() error

type VirtualMachineInterface

type VirtualMachineInterface struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func VirtualMachineInterfaceByName

func VirtualMachineInterfaceByName(c contrail.ApiClient, fqn string) (*VirtualMachineInterface, error)

func VirtualMachineInterfaceByUuid

func VirtualMachineInterfaceByUuid(c contrail.ApiClient, uuid string) (*VirtualMachineInterface, error)

func (*VirtualMachineInterface) AddInterfaceRouteTable

func (obj *VirtualMachineInterface) AddInterfaceRouteTable(
	rhs *InterfaceRouteTable) error

func (*VirtualMachineInterface) AddQosForwardingClass

func (obj *VirtualMachineInterface) AddQosForwardingClass(
	rhs *QosForwardingClass) error

func (*VirtualMachineInterface) AddRoutingInstance

func (obj *VirtualMachineInterface) AddRoutingInstance(
	rhs *RoutingInstance, data PolicyBasedForwardingRuleType) error

func (*VirtualMachineInterface) AddSecurityGroup

func (obj *VirtualMachineInterface) AddSecurityGroup(
	rhs *SecurityGroup) error

func (*VirtualMachineInterface) AddVirtualMachine

func (obj *VirtualMachineInterface) AddVirtualMachine(
	rhs *VirtualMachine) error

func (*VirtualMachineInterface) AddVirtualMachineInterface

func (obj *VirtualMachineInterface) AddVirtualMachineInterface(
	rhs *VirtualMachineInterface) error

func (*VirtualMachineInterface) AddVirtualNetwork

func (obj *VirtualMachineInterface) AddVirtualNetwork(
	rhs *VirtualNetwork) error

func (*VirtualMachineInterface) ClearInterfaceRouteTable

func (obj *VirtualMachineInterface) ClearInterfaceRouteTable()

func (*VirtualMachineInterface) ClearQosForwardingClass

func (obj *VirtualMachineInterface) ClearQosForwardingClass()

func (*VirtualMachineInterface) ClearRoutingInstance

func (obj *VirtualMachineInterface) ClearRoutingInstance()

func (*VirtualMachineInterface) ClearSecurityGroup

func (obj *VirtualMachineInterface) ClearSecurityGroup()

func (*VirtualMachineInterface) ClearVirtualMachine

func (obj *VirtualMachineInterface) ClearVirtualMachine()

func (*VirtualMachineInterface) ClearVirtualMachineInterface

func (obj *VirtualMachineInterface) ClearVirtualMachineInterface()

func (*VirtualMachineInterface) ClearVirtualNetwork

func (obj *VirtualMachineInterface) ClearVirtualNetwork()

func (*VirtualMachineInterface) DeleteInterfaceRouteTable

func (obj *VirtualMachineInterface) DeleteInterfaceRouteTable(uuid string) error

func (*VirtualMachineInterface) DeleteQosForwardingClass

func (obj *VirtualMachineInterface) DeleteQosForwardingClass(uuid string) error

func (*VirtualMachineInterface) DeleteRoutingInstance

func (obj *VirtualMachineInterface) DeleteRoutingInstance(uuid string) error

func (*VirtualMachineInterface) DeleteSecurityGroup

func (obj *VirtualMachineInterface) DeleteSecurityGroup(uuid string) error

func (*VirtualMachineInterface) DeleteVirtualMachine

func (obj *VirtualMachineInterface) DeleteVirtualMachine(uuid string) error

func (*VirtualMachineInterface) DeleteVirtualMachineInterface

func (obj *VirtualMachineInterface) DeleteVirtualMachineInterface(uuid string) error

func (*VirtualMachineInterface) DeleteVirtualNetwork

func (obj *VirtualMachineInterface) DeleteVirtualNetwork(uuid string) error

func (*VirtualMachineInterface) GetCustomerAttachmentBackRefs

func (obj *VirtualMachineInterface) GetCustomerAttachmentBackRefs() (
	contrail.ReferenceList, error)

func (*VirtualMachineInterface) GetDefaultParent

func (obj *VirtualMachineInterface) GetDefaultParent() []string

func (*VirtualMachineInterface) GetDefaultParentType

func (obj *VirtualMachineInterface) GetDefaultParentType() string

func (*VirtualMachineInterface) GetDisplayName

func (obj *VirtualMachineInterface) GetDisplayName() string

func (*VirtualMachineInterface) GetFloatingIpBackRefs

func (obj *VirtualMachineInterface) GetFloatingIpBackRefs() (
	contrail.ReferenceList, error)

func (*VirtualMachineInterface) GetIdPerms

func (obj *VirtualMachineInterface) GetIdPerms() IdPermsType

func (*VirtualMachineInterface) GetInstanceIpBackRefs

func (obj *VirtualMachineInterface) GetInstanceIpBackRefs() (
	contrail.ReferenceList, error)

func (*VirtualMachineInterface) GetInterfaceRouteTableRefs

func (obj *VirtualMachineInterface) GetInterfaceRouteTableRefs() (
	contrail.ReferenceList, error)

func (*VirtualMachineInterface) GetLoadbalancerPoolBackRefs

func (obj *VirtualMachineInterface) GetLoadbalancerPoolBackRefs() (
	contrail.ReferenceList, error)

func (*VirtualMachineInterface) GetLogicalInterfaceBackRefs

func (obj *VirtualMachineInterface) GetLogicalInterfaceBackRefs() (
	contrail.ReferenceList, error)

func (*VirtualMachineInterface) GetLogicalRouterBackRefs

func (obj *VirtualMachineInterface) GetLogicalRouterBackRefs() (
	contrail.ReferenceList, error)

func (*VirtualMachineInterface) GetQosForwardingClassRefs

func (obj *VirtualMachineInterface) GetQosForwardingClassRefs() (
	contrail.ReferenceList, error)

func (*VirtualMachineInterface) GetRoutingInstanceRefs

func (obj *VirtualMachineInterface) GetRoutingInstanceRefs() (
	contrail.ReferenceList, error)

func (*VirtualMachineInterface) GetSecurityGroupRefs

func (obj *VirtualMachineInterface) GetSecurityGroupRefs() (
	contrail.ReferenceList, error)

func (*VirtualMachineInterface) GetSubnetBackRefs

func (obj *VirtualMachineInterface) GetSubnetBackRefs() (
	contrail.ReferenceList, error)

func (*VirtualMachineInterface) GetType

func (obj *VirtualMachineInterface) GetType() string

func (*VirtualMachineInterface) GetVirtualIpBackRefs

func (obj *VirtualMachineInterface) GetVirtualIpBackRefs() (
	contrail.ReferenceList, error)

func (*VirtualMachineInterface) GetVirtualMachineInterfaceAllowedAddressPairs

func (obj *VirtualMachineInterface) GetVirtualMachineInterfaceAllowedAddressPairs() AllowedAddressPairs

func (*VirtualMachineInterface) GetVirtualMachineInterfaceBackRefs

func (obj *VirtualMachineInterface) GetVirtualMachineInterfaceBackRefs() (
	contrail.ReferenceList, error)

func (*VirtualMachineInterface) GetVirtualMachineInterfaceDeviceOwner

func (obj *VirtualMachineInterface) GetVirtualMachineInterfaceDeviceOwner() string

func (*VirtualMachineInterface) GetVirtualMachineInterfaceDhcpOptionList

func (obj *VirtualMachineInterface) GetVirtualMachineInterfaceDhcpOptionList() DhcpOptionsListType

func (*VirtualMachineInterface) GetVirtualMachineInterfaceFatFlowProtocols

func (obj *VirtualMachineInterface) GetVirtualMachineInterfaceFatFlowProtocols() FatFlowProtocols

func (*VirtualMachineInterface) GetVirtualMachineInterfaceHostRoutes

func (obj *VirtualMachineInterface) GetVirtualMachineInterfaceHostRoutes() RouteTableType

func (*VirtualMachineInterface) GetVirtualMachineInterfaceMacAddresses

func (obj *VirtualMachineInterface) GetVirtualMachineInterfaceMacAddresses() MacAddressesType

func (*VirtualMachineInterface) GetVirtualMachineInterfaceProperties

func (obj *VirtualMachineInterface) GetVirtualMachineInterfaceProperties() VirtualMachineInterfacePropertiesType

func (*VirtualMachineInterface) GetVirtualMachineInterfaceRefs

func (obj *VirtualMachineInterface) GetVirtualMachineInterfaceRefs() (
	contrail.ReferenceList, error)

func (*VirtualMachineInterface) GetVirtualMachineRefs

func (obj *VirtualMachineInterface) GetVirtualMachineRefs() (
	contrail.ReferenceList, error)

func (*VirtualMachineInterface) GetVirtualNetworkRefs

func (obj *VirtualMachineInterface) GetVirtualNetworkRefs() (
	contrail.ReferenceList, error)

func (*VirtualMachineInterface) GetVrfAssignTable

func (obj *VirtualMachineInterface) GetVrfAssignTable() VrfAssignTableType

func (*VirtualMachineInterface) MarshalJSON

func (obj *VirtualMachineInterface) MarshalJSON() ([]byte, error)

func (*VirtualMachineInterface) SetDisplayName

func (obj *VirtualMachineInterface) SetDisplayName(value string)

func (*VirtualMachineInterface) SetIdPerms

func (obj *VirtualMachineInterface) SetIdPerms(value *IdPermsType)

func (*VirtualMachineInterface) SetInterfaceRouteTableList

func (obj *VirtualMachineInterface) SetInterfaceRouteTableList(
	refList []contrail.ReferencePair)

func (*VirtualMachineInterface) SetName

func (obj *VirtualMachineInterface) SetName(name string)

func (*VirtualMachineInterface) SetParent

func (obj *VirtualMachineInterface) SetParent(parent contrail.IObject)

func (*VirtualMachineInterface) SetQosForwardingClassList

func (obj *VirtualMachineInterface) SetQosForwardingClassList(
	refList []contrail.ReferencePair)

func (*VirtualMachineInterface) SetRoutingInstanceList

func (obj *VirtualMachineInterface) SetRoutingInstanceList(
	refList []contrail.ReferencePair)

func (*VirtualMachineInterface) SetSecurityGroupList

func (obj *VirtualMachineInterface) SetSecurityGroupList(
	refList []contrail.ReferencePair)

func (*VirtualMachineInterface) SetVirtualMachineInterfaceAllowedAddressPairs

func (obj *VirtualMachineInterface) SetVirtualMachineInterfaceAllowedAddressPairs(value *AllowedAddressPairs)

func (*VirtualMachineInterface) SetVirtualMachineInterfaceDeviceOwner

func (obj *VirtualMachineInterface) SetVirtualMachineInterfaceDeviceOwner(value string)

func (*VirtualMachineInterface) SetVirtualMachineInterfaceDhcpOptionList

func (obj *VirtualMachineInterface) SetVirtualMachineInterfaceDhcpOptionList(value *DhcpOptionsListType)

func (*VirtualMachineInterface) SetVirtualMachineInterfaceFatFlowProtocols

func (obj *VirtualMachineInterface) SetVirtualMachineInterfaceFatFlowProtocols(value *FatFlowProtocols)

func (*VirtualMachineInterface) SetVirtualMachineInterfaceHostRoutes

func (obj *VirtualMachineInterface) SetVirtualMachineInterfaceHostRoutes(value *RouteTableType)

func (*VirtualMachineInterface) SetVirtualMachineInterfaceList

func (obj *VirtualMachineInterface) SetVirtualMachineInterfaceList(
	refList []contrail.ReferencePair)

func (*VirtualMachineInterface) SetVirtualMachineInterfaceMacAddresses

func (obj *VirtualMachineInterface) SetVirtualMachineInterfaceMacAddresses(value *MacAddressesType)

func (*VirtualMachineInterface) SetVirtualMachineInterfaceProperties

func (obj *VirtualMachineInterface) SetVirtualMachineInterfaceProperties(value *VirtualMachineInterfacePropertiesType)

func (*VirtualMachineInterface) SetVirtualMachineList

func (obj *VirtualMachineInterface) SetVirtualMachineList(
	refList []contrail.ReferencePair)

func (*VirtualMachineInterface) SetVirtualNetworkList

func (obj *VirtualMachineInterface) SetVirtualNetworkList(
	refList []contrail.ReferencePair)

func (*VirtualMachineInterface) SetVrfAssignTable

func (obj *VirtualMachineInterface) SetVrfAssignTable(value *VrfAssignTableType)

func (*VirtualMachineInterface) UnmarshalJSON

func (obj *VirtualMachineInterface) UnmarshalJSON(body []byte) error

func (*VirtualMachineInterface) UpdateDone

func (obj *VirtualMachineInterface) UpdateDone()

func (*VirtualMachineInterface) UpdateObject

func (obj *VirtualMachineInterface) UpdateObject() ([]byte, error)

func (*VirtualMachineInterface) UpdateReferences

func (obj *VirtualMachineInterface) UpdateReferences() error

type VirtualMachineInterfacePropertiesType

type VirtualMachineInterfacePropertiesType struct {
	ServiceInterfaceType string               `json:"service_interface_type,omitempty"`
	InterfaceMirror      *InterfaceMirrorType `json:"interface_mirror,omitempty"`
	LocalPreference      int                  `json:"local_preference,omitempty"`
	SubInterfaceVlanTag  int                  `json:"sub_interface_vlan_tag,omitempty"`
}

type VirtualNetwork

type VirtualNetwork struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func VirtualNetworkByName

func VirtualNetworkByName(c contrail.ApiClient, fqn string) (*VirtualNetwork, error)

func VirtualNetworkByUuid

func VirtualNetworkByUuid(c contrail.ApiClient, uuid string) (*VirtualNetwork, error)

func (*VirtualNetwork) AddNetworkIpam

func (obj *VirtualNetwork) AddNetworkIpam(
	rhs *NetworkIpam, data VnSubnetsType) error

func (*VirtualNetwork) AddNetworkPolicy

func (obj *VirtualNetwork) AddNetworkPolicy(
	rhs *NetworkPolicy, data VirtualNetworkPolicyType) error

func (*VirtualNetwork) AddQosForwardingClass

func (obj *VirtualNetwork) AddQosForwardingClass(
	rhs *QosForwardingClass) error

func (*VirtualNetwork) AddRouteTable

func (obj *VirtualNetwork) AddRouteTable(
	rhs *RouteTable) error

func (*VirtualNetwork) ClearNetworkIpam

func (obj *VirtualNetwork) ClearNetworkIpam()

func (*VirtualNetwork) ClearNetworkPolicy

func (obj *VirtualNetwork) ClearNetworkPolicy()

func (*VirtualNetwork) ClearQosForwardingClass

func (obj *VirtualNetwork) ClearQosForwardingClass()

func (*VirtualNetwork) ClearRouteTable

func (obj *VirtualNetwork) ClearRouteTable()

func (*VirtualNetwork) DeleteNetworkIpam

func (obj *VirtualNetwork) DeleteNetworkIpam(uuid string) error

func (*VirtualNetwork) DeleteNetworkPolicy

func (obj *VirtualNetwork) DeleteNetworkPolicy(uuid string) error

func (*VirtualNetwork) DeleteQosForwardingClass

func (obj *VirtualNetwork) DeleteQosForwardingClass(uuid string) error

func (*VirtualNetwork) DeleteRouteTable

func (obj *VirtualNetwork) DeleteRouteTable(uuid string) error

func (*VirtualNetwork) GetAccessControlLists

func (obj *VirtualNetwork) GetAccessControlLists() (
	contrail.ReferenceList, error)

func (*VirtualNetwork) GetDefaultParent

func (obj *VirtualNetwork) GetDefaultParent() []string

func (*VirtualNetwork) GetDefaultParentType

func (obj *VirtualNetwork) GetDefaultParentType() string

func (*VirtualNetwork) GetDisplayName

func (obj *VirtualNetwork) GetDisplayName() string

func (*VirtualNetwork) GetExternalIpam

func (obj *VirtualNetwork) GetExternalIpam() bool

func (*VirtualNetwork) GetFloatingIpPools

func (obj *VirtualNetwork) GetFloatingIpPools() (
	contrail.ReferenceList, error)

func (*VirtualNetwork) GetFloodUnknownUnicast

func (obj *VirtualNetwork) GetFloodUnknownUnicast() bool

func (*VirtualNetwork) GetIdPerms

func (obj *VirtualNetwork) GetIdPerms() IdPermsType

func (*VirtualNetwork) GetInstanceIpBackRefs

func (obj *VirtualNetwork) GetInstanceIpBackRefs() (
	contrail.ReferenceList, error)

func (*VirtualNetwork) GetIsShared

func (obj *VirtualNetwork) GetIsShared() bool

func (*VirtualNetwork) GetLogicalRouterBackRefs

func (obj *VirtualNetwork) GetLogicalRouterBackRefs() (
	contrail.ReferenceList, error)

func (*VirtualNetwork) GetNetworkIpamRefs

func (obj *VirtualNetwork) GetNetworkIpamRefs() (
	contrail.ReferenceList, error)

func (*VirtualNetwork) GetNetworkPolicyRefs

func (obj *VirtualNetwork) GetNetworkPolicyRefs() (
	contrail.ReferenceList, error)

func (*VirtualNetwork) GetPhysicalRouterBackRefs

func (obj *VirtualNetwork) GetPhysicalRouterBackRefs() (
	contrail.ReferenceList, error)

func (*VirtualNetwork) GetQosForwardingClassRefs

func (obj *VirtualNetwork) GetQosForwardingClassRefs() (
	contrail.ReferenceList, error)

func (*VirtualNetwork) GetRouteTableRefs

func (obj *VirtualNetwork) GetRouteTableRefs() (
	contrail.ReferenceList, error)

func (*VirtualNetwork) GetRouteTargetList

func (obj *VirtualNetwork) GetRouteTargetList() RouteTargetList

func (*VirtualNetwork) GetRouterExternal

func (obj *VirtualNetwork) GetRouterExternal() bool

func (*VirtualNetwork) GetRoutingInstances

func (obj *VirtualNetwork) GetRoutingInstances() (
	contrail.ReferenceList, error)

func (*VirtualNetwork) GetType

func (obj *VirtualNetwork) GetType() string

func (*VirtualNetwork) GetVirtualMachineInterfaceBackRefs

func (obj *VirtualNetwork) GetVirtualMachineInterfaceBackRefs() (
	contrail.ReferenceList, error)

func (*VirtualNetwork) GetVirtualNetworkNetworkId

func (obj *VirtualNetwork) GetVirtualNetworkNetworkId() int

func (*VirtualNetwork) GetVirtualNetworkProperties

func (obj *VirtualNetwork) GetVirtualNetworkProperties() VirtualNetworkType

func (*VirtualNetwork) MarshalJSON

func (obj *VirtualNetwork) MarshalJSON() ([]byte, error)

func (*VirtualNetwork) SetDisplayName

func (obj *VirtualNetwork) SetDisplayName(value string)

func (*VirtualNetwork) SetExternalIpam

func (obj *VirtualNetwork) SetExternalIpam(value bool)

func (*VirtualNetwork) SetFloodUnknownUnicast

func (obj *VirtualNetwork) SetFloodUnknownUnicast(value bool)

func (*VirtualNetwork) SetIdPerms

func (obj *VirtualNetwork) SetIdPerms(value *IdPermsType)

func (*VirtualNetwork) SetIsShared

func (obj *VirtualNetwork) SetIsShared(value bool)

func (*VirtualNetwork) SetName

func (obj *VirtualNetwork) SetName(name string)

func (*VirtualNetwork) SetNetworkIpamList

func (obj *VirtualNetwork) SetNetworkIpamList(
	refList []contrail.ReferencePair)

func (*VirtualNetwork) SetNetworkPolicyList

func (obj *VirtualNetwork) SetNetworkPolicyList(
	refList []contrail.ReferencePair)

func (*VirtualNetwork) SetParent

func (obj *VirtualNetwork) SetParent(parent contrail.IObject)

func (*VirtualNetwork) SetQosForwardingClassList

func (obj *VirtualNetwork) SetQosForwardingClassList(
	refList []contrail.ReferencePair)

func (*VirtualNetwork) SetRouteTableList

func (obj *VirtualNetwork) SetRouteTableList(
	refList []contrail.ReferencePair)

func (*VirtualNetwork) SetRouteTargetList

func (obj *VirtualNetwork) SetRouteTargetList(value *RouteTargetList)

func (*VirtualNetwork) SetRouterExternal

func (obj *VirtualNetwork) SetRouterExternal(value bool)

func (*VirtualNetwork) SetVirtualNetworkNetworkId

func (obj *VirtualNetwork) SetVirtualNetworkNetworkId(value int)

func (*VirtualNetwork) SetVirtualNetworkProperties

func (obj *VirtualNetwork) SetVirtualNetworkProperties(value *VirtualNetworkType)

func (*VirtualNetwork) UnmarshalJSON

func (obj *VirtualNetwork) UnmarshalJSON(body []byte) error

func (*VirtualNetwork) UpdateDone

func (obj *VirtualNetwork) UpdateDone()

func (*VirtualNetwork) UpdateObject

func (obj *VirtualNetwork) UpdateObject() ([]byte, error)

func (*VirtualNetwork) UpdateReferences

func (obj *VirtualNetwork) UpdateReferences() error

type VirtualNetworkPolicyType

type VirtualNetworkPolicyType struct {
	Sequence *SequenceType `json:"sequence,omitempty"`
	Timer    *TimerType    `json:"timer,omitempty"`
}

type VirtualNetworkType

type VirtualNetworkType struct {
	AllowTransit           bool   `json:"allow_transit,omitempty"`
	NetworkId              int    `json:"network_id,omitempty"`
	VxlanNetworkIdentifier int    `json:"vxlan_network_identifier,omitempty"`
	ForwardingMode         string `json:"forwarding_mode,omitempty"`
	Rpf                    string `json:"rpf,omitempty"`
}

type VirtualRouter

type VirtualRouter struct {
	contrail.ObjectBase
	// contains filtered or unexported fields
}

func VirtualRouterByName

func VirtualRouterByName(c contrail.ApiClient, fqn string) (*VirtualRouter, error)

func VirtualRouterByUuid

func VirtualRouterByUuid(c contrail.ApiClient, uuid string) (*VirtualRouter, error)

func (*VirtualRouter) AddBgpRouter

func (obj *VirtualRouter) AddBgpRouter(
	rhs *BgpRouter) error

func (*VirtualRouter) AddVirtualMachine

func (obj *VirtualRouter) AddVirtualMachine(
	rhs *VirtualMachine) error

func (*VirtualRouter) ClearBgpRouter

func (obj *VirtualRouter) ClearBgpRouter()

func (*VirtualRouter) ClearVirtualMachine

func (obj *VirtualRouter) ClearVirtualMachine()

func (*VirtualRouter) DeleteBgpRouter

func (obj *VirtualRouter) DeleteBgpRouter(uuid string) error

func (*VirtualRouter) DeleteVirtualMachine

func (obj *VirtualRouter) DeleteVirtualMachine(uuid string) error

func (*VirtualRouter) GetBgpRouterRefs

func (obj *VirtualRouter) GetBgpRouterRefs() (
	contrail.ReferenceList, error)

func (*VirtualRouter) GetDefaultParent

func (obj *VirtualRouter) GetDefaultParent() []string

func (*VirtualRouter) GetDefaultParentType

func (obj *VirtualRouter) GetDefaultParentType() string

func (*VirtualRouter) GetDisplayName

func (obj *VirtualRouter) GetDisplayName() string

func (*VirtualRouter) GetIdPerms

func (obj *VirtualRouter) GetIdPerms() IdPermsType

func (*VirtualRouter) GetPhysicalRouterBackRefs

func (obj *VirtualRouter) GetPhysicalRouterBackRefs() (
	contrail.ReferenceList, error)

func (*VirtualRouter) GetProviderAttachmentBackRefs

func (obj *VirtualRouter) GetProviderAttachmentBackRefs() (
	contrail.ReferenceList, error)

func (*VirtualRouter) GetType

func (obj *VirtualRouter) GetType() string

func (*VirtualRouter) GetVirtualMachineRefs

func (obj *VirtualRouter) GetVirtualMachineRefs() (
	contrail.ReferenceList, error)

func (*VirtualRouter) GetVirtualRouterIpAddress

func (obj *VirtualRouter) GetVirtualRouterIpAddress() string

func (*VirtualRouter) GetVirtualRouterType

func (obj *VirtualRouter) GetVirtualRouterType() string

func (*VirtualRouter) MarshalJSON

func (obj *VirtualRouter) MarshalJSON() ([]byte, error)

func (*VirtualRouter) SetBgpRouterList

func (obj *VirtualRouter) SetBgpRouterList(
	refList []contrail.ReferencePair)

func (*VirtualRouter) SetDisplayName

func (obj *VirtualRouter) SetDisplayName(value string)

func (*VirtualRouter) SetIdPerms

func (obj *VirtualRouter) SetIdPerms(value *IdPermsType)

func (*VirtualRouter) SetName

func (obj *VirtualRouter) SetName(name string)

func (*VirtualRouter) SetParent

func (obj *VirtualRouter) SetParent(parent contrail.IObject)

func (*VirtualRouter) SetVirtualMachineList

func (obj *VirtualRouter) SetVirtualMachineList(
	refList []contrail.ReferencePair)

func (*VirtualRouter) SetVirtualRouterIpAddress

func (obj *VirtualRouter) SetVirtualRouterIpAddress(value string)

func (*VirtualRouter) SetVirtualRouterType

func (obj *VirtualRouter) SetVirtualRouterType(value string)

func (*VirtualRouter) UnmarshalJSON

func (obj *VirtualRouter) UnmarshalJSON(body []byte) error

func (*VirtualRouter) UpdateDone

func (obj *VirtualRouter) UpdateDone()

func (*VirtualRouter) UpdateObject

func (obj *VirtualRouter) UpdateObject() ([]byte, error)

func (*VirtualRouter) UpdateReferences

func (obj *VirtualRouter) UpdateReferences() error

type VnSubnetsType

type VnSubnetsType struct {
	IpamSubnets []IpamSubnetType `json:"ipam_subnets,omitempty"`
	HostRoutes  *RouteTableType  `json:"host_routes,omitempty"`
}

func (*VnSubnetsType) AddIpamSubnets

func (obj *VnSubnetsType) AddIpamSubnets(value *IpamSubnetType)

type VrfAssignRuleType

type VrfAssignRuleType struct {
	MatchCondition  *MatchConditionType `json:"match_condition,omitempty"`
	VlanTag         int                 `json:"vlan_tag,omitempty"`
	RoutingInstance string              `json:"routing_instance,omitempty"`
	IgnoreAcl       bool                `json:"ignore_acl,omitempty"`
}

type VrfAssignTableType

type VrfAssignTableType struct {
	VrfAssignRule []VrfAssignRuleType `json:"vrf_assign_rule,omitempty"`
}

func (*VrfAssignTableType) AddVrfAssignRule

func (obj *VrfAssignTableType) AddVrfAssignRule(value *VrfAssignRuleType)

Source Files

Jump to

Keyboard shortcuts

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