This YANG module provides a data model for host ACL data.
Copyright 2019-2020 Rubicon Communications, LLC.
Example URL
Host configuration parameters.
netgate.host.acl.HostConfig
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Host configuration parameters.
netgate.host.acl.HostConfig to be added to list
netgate-host-acl:host-config | object (netgate.host.acl.HostConfig) |
Object created
Internal error
Object already exists
Example URL
Host configuration parameters.
netgate.host.acl.HostConfig to be added or updated
netgate-host-acl:host-config-wrapper | object (netgate.host.acl.HostConfigWrapper) |
Object created
Object modified
Internal error
Example URL
Host configuration parameters.
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Host security configuration parameters.
netgate.host.acl.hostconfig.Security
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Host security configuration parameters.
netgate.host.acl.hostconfig.Security to be added to list
security | object (netgate.host.acl.hostconfig.Security) |
Object created
Internal error
Object already exists
Example URL
Host security configuration parameters.
netgate.host.acl.hostconfig.Security to be added or updated
netgate-host-acl:security-wrapper | object (netgate.host.acl.hostconfig.SecurityWrapper) |
Object created
Object modified
Internal error
Example URL
Host security configuration parameters.
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Host access lists (ACLs).
netgate.host.acl.hostconfig.security.HostAcls
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Host access lists (ACLs).
netgate.host.acl.hostconfig.security.HostAcls to be added to list
host-acls | object (netgate.host.acl.hostconfig.security.HostAcls) |
Object created
Internal error
Object already exists
Example URL
Host access lists (ACLs).
netgate.host.acl.hostconfig.security.HostAcls to be added or updated
netgate-host-acl:host-acls-wrapper | object (netgate.host.acl.hostconfig.security.HostAclsWrapper) |
Object created
Object modified
Internal error
Example URL
Host access lists (ACLs).
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
The list of configured host ACLs.
netgate.host.acl.hostconfig.security.hostacls.HostAcl to be added to list
host-acl | object (netgate.host.acl.hostconfig.security.hostacls.HostAcl) |
Object created
Internal error
Object already exists
Example URL
The list of configured host ACLs.
acl-name required | string Id of host-acl |
netgate.host.acl.hostconfig.security.hostacls.HostAcl
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls/host-acl=%7Bacl-name%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
The list of configured host ACLs.
acl-name required | string Id of host-acl |
netgate.host.acl.hostconfig.security.hostacls.HostAcl to be added or updated
netgate-host-acl:host-acl-wrapper | object (netgate.host.acl.hostconfig.security.hostacls.HostAclWrapper) |
Object created
Object modified
Internal error
Example URL
The list of configured host ACLs.
acl-name required | string Id of host-acl |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls/host-acl=%7Bacl-name%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
The list of the host ACL rules.
acl-name required | string Id of host-acl |
netgate.host.acl.hostconfig.security.hostacls.hostacl.AclRule to be added to list
acl-rule | object (netgate.host.acl.hostconfig.security.hostacls.hostacl.AclRule) |
Object created
Internal error
Object already exists
Example URL
The list of the host ACL rules.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.AclRule
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
The list of the host ACL rules.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.AclRule to be added or updated
netgate-host-acl:acl-rule-wrapper | object (netgate.host.acl.hostconfig.security.hostacls.hostacl.AclRuleWrapper) |
Object created
Object modified
Internal error
Example URL
The list of the host ACL rules.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
The matching packets of the rule.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.PacketMatch
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
The matching packets of the rule.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.PacketMatch to be added to list
packet-match | object (netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.PacketMatch) |
Object created
Internal error
Object already exists
Example URL
The matching packets of the rule.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.PacketMatch to be added or updated
netgate-host-acl:packet-match-wrapper | object (netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.PacketMatchWrapper) |
Object created
Object modified
Internal error
Example URL
The matching packets of the rule.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
IP traffic match.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.Ip
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/ip" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
IP traffic match.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.Ip to be added to list
ip | object (netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.Ip) |
Object created
Internal error
Object already exists
Example URL
IP traffic match.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.Ip to be added or updated
netgate-host-acl:ip-wrapper | object (netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.IpWrapper) |
Object created
Object modified
Internal error
Example URL
IP traffic match.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/ip" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Transport options.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.Transport
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/ip/transport" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Transport options.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.Transport to be added to list
transport | object (netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.Transport) |
Object created
Internal error
Object already exists
Example URL
Transport options.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.Transport to be added or updated
netgate-host-acl:transport-wrapper | object (netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.TransportWrapper) |
Object created
Object modified
Internal error
Example URL
Transport options.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/ip/transport" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
The destination port range.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.DestinationPort
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/ip/transport/destination-port" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
The destination port range.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.DestinationPort to be added to list
destination-port | object (netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.DestinationPort) |
Object created
Internal error
Object already exists
Example URL
The destination port range.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.DestinationPort to be added or updated
netgate-host-acl:destination-port-wrapper | object (netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.DestinationPortWrapper) |
Object created
Object modified
Internal error
Example URL
The destination port range.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/ip/transport/destination-port" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
ICMP options.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.Icmp
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/ip/transport/icmp" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
ICMP options.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.Icmp to be added to list
icmp | object (netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.Icmp) |
Object created
Internal error
Object already exists
Example URL
ICMP options.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.Icmp to be added or updated
netgate-host-acl:icmp-wrapper | object (netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.IcmpWrapper) |
Object created
Object modified
Internal error
Example URL
ICMP options.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/ip/transport/icmp" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
The source port range.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.SourcePort
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/ip/transport/source-port" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
The source port range.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.SourcePort to be added to list
source-port | object (netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.SourcePort) |
Object created
Internal error
Object already exists
Example URL
The source port range.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.SourcePort to be added or updated
netgate-host-acl:source-port-wrapper | object (netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.SourcePortWrapper) |
Object created
Object modified
Internal error
Example URL
The source port range.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/ip/transport/source-port" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
TCP options.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.Tcp
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/ip/transport/tcp" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
TCP options.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.Tcp to be added to list
tcp | object (netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.Tcp) |
Object created
Internal error
Object already exists
Example URL
TCP options.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.Tcp to be added or updated
netgate-host-acl:tcp-wrapper | object (netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.TcpWrapper) |
Object created
Object modified
Internal error
Example URL
TCP options.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/ip/transport/tcp" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
TCP flags.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.tcp.Flags
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/ip/transport/tcp/flags" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
TCP flags.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.tcp.Flags to be added to list
flags | object (netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.tcp.Flags) |
Object created
Internal error
Object already exists
Example URL
TCP flags.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.tcp.Flags to be added or updated
netgate-host-acl:flags-wrapper | object (netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.tcp.FlagsWrapper) |
Object created
Object modified
Internal error
Example URL
TCP flags.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/ip/transport/tcp/flags" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Ethernet traffic match.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.Link
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/link" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Ethernet traffic match.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.Link to be added to list
link | object (netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.Link) |
Object created
Internal error
Object already exists
Example URL
Ethernet traffic match.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.Link to be added or updated
netgate-host-acl:link-wrapper | object (netgate.host.acl.hostconfig.security.hostacls.hostacl.aclrule.packetmatch.LinkWrapper) |
Object created
Object modified
Internal error
Example URL
Ethernet traffic match.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
Object deleted
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-config/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/link" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Host state parameters.
netgate.host.acl.HostState
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-state" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Host security state parameters.
netgate.host.acl.hoststate.Security
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-state/security" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Host access lists (ACLs).
netgate.host.acl.hoststate.security.HostAcls
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-state/security/host-acls" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
The list of configured host ACLs.
acl-name required | string Id of host-acl |
netgate.host.acl.hoststate.security.hostacls.HostAcl
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-state/security/host-acls/host-acl=%7Bacl-name%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
The list of the host ACL rules.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hoststate.security.hostacls.hostacl.AclRule
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-state/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
The matching packets of the rule.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hoststate.security.hostacls.hostacl.aclrule.PacketMatch
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-state/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
IP traffic match.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hoststate.security.hostacls.hostacl.aclrule.packetmatch.Ip
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-state/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/ip" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Transport options.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hoststate.security.hostacls.hostacl.aclrule.packetmatch.ip.Transport
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-state/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/ip/transport" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
The destination port range.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hoststate.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.DestinationPort
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-state/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/ip/transport/destination-port" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
ICMP options.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hoststate.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.Icmp
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-state/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/ip/transport/icmp" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
The source port range.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hoststate.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.SourcePort
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-state/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/ip/transport/source-port" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
TCP options.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hoststate.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.Tcp
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-state/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/ip/transport/tcp" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
TCP flags.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hoststate.security.hostacls.hostacl.aclrule.packetmatch.ip.transport.tcp.Flags
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-state/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/ip/transport/tcp/flags" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
Example URL
Ethernet traffic match.
acl-name required | string Id of host-acl |
rule-seq required | integer <int64> Id of acl-rule |
netgate.host.acl.hoststate.security.hostacls.hostacl.aclrule.packetmatch.Link
Internal error
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://hostname/restconf/data/netgate-host-acl:host-state/security/host-acls/host-acl=%7Bacl-name%7D/acl-rule=%7Brule-seq%7D/packet-match/link" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }