Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rustymyers/ec23c8ec45fc8306ffea5b2c4e08081a to your computer and use it in GitHub Desktop.
Save rustymyers/ec23c8ec45fc8306ffea5b2c4e08081a to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>dhcp</key>
<dict>
<key>dhcpserverip</key>
<string>128.118.25.14</string>
<key>ipaddress</key>
<string>128.118.108.71</string>
</dict>
<key>bsdp</key>
<array>
<key>server0</key>
<dict>
<key>ip</key>
<string>10.0.1.16</string>
<key>nbis</key>
<array>
<dict>
<key>name</key>
<string>NetbootOne</string>
<key>id</key>
<string>5050</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>name</key>
<string>NetbootTwo</string>
<key>id</key>
<string>5060</string>
<key>default</key>
<true/>
</dict>
</array>
</dict>
<key>server1</key>
<dict>
<key>ip</key>
<string>10.0.1.10</string>
<key>nbis</key>
<array>
<dict>
<key>name</key>
<string>NetbootThree</string>
<key>id</key>
<string>5070</string>
<key>default</key>
<false/>
</dict>
<dict>
<key>name</key>
<string>NetbootFour</string>
<key>id</key>
<string>5080</string>
<key>default</key>
<true/>
</dict>
</array>
</dict>
</array>
</dict>
</plist>
<!--
Q: strings "ip" of dictionaries of values of array "bsdp" of dictionary of file "/tmp/org.network.plist"
A: 10.0.1.16
A: 10.0.1.10
Q: keys of entries of dictionary of values of array "bsdp" of dictionary of file "/tmp/org.network.plist"
A: nbis
A: ip
Q: strings of values of array "bsdp" of dictionary of file "/tmp/org.network.plist"
A: server0
A: server1
Q: keys whose ( it = "nbis") of dictionaries of values of array "bsdp" of dictionary of file "/tmp/org.network.plist"
A: nbis
A: nbis
Q: keys of dictionaries of values of arrays "nbis" of dictionaries of values of array "bsdp" of dictionary of file "/tmp/org.network.plist"
A: default
A: id
A: name
A: default
A: id
A: name
A: default
A: id
A: name
A: default
A: id
A: name
Q: (strings "name" of it, strings "id" of it, booleans "default" of it) of dictionaries of values of arrays "nbis" of dictionaries of values of array "bsdp" of dictionary of file "/tmp/org.network.plist"
A: NetbootOne, 5050, False
A: NetbootTwo, 5060, True
A: NetbootThree, 5070, False
A: NetbootFour, 5080, True
Q: (strings "ip" of it, (strings "name" of it, strings "id" of it, booleans "default" of it) of dictionaries of values of arrays "nbis" of it )of dictionaries of values of array "bsdp" of dictionary of file "/tmp/org.network.plist"
A: 10.0.1.16, ( NetbootOne, 5050, False )
A: 10.0.1.16, ( NetbootTwo, 5060, True )
A: 10.0.1.10, ( NetbootThree, 5070, False )
A: 10.0.1.10, ( NetbootFour, 5080, True )
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment