{"action":"created","issue":{"url":"https://api.github.com/repos/openvswitch/of-config/issues/19","labels_url":"https://api.github.com/repos/openvswitch/of-config/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/openvswitch/of-config/issues/19/comments","events_url":"https://api.github.com/repos/openvswitch/of-config/issues/19/events","html_url":"https://github.com/openvswitch/of-config/issues/19","id":73311296,"number":19,"title":"Issue create_switch.xml","user":{"login":"sommariva90","id":12253134,"avatar_url":"https://avatars.githubusercontent.com/u/12253134?v=3","gravatar_id":"","url":"https://api.github.com/users/sommariva90","html_url":"https://github.com/sommariva90","followers_url":"https://api.github.com/users/sommariva90/followers","following_url":"https://api.github.com/users/sommariva90/following{/other_user}","gists_url":"https://api.github.com/users/sommariva90/gists{/gist_id}","starred_url":"https://api.github.com/users/sommariva90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sommariva90/subscriptions","organizations_url":"https://api.github.com/users/sommariva90/orgs","repos_url":"https://api.github.com/users/sommariva90/repos","events_url":"https://api.github.com/users/sommariva90/events{/privacy}","received_events_url":"https://api.github.com/users/sommariva90/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-05-05T13:11:19Z","updated_at":"2015-05-06T10:00:43Z","closed_at":null,"body":"I have an issue when try to create a new switch with the following command:\r\n\r\nnetconf> edit-config --config=create_switch.xml running\r\n\r\nNETCONF error: operation-failed (application) - Datastore fails to validate (Extra element logical-switches in interleave\r\n)\r\nNETCONF error: operation-failed (application) - Datastore fails to validate (Element capable-switch failed to validate content\r\n)\r\n\r\nAnd server side, have the following error:\r\n\r\nofc-server[20580]: RelaxNG validation on subdatastore 846930887\r\nofc-server[20580]: subdatastore 846930887 fails to validate"},"comment":{"url":"https://api.github.com/repos/openvswitch/of-config/issues/comments/99403593","html_url":"https://github.com/openvswitch/of-config/issues/19#issuecomment-99403593","issue_url":"https://api.github.com/repos/openvswitch/of-config/issues/19","id":99403593,"user":{"login":"sommariva90","id":12253134,"avatar_url":"https://avatars.githubusercontent.com/u/12253134?v=3","gravatar_id":"","url":"https://api.github.com/users/sommariva90","html_url":"https://github.com/sommariva90","followers_url":"https://api.github.com/users/sommariva90/followers","following_url":"https://api.github.com/users/sommariva90/following{/other_user}","gists_url":"https://api.github.com/users/sommariva90/gists{/gist_id}","starred_url":"https://api.github.com/users/sommariva90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sommariva90/subscriptions","organizations_url":"https://api.github.com/users/sommariva90/orgs","repos_url":"https://api.github.com/users/sommariva90/repos","events_url":"https://api.github.com/users/sommariva90/events{/privacy}","received_events_url":"https://api.github.com/users/sommariva90/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T10:00:43Z","updated_at":"2015-05-06T10:00:43Z","body":"When i run: netconf> valide running the output server side is:\r\n\r\nofc-server[3990]: Some message received\r\nofc-server[3990]: Processing request <?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<rpc xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\" message-id=\"2\">\r\n  <validate>\r\n    <source>\r\n      <running/>\r\n    </source>\r\n  </validate>\r\n</rpc>\r\nofc-server[3990]: OpenFlow: connecting to unix://var/run/openvswitch/test-bridge.mgmt\r\n2015-05-06T09:58:47Z|00052|timeval|WARN|Unreasonably long 89137ms poll interval (3ms user, 8ms system)\r\nofc-server[3990]: ovs|00052|timeval|WARN|Unreasonably long 89137ms poll interval (3ms user, 8ms system)\r\n2015-05-06T09:58:47Z|00053|timeval|WARN|faults: 4 minor, 0 major\r\nofc-server[3990]: ovs|00053|timeval|WARN|faults: 4 minor, 0 major\r\n2015-05-06T09:58:47Z|00054|timeval|WARN|disk: 0 reads, 8 writes\r\nofc-server[3990]: ovs|00054|timeval|WARN|disk: 0 reads, 8 writes\r\n2015-05-06T09:58:47Z|00055|timeval|WARN|context switches: 179 voluntary, 29 involuntary\r\nofc-server[3990]: ovs|00055|timeval|WARN|context switches: 179 voluntary, 29 involuntary\r\n2015-05-06T09:58:47Z|00056|coverage|INFO|Event coverage, avg rate over last: 5 seconds, last minute, last hour,  hash=7bc54294:\r\nofc-server[3990]: ovs|00056|coverage|INFO|Event coverage, avg rate over last: 5 seconds, last minute, last hour,  hash=7bc54294:\r\n2015-05-06T09:58:47Z|00057|coverage|INFO|txn_unchanged              0.0/sec     0.000/sec        0.0003/sec   total: 1\r\nofc-server[3990]: ovs|00057|coverage|INFO|txn_unchanged              0.0/sec     0.000/sec        0.0003/sec   total: 1\r\n2015-05-06T09:58:47Z|00058|coverage|INFO|txn_incomplete             0.4/sec     0.033/sec        0.0017/sec   total: 6\r\nofc-server[3990]: ovs|00058|coverage|INFO|txn_incomplete             0.4/sec     0.033/sec        0.0017/sec   total: 6\r\n2015-05-06T09:58:47Z|00059|coverage|INFO|txn_success                0.2/sec     0.017/sec        0.0008/sec   total: 3\r\nofc-server[3990]: ovs|00059|coverage|INFO|txn_success                0.2/sec     0.017/sec        0.0008/sec   total: 3\r\n2015-05-06T09:58:47Z|00060|coverage|INFO|poll_fd_wait               1.4/sec     0.300/sec        0.0131/sec   total: 47\r\nofc-server[3990]: ovs|00060|coverage|INFO|poll_fd_wait               1.4/sec     0.300/sec        0.0131/sec   total: 47\r\n2015-05-06T09:58:47Z|00061|coverage|INFO|poll_zero_timeout          0.2/sec     0.017/sec        0.0008/sec   total: 3\r\nofc-server[3990]: ovs|00061|coverage|INFO|poll_zero_timeout          0.2/sec     0.017/sec        0.0008/sec   total: 3\r\n2015-05-06T09:58:47Z|00062|coverage|INFO|util_xalloc               14.6/sec    12.950/sec        2.0953/sec   total: 7543\r\nofc-server[3990]: ovs|00062|coverage|INFO|util_xalloc               14.6/sec    12.950/sec        2.0953/sec   total: 7543\r\n2015-05-06T09:58:47Z|00063|coverage|INFO|vconn_open                 2.2/sec     0.183/sec        0.0047/sec   total: 17\r\nofc-server[3990]: ovs|00063|coverage|INFO|vconn_open                 2.2/sec     0.183/sec        0.0047/sec   total: 17\r\n2015-05-06T09:58:47Z|00064|coverage|INFO|vconn_received             1.6/sec     0.133/sec        0.0028/sec   total: 10\r\nofc-server[3990]: ovs|00064|coverage|INFO|vconn_received             1.6/sec     0.133/sec        0.0028/sec   total: 10\r\n2015-05-06T09:58:47Z|00065|coverage|INFO|vconn_sent                 1.6/sec     0.133/sec        0.0033/sec   total: 12\r\nofc-server[3990]: ovs|00065|coverage|INFO|vconn_sent                 1.6/sec     0.133/sec        0.0033/sec   total: 12\r\n2015-05-06T09:58:47Z|00066|coverage|INFO|hmap_pathological          0.4/sec     0.033/sec        0.0072/sec   total: 26\r\nofc-server[3990]: ovs|00066|coverage|INFO|hmap_pathological          0.4/sec     0.033/sec        0.0072/sec   total: 26\r\n2015-05-06T09:58:47Z|00067|coverage|INFO|hmap_expand                0.8/sec     0.250/sec        0.0417/sec   total: 150\r\nofc-server[3990]: ovs|00067|coverage|INFO|hmap_expand                0.8/sec     0.250/sec        0.0417/sec   total: 150\r\n2015-05-06T09:58:47Z|00068|coverage|INFO|stream_open                2.2/sec     0.183/sec        0.0050/sec   total: 18\r\nofc-server[3990]: ovs|00068|coverage|INFO|stream_open                2.2/sec     0.183/sec        0.0050/sec   total: 18\r\n2015-05-06T09:58:47Z|00069|coverage|INFO|46 events never hit\r\nofc-server[3990]: ovs|00069|coverage|INFO|46 events never hit\r\nofc-server[3990]: OpenFlow: test-bridge: successful connection.\r\nofc-server[3990]: OpenFlow: connecting to unix://var/run/openvswitch/ofc-bridge.mgmt\r\nofc-server[3990]: OpenFlow: ofc-bridge: successful connection.\r\nofc-server[3990]: RelaxNG validation on subdatastore 846930887\r\nofc-server[3990]: Schematron validation on subdatastore 846930887"}}