summaryrefslogtreecommitdiff
path: root/vendor/github.com/Microsoft/hcsshim/hnspolicy.go
blob: a3e03ff8fcf899384af85bfc8ee634b1432fc1ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
package hcsshim

import (
	"github.com/Microsoft/hcsshim/internal/hns"
)

// Type of Request Support in ModifySystem
type PolicyType = hns.PolicyType

// RequestType const
const (
	Nat                  = hns.Nat
	ACL                  = hns.ACL
	PA                   = hns.PA
	VLAN                 = hns.VLAN
	VSID                 = hns.VSID
	VNet                 = hns.VNet
	L2Driver             = hns.L2Driver
	Isolation            = hns.Isolation
	QOS                  = hns.QOS
	OutboundNat          = hns.OutboundNat
	ExternalLoadBalancer = hns.ExternalLoadBalancer
	Route                = hns.Route
)

type NatPolicy = hns.NatPolicy

type QosPolicy = hns.QosPolicy

type IsolationPolicy = hns.IsolationPolicy

type VlanPolicy = hns.VlanPolicy

type VsidPolicy = hns.VsidPolicy

type PaPolicy = hns.PaPolicy

type OutboundNatPolicy = hns.OutboundNatPolicy

type ActionType = hns.ActionType
type DirectionType = hns.DirectionType
type RuleType = hns.RuleType

const (
	Allow = hns.Allow
	Block = hns.Block

	In  = hns.In
	Out = hns.Out

	Host   = hns.Host
	Switch = hns.Switch
)

type ACLPolicy = hns.ACLPolicy

type Policy = hns.Policy