Tomáš Pecka | 04eb737 | 2022-06-07 08:03:04 +0200 | [diff] [blame] | 1 | { |
| 2 | "ietf-interfaces:interfaces": { |
| 3 | "interface": [ |
| 4 | { |
| 5 | "name": "br0", |
| 6 | "type": "iana-if-type:bridge", |
| 7 | "ietf-ip:ipv4": { |
| 8 | "czechlight-network:dhcp-client": true |
| 9 | }, |
| 10 | "ietf-ip:ipv6": { |
| 11 | "enabled": true, |
| 12 | "autoconf": { |
| 13 | "create-global-addresses": true |
| 14 | } |
| 15 | } |
| 16 | }, |
| 17 | { |
| 18 | "name": "eth1", |
| 19 | "type": "iana-if-type:ethernetCsmacd", |
| 20 | "czechlight-network:bridge": "br0" |
| 21 | }, |
| 22 | { |
| 23 | "name": "eth0", |
| 24 | "type": "iana-if-type:ethernetCsmacd", |
| 25 | "czechlight-network:bridge": "br0" |
Tomáš Pecka | 7f3212e | 2022-06-13 15:45:30 +0200 | [diff] [blame] | 26 | }, |
| 27 | { |
| 28 | "name": "oscE", |
| 29 | "type": "iana-if-type:ethernetCsmacd", |
| 30 | "czechlight-network:bridge": "br0" |
| 31 | }, |
| 32 | { |
| 33 | "name": "oscW", |
| 34 | "type": "iana-if-type:ethernetCsmacd", |
| 35 | "czechlight-network:bridge": "br0" |
Tomáš Pecka | 04eb737 | 2022-06-07 08:03:04 +0200 | [diff] [blame] | 36 | } |
| 37 | ] |
| 38 | }, |
| 39 | "ietf-keystore:keystore": { |
| 40 | "asymmetric-keys": { |
| 41 | "asymmetric-key": [ |
| 42 | { |
| 43 | "name": "genkey", |
| 44 | "algorithm": "rsa2048", |
| 45 | "public-key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs/tnburJOGHcvSOKw7SdOfEvZD28WatHUfuWRCWZoElXtX1sNkBFXvRbKahOR8sZ221iRdlZ89bBVtTeX8N2wgPApy+Xi/9X1Icee2cU7QC7UfnNnWMW1C6WEZQS8zt+6IAQsOLk1AWyFeAN1EZQfjM/2UfxOW/kxXBu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zWGeCAhcjmbR4+YMOQx5RW4MocRycu5dTMnOJU3aDZJQd5AoxtXhkW7VsCIECgYEAzxD1SU2ApRlNT2FZ5ZaKg2zEqh/Q+iLB3ORra8n1EyxIl/smS33+L1Qd0z/tnlLu6Hr+nYAtnhTgssFTPXq2X0+CURQA85mlQ+W8pstsckXHl+5ZYeqRaE+A5irimFJVNS8iU751HlvxrsgpmnkkqoS7pgIZeYFIj93boN25iRkCgYBzxKvoBfxCHAwynC2moiueICp/0Owk5EDuzFXicSe7XnQJpZGWL99TGU/neY8RMpwMgbIQNpt+/JmZ/Y3D8Df1h+K2vTuT/WzoXBkPEE0Z12AuVZh2aTvxvHowMP4zyqSz9OUdOIrk9p7w1pVZjVToUKOhw5Idn9Qm9yE3uZcggQKBgFNVKNIKXdaT2zgyHqK2NiJ0OKWazliMemayisTDb1z6+nAnxB6now9bE/G7jZ6lE77+GNA8EJ/JGTD3es+IPjMXZYPJwCRJVmh/4a9iuM84Y/4yD0jHxSMss9xtr+nLYL1Zrb/0K2A/coF7zrp7PJVfe8FwoN30eMZlbAlOkmepAoGBAIHPHBIgfSaUJziqqrlqygbZkMhN69k8C5chQJCEl8JfTlr+aX7Gz2+pWpuQoE/JVAZO8w5p608TIavZuy5bANJ0RnDg6EVWuvzpMw92G9OPV30dCy+WmEHaoEkvtl7kIpHdxN0MCFVM7eY14qcxB4p1eRWgJZFBQLa3GuGK5GVX" |
| 47 | } |
| 48 | ] |
| 49 | } |
| 50 | }, |
| 51 | "ietf-netconf-acm:nacm": { |
| 52 | "rule-list": [ |
| 53 | { |
| 54 | "name": "Allow DWDM control to the optics group", |
| 55 | "group": [ |
| 56 | "optics" |
| 57 | ], |
| 58 | "rule": [ |
| 59 | { |
| 60 | "name": "czechlight-roadm-device", |
| 61 | "module-name": "czechlight-roadm-device", |
| 62 | "action": "permit" |
| 63 | }, |
| 64 | { |
| 65 | "name": "czechlight-inline-amp", |
| 66 | "module-name": "czechlight-inline-amp", |
| 67 | "action": "permit" |
| 68 | }, |
| 69 | { |
| 70 | "name": "czechlight-coherent-add-drop", |
| 71 | "module-name": "czechlight-coherent-add-drop", |
| 72 | "action": "permit" |
| 73 | }, |
| 74 | { |
| 75 | "name": "czechlight-calibration-device", |
| 76 | "module-name": "czechlight-calibration-device", |
| 77 | "action": "permit" |
| 78 | } |
| 79 | ] |
| 80 | } |
| 81 | ] |
| 82 | }, |
| 83 | "ietf-netconf-server:netconf-server": { |
| 84 | "listen": { |
| 85 | "endpoint": [ |
| 86 | { |
| 87 | "name": "default-ssh", |
| 88 | "ssh": { |
| 89 | "tcp-server-parameters": { |
| 90 | "local-address": "::", |
| 91 | "keepalives": { |
| 92 | "idle-time": 1, |
| 93 | "max-probes": 10, |
| 94 | "probe-interval": 5 |
| 95 | } |
| 96 | }, |
| 97 | "ssh-server-parameters": { |
| 98 | "server-identity": { |
| 99 | "host-key": [ |
| 100 | { |
| 101 | "name": "default-key", |
| 102 | "public-key": { |
| 103 | "keystore-reference": "genkey" |
| 104 | } |
| 105 | } |
| 106 | ] |
| 107 | }, |
| 108 | "client-authentication": { |
| 109 | "supported-authentication-methods": { |
| 110 | "publickey": [null], |
| 111 | "passsword": [null], |
| 112 | "other": [ |
| 113 | "interactive" |
| 114 | ] |
| 115 | } |
| 116 | } |
| 117 | } |
| 118 | } |
| 119 | } |
| 120 | ] |
| 121 | } |
| 122 | } |
| 123 | } |