{
	"description": "Gathering network state",
	"exec" : [
		{
			"description": "Network Device Status",
			"cmd": "ubus call network.device status"
		},
		{
			"description": "Network Interface Dump",
			"cmd": "ubus call network.interface dump"
		},
		{
			"description": "Linux Network Interface Config",
			"cmd": "ifconfig -a"
		},
		{
			"description": "IPv4 Routes",
			"cmd": "ip -d r"
		},
		{
			"description": "IPv6 Routes",
			"cmd": "ip -d -6 r"
		},
		{
			"description": "Neighbor Table",
			"cmd": "ip n"
		},
		{
			"description": "ARP Table",
			"cmd": "cat /proc/net/arp"
		},
		{
			"description": "Conntrack Table",
			"cmd": "cat /proc/net/nf_conntrack"
		},
		{
			"description": "Network Interface Status",
			"cmd": "ip -d a"
		},
		{
			"description": "IPv4 Firewall Status",
			"cmd": "iptables -xvnL"
		},
		{
			"description": "IPv6 Firewall Status",
			"cmd": "ip6tables -xvnL"
		},
		{
			"description": "Bridge Info",
			"cmd": "brctl show"
		},
		{
			"description": "Bridge Link",
			"cmd": "bridge link"
		},
		{
			"description": "Bridge VLAN",
			"cmd": "bridge vlan"
		},
		{
			"description": "Bridge FDB",
			"cmd": "bridge fdb"
		},
		{
			"description": "TCP/UDP/Raw ports/Sockets",
			"cmd": "netstat -anp"
		},
		{
			"description": "MAC layer firewall status list",
			"cmd": "ebtables --concurrent -L"
		},
		{
			"description": "MAC layer firewall status",
			"cmd": "ebtables --concurrent -t broute -L"
		},
		{
			"description": "QoS queue stats",
			"cmd": "ubus call qos queue_stats"
		},
		{
			"description": "IGMP Snooping Table",
			"cmd": "ubus call mcast stats"
		},
		{
			"description": "DHCP Leases",
			"cmd": "cat /tmp/dhcp.leases"
		},
		{
			"description": "DHCP Leases Options",
			"cmd": "cat /tmp/dhcp.client.options",
			"dependency": [
				{
					"type": "file",
					"file": "/tmp/dhcp.client.options"
				}
			]
		},
		{
			"description": "Firewall fw3 reload status",
			"cmd": "cat /var/log/firewall.log",
			"dependency" : [
				{
					"type": "file",
					"file": "/var/log/firewall.log"
				}
			]
		}
	]
}
