Documentation ¶
Index ¶
- type PolicyImplementer
- func (implementer *PolicyImplementer) CompareEgressACLEntries(acl1 *vspk.EgressACLEntryTemplate, acl2 *vspk.EgressACLEntryTemplate) int
- func (implementer *PolicyImplementer) CompareIngressACLEntries(acl1 *vspk.IngressACLEntryTemplate, acl2 *vspk.IngressACLEntryTemplate) int
- func (implementer *PolicyImplementer) DeletePolicy(policyID string, enterpriseName string, domainName string) error
- func (implementer *PolicyImplementer) ImplementPolicy(policy *policies.NuagePolicy) error
- func (implementer *PolicyImplementer) Init(vsdCredentials *VSDCredentials) error
- func (implementer *PolicyImplementer) UpdatePolicy(policy *policies.NuagePolicy, op policies.PolicyUpdateOperation) error
- type VSDCredentials
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyImplementer ¶
type PolicyImplementer struct {
// contains filtered or unexported fields
}
PolicyImplementer is used to implement a Nuage Policy
func (*PolicyImplementer) CompareEgressACLEntries ¶
func (implementer *PolicyImplementer) CompareEgressACLEntries(acl1 *vspk.EgressACLEntryTemplate, acl2 *vspk.EgressACLEntryTemplate) int
CompareEgressACLEntries returns 0 is the two ingress ACLs are the same
func (*PolicyImplementer) CompareIngressACLEntries ¶
func (implementer *PolicyImplementer) CompareIngressACLEntries(acl1 *vspk.IngressACLEntryTemplate, acl2 *vspk.IngressACLEntryTemplate) int
CompareIngressACLEntries returns 0 is the two ingress ACLs are the same
func (*PolicyImplementer) DeletePolicy ¶
func (implementer *PolicyImplementer) DeletePolicy(policyID string, enterpriseName string, domainName string) error
DeletePolicy deletes a Nuage policy using the policy ID
func (*PolicyImplementer) ImplementPolicy ¶
func (implementer *PolicyImplementer) ImplementPolicy(policy *policies.NuagePolicy) error
ImplementPolicy implements a Nuage policy
func (*PolicyImplementer) Init ¶
func (implementer *PolicyImplementer) Init(vsdCredentials *VSDCredentials) error
Init initializes the policy implementer and establishes session with VSD
func (*PolicyImplementer) UpdatePolicy ¶
func (implementer *PolicyImplementer) UpdatePolicy(policy *policies.NuagePolicy, op policies.PolicyUpdateOperation) error
UpdatePolicy updates the default policy
type VSDCredentials ¶
VSDCredentials stores information required to establish session with VSD
Click to show internal directories.
Click to hide internal directories.