yang model revise: neutron-portsecurity.yang
[neutron.git] / model / src / main / yang / neutron-portsecurity.yang
1 /*
2  * Copyright (c) 2016 Intel Corporation.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 module neutron-portsecurity {
10
11     yang-version 1;
12
13     namespace "urn:opendaylight:neutron-portsecurity";
14
15     prefix neutron-portsecurity;
16
17     import yang-ext { prefix "ext"; }
18     import neutron { prefix "neutron"; }
19
20
21     organization "OpenDaylight Neutron Group";
22
23     contact "Dileep Ranganathan <dileep.ranganathan@intel.com>";
24
25     description "This YANG module defines port-security attributes that are used
26         by OpenDaylight Neutron YANG modules.";
27
28     revision "2015-07-12" {
29         description
30                 "OpenDaylight Beryllium release";
31     }
32
33     augment "/neutron:neutron/neutron:ports/neutron:port" {
34         description "This module augments the ports container in
35                 the neutron-ports module with port-security information.";
36         ext:augment-identifier "port-security-extension";
37         leaf port-security-enabled {
38             type boolean;
39             description "The port security status. The status is enabled (true) or disabled (false).";
40         }
41     }
42 }