2018-03-19 18:57:30 -04:00
|
|
|
package hcsshim
|
|
|
|
|
2018-09-05 13:35:51 -04:00
|
|
|
import (
|
|
|
|
"github.com/Microsoft/hcsshim/internal/hns"
|
|
|
|
)
|
|
|
|
|
2018-03-19 18:57:30 -04:00
|
|
|
// Type of Request Support in ModifySystem
|
2018-09-05 13:35:51 -04:00
|
|
|
type PolicyType = hns.PolicyType
|
2018-03-19 18:57:30 -04:00
|
|
|
|
|
|
|
// RequestType const
|
|
|
|
const (
|
2018-09-05 13:35:51 -04:00
|
|
|
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
|
2018-03-19 18:57:30 -04:00
|
|
|
)
|
|
|
|
|
2018-09-05 13:35:51 -04:00
|
|
|
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
|
2018-03-19 18:57:30 -04:00
|
|
|
|
|
|
|
const (
|
2018-09-05 13:35:51 -04:00
|
|
|
Allow = hns.Allow
|
|
|
|
Block = hns.Block
|
2018-03-19 18:57:30 -04:00
|
|
|
|
2018-09-05 13:35:51 -04:00
|
|
|
In = hns.In
|
|
|
|
Out = hns.Out
|
2018-03-19 18:57:30 -04:00
|
|
|
|
2018-09-05 13:35:51 -04:00
|
|
|
Host = hns.Host
|
|
|
|
Switch = hns.Switch
|
2018-03-19 18:57:30 -04:00
|
|
|
)
|
|
|
|
|
2018-09-05 13:35:51 -04:00
|
|
|
type ACLPolicy = hns.ACLPolicy
|
|
|
|
|
|
|
|
type Policy = hns.Policy
|