diff options
author | Jeroen Leenarts <jeroen.leenarts@gmail.com> | 2018-05-26 09:17:36 +0200 |
---|---|---|
committer | Jeroen Leenarts <jeroen.leenarts@gmail.com> | 2018-05-26 09:17:36 +0200 |
commit | 15e62d7f02b46241aca047f2de73a71c66e18422 (patch) | |
tree | 2bb0d0937c24595f5527a91d13affc56d38a1c81 /Wireguard/Models/WireGuard.xcdatamodeld/WireGuard.xcdatamodel/contents | |
parent | Add bare bones `ProfileConfigurationTableViewController`. (diff) | |
download | wireguard-apple-15e62d7f02b46241aca047f2de73a71c66e18422.tar.xz wireguard-apple-15e62d7f02b46241aca047f2de73a71c66e18422.zip |
Everything is a tunnel.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | Wireguard/Models/WireGuard.xcdatamodeld/WireGuard.xcdatamodel/contents | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Wireguard/Models/WireGuard.xcdatamodeld/WireGuard.xcdatamodel/contents b/Wireguard/Models/WireGuard.xcdatamodeld/WireGuard.xcdatamodel/contents index ef81718..929bcf5 100644 --- a/Wireguard/Models/WireGuard.xcdatamodeld/WireGuard.xcdatamodel/contents +++ b/Wireguard/Models/WireGuard.xcdatamodeld/WireGuard.xcdatamodel/contents @@ -12,7 +12,7 @@ <attribute name="privateKey" attributeType="String" syncable="YES"/> <attribute name="table" optional="YES" attributeType="String" syncable="YES"/> <relationship name="adresses" toMany="YES" deletionRule="Cascade" destinationEntity="Address" inverseName="interface" inverseEntity="Address" syncable="YES"/> - <relationship name="profile" maxCount="1" deletionRule="Nullify" destinationEntity="Profile" inverseName="interface" inverseEntity="Profile" syncable="YES"/> + <relationship name="tunnel" maxCount="1" deletionRule="Nullify" destinationEntity="Tunnel" inverseName="interface" inverseEntity="Tunnel" syncable="YES"/> </entity> <entity name="Peer" representedClassName="Peer" syncable="YES"> <attribute name="allowedIPs" attributeType="String" syncable="YES"/> @@ -20,17 +20,17 @@ <attribute name="persistentKeepalive" attributeType="Integer 16" minValueString="0" maxValueString="65535" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/> <attribute name="presharedKey" optional="YES" attributeType="String" syncable="YES"/> <attribute name="publicKey" attributeType="String" syncable="YES"/> - <relationship name="profile" maxCount="1" deletionRule="Nullify" destinationEntity="Profile" inverseName="peers" inverseEntity="Profile" syncable="YES"/> + <relationship name="tunnel" maxCount="1" deletionRule="Nullify" destinationEntity="Tunnel" inverseName="peers" inverseEntity="Tunnel" syncable="YES"/> </entity> - <entity name="Profile" representedClassName="Profile" syncable="YES"> + <entity name="Tunnel" representedClassName="Tunnel" syncable="YES"> <attribute name="title" optional="YES" attributeType="String" syncable="YES"/> - <relationship name="interface" maxCount="1" deletionRule="Cascade" destinationEntity="Interface" inverseName="profile" inverseEntity="Interface" syncable="YES"/> - <relationship name="peers" toMany="YES" minCount="1" deletionRule="Cascade" destinationEntity="Peer" inverseName="profile" inverseEntity="Peer" syncable="YES"/> + <relationship name="interface" maxCount="1" deletionRule="Cascade" destinationEntity="Interface" inverseName="tunnel" inverseEntity="Interface" syncable="YES"/> + <relationship name="peers" toMany="YES" minCount="1" deletionRule="Cascade" destinationEntity="Peer" inverseName="tunnel" inverseEntity="Peer" syncable="YES"/> </entity> <elements> - <element name="Interface" positionX="-54" positionY="-9" width="128" height="165"/> - <element name="Peer" positionX="-36" positionY="9" width="128" height="135"/> - <element name="Profile" positionX="-63" positionY="-18" width="128" height="90"/> - <element name="Address" positionX="-54" positionY="45" width="128" height="75"/> + <element name="Address" positionX="0" positionY="0" width="0" height="0"/> + <element name="Interface" positionX="0" positionY="0" width="0" height="0"/> + <element name="Peer" positionX="0" positionY="0" width="0" height="0"/> + <element name="Tunnel" positionX="0" positionY="0" width="0" height="0"/> </elements> </model>
\ No newline at end of file |