cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
368
Views
0
Helpful
1
Replies

How can I reload the rebuilded NED with licence status "Development mode: disabled"

jianx2
Cisco Employee
Cisco Employee

I'm trying to add some codes to the yang file "tailf-ned-cisco-nx.yang" as follows with red color. My cisco-nx version is v5.7.1.

This part of codes was removed after v4.1.13 probably. I just want to enable it.

container allowed {
        tailf:info "Set allowed VLAN characteristics when interface "+
          "is in trunking mode";
        // interface * / switchport trunk allowed vlan
        container vlan {
          tailf:info "Set allowed VLANs when interface is in trunking mode (NOTE: this is not a presence, only used internally)";
          tailf:cli-delete-when-empty;
          tailf:cli-display-separated;
          tailf:cli-diff-dependency "../../../mode";
          presence true; // NOTE: this is not a presence, only used internally
          choice vlan-choice {
            leaf fixed {
              // Note: Must not be leaf with type empty, breaks java code!
              tailf:cli-drop-node-name;
              type enumeration {
                // interface * / switchport trunk allowed vlan all
                enum "all" {
                  tailf:info "All VLANs";
                }
                // interface * / switchport trunk allowed vlan none
                enum "none" {
                  tailf:info "No VLANs";
                }
              }
            }
            leaf-list ids {
              tailf:cli-drop-node-name;
              tailf:cli-range-list-syntax;
              type vlan-list-type;
            }
          }
        }

  It looks like I can build it successfully, running "request package reload" successfully, but I can't find the "all" option in NSO webui.

 

But in my test env, not prod env, with license status "Development mode: enable", it's working fine.

Any ideas about it, thanks.

Scott

1 Reply 1

jianx2
Cisco Employee
Cisco Employee

This is because I should upgrade the package in the folder as below in PROD env.

/opt/ncs/packages

 

Resolved!

Scott