Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

#

Issue Description

NotesDecision
1Bundle to useIt also supports actions.

"rests" bundle supports MIME type "application/yang-data+json" and is chosen as the bundle to use.

Supports parameters like fields and depth (details below)

2Differentiation between config false and config=true data

The NCMP and DMI interface will use the concept of datastores like 'operational' and 'running' to possible request config=true or all data. Currently it is unclear if the RESTConf/ODL parameter of 'content' works as intended to make this distinction.

Currently on the simulator the available "datastores" observed are startup, persist and running.

Rel I only aiming at non-NMDA devices.




Code Block
firstline1
titleModel used for illustration purposes
linenumberstrue
collapsetrue
module gnodeb {
    yang-version 1.1;
    namespace "urn:gnodeb:test";

    prefix gnb;

    description
      "Yang model for gnodeb";
    revision "2019-12-03" {
        description
          "initial version";
    }

    container cells {
        list cellinfolist {
            key cell-id;
            leaf cell-id {
                type uint16;
            }
            leaf cell-uuid {
                type uint32;
            }
			leaf cell-description {
                type string;
                description
                  "Possible name or description";
            }
			
			leaf connected-users {
				type uint32;
				config false;
				default 10;
			}
        }
		
		container antenna {
            leaf a-id {
                type uint16;
            }
            
			leaf antenna-description {
                type string;
            }   
		}
		
		container measurements {
			config false;
            leaf speed {
                type uint16;
				default 20;
            }			   
		}
		
		
	}
}

...